.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "KLIST_NEXT" "9" "09 October 2005" "" "" .SH NAME klist_next \- Ante up next node in list. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct klist_node * klist_next (struct klist_iter * \fIi\fB); \fR .SH "ARGUMENTS" .TP \fB\fIi\fB\fR Iterator structure. .SH "DESCRIPTION" .PP First grab list lock. Decrement the reference count of the previous node, if there was one. Grab the next node, increment its reference count, drop the lock, and return that next node.