Lines Matching refs:member
185 #define list_entry(ptr, type, member) \ argument
186 ((type *)((char *)(ptr)-(uintptr_t)(&((type *)0)->member)))
221 #define list_for_each_entry(pos, head, member) \ argument
222 for (pos = list_entry((head)->next, typeof(*pos), member); \
223 &pos->member != (head); \
224 pos = list_entry(pos->member.next, typeof(*pos), member))
233 #define list_for_each_entry_safe(pos, n, head, member) \ argument
234 for (pos = list_entry((head)->next, typeof(*pos), member), \
235 n = list_entry(pos->member.next, typeof(*pos), member); \
236 &pos->member != (head); \
237 pos = n, n = list_entry(n->member.next, typeof(*n), member))
246 #define list_for_each_entry_continue(pos, head, member) \ argument
247 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
248 &pos->member != (head); \
249 pos = list_entry(pos->member.next, typeof(*pos), member))