1LIST_FOR_EACH_ENTRY_(9) Data Types LIST_FOR_EACH_ENTRY_(9)
2
3
4
6 list_for_each_entry_safe_from -
7
9 list_for_each_entry_safe_from(pos, n, head, member);
10
12 pos
13 the type * to use as a loop cursor.
14
15 n
16 another type * to use as temporary storage
17
18 head
19 the head for your list.
20
21 member
22 the name of the list_struct within the struct.
23
25 Iterate over list of given type from current point, safe against
26 removal of list entry.
27
29Kernel Hackers Manual 2.6. June 2019 LIST_FOR_EACH_ENTRY_(9)