Lines Matching refs:member
47 #define list_entry(link, type, member) \ argument
48 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
50 #define list_head(list, type, member) \ argument
51 list_entry((list)->next, type, member)
53 #define list_tail(list, type, member) \ argument
54 list_entry((list)->prev, type, member)
56 #define list_next(elm, member) \ argument
57 list_entry((elm)->member.next, typeof(*elm), member)
59 #define list_for_each_entry(pos, list, member) \ argument
60 for (pos = list_head(list, typeof(*pos), member); \
61 &pos->member != (list); \
62 pos = list_next(pos, member))