'\" t .\" Title: list_for_each_entry_safe .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Data Types .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "LIST_FOR_EACH_ENTRY_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Data Types" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" list_for_each_entry_safe \- iterate over list of given type safe against removal of list entry .SH "SYNOPSIS" .HP \w'list_for_each_entry_safe('u .BI "list_for_each_entry_safe(" "pos" ", " "n" ", " "head" ", " "member" ");" .SH "ARGUMENTS" .PP \fIpos\fR .RS 4 the type * to use as a loop cursor\&. .RE .PP \fIn\fR .RS 4 another type * to use as temporary storage .RE .PP \fIhead\fR .RS 4 the head for your list\&. .RE .PP \fImember\fR .RS 4 the name of the list_head within the struct\&. .RE .SH "COPYRIGHT" .br