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