Lines Matching defs:list_entry
325 * list_entry - get the struct for this entry
330 #define list_entry(ptr, type, member) \
381 for (pos = list_entry((head)->next, typeof(*pos), member), \
384 pos = list_entry(pos->member.next, typeof(*pos), member), \
394 for (pos = list_entry((head)->prev, typeof(*pos), member), \
397 pos = list_entry(pos->member.prev, typeof(*pos), member), \
408 ((pos) ? : list_entry(head, typeof(*pos), member))
418 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
421 pos = list_entry(pos->member.next, typeof(*pos), member), \
432 for (pos = list_entry((head)->next, typeof(*pos), member), \
433 n = list_entry(pos->member.next, typeof(*pos), member); \
435 pos = n, n = list_entry(n->member.next, typeof(*n), member))
480 for (pos = list_entry((head)->next, typeof(*pos), member), \
483 pos = list_entry(pos->member.next, typeof(*pos), member), \