Lines Matching refs:member
111 #define container_of(ptr, sample, member) \ argument
113 - ((char *)&((typeof(sample))0)->member))
116 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument
117 for (pos = container_of((head)->next, pos, member); \
118 &pos->member != (head); \
119 pos = container_of(pos->member.next, pos, member))
121 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument
122 for (pos = container_of((head)->next, pos, member), \
123 storage = container_of(pos->member.next, pos, member); \
124 &pos->member != (head); \
125 pos = storage, storage = container_of(storage->member.next, storage, member))
127 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument
128 for (pos = container_of((head)->prev, pos, member), \
129 storage = container_of(pos->member.prev, pos, member); \
130 &pos->member != (head); \
131 pos = storage, storage = container_of(storage->member.prev, storage, member))
133 #define LIST_FOR_EACH_ENTRY_FROM(pos, start, head, member) \ argument
134 for (pos = container_of((start), pos, member); \
135 &pos->member != (head); \
136 pos = container_of(pos->member.next, pos, member))
138 #define LIST_FOR_EACH_ENTRY_FROM_REV(pos, start, head, member) \ argument
139 for (pos = container_of((start), pos, member); \
140 &pos->member != (head); \
141 pos = container_of(pos->member.prev, pos, member))