Lines Matching refs:list_entry
48 list_empty(_head) ? NULL : list_entry(_head->next, type, member); \
267 #define list_entry(ptr, type, member) \ macro
303 for (pos = list_entry((head)->next, typeof(*pos), member); \
305 pos = list_entry(pos->member.next, typeof(*pos), member))
314 for (pos = list_entry((head)->prev, typeof(*pos), member); \
316 pos = list_entry(pos->member.prev, typeof(*pos), member))
327 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
329 pos = list_entry(pos->member.next, typeof(*pos), member))
339 for (pos = list_entry((head)->next, typeof(*pos), member), \
340 n = list_entry(pos->member.next, typeof(*pos), member); \
342 pos = n, n = list_entry(n->member.next, typeof(*n), member))