Lines Matching refs:head
186 #define LIST_FOR_EACH_ENTRY(pos, head, member) \
187 for (pos = NULL, pos = container_of((head)->next, pos, member); \
188 &pos->member != (head); \
191 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \
192 for (pos = NULL, pos = container_of((head)->next, pos, member), \
194 &pos->member != (head); \
197 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \
198 for (pos = NULL, pos = container_of((head)->prev, pos, member), \
200 &pos->member != (head); \
203 #define LIST_FOR_EACH_ENTRY_FROM(pos, start, head, member) \
205 &pos->member != (head); \
208 #define LIST_FOR_EACH_ENTRY_FROM_REV(pos, start, head, member) \
210 &pos->member != (head); \
213 #define list_for_each_entry(type, pos, head, member) \
214 for (type *pos = LIST_ENTRY(type, (head)->next, member); \
215 &pos->member != (head); \
218 #define list_for_each_entry_safe(type, pos, head, member) \
219 for (type *pos = LIST_ENTRY(type, (head)->next, member), \
221 &pos->member != (head); \
225 #define list_for_each_entry_rev(type, pos, head, member) \
226 for (type *pos = LIST_ENTRY(type, (head)->prev, member); \
227 &pos->member != (head); \
230 #define list_for_each_entry_safe_rev(type, pos, head, member) \
231 for (type *pos = LIST_ENTRY(type, (head)->prev, member), \
233 &pos->member != (head); \
237 #define list_for_each_entry_from(type, pos, start, head, member) \
239 &pos->member != (head); \
242 #define list_for_each_entry_from_rev(type, pos, start, head, member) \
244 &pos->member != (head); \