Lines Matching refs:list_entry
326 #define list_entry(ptr, type, member) \ macro
338 list_entry((ptr)->next, type, member)
349 list_entry((ptr)->prev, type, member)
410 for (pos = list_entry((head)->next, typeof(*pos), member); \
412 pos = list_entry(pos->member.next, typeof(*pos), member))
421 for (pos = list_entry((head)->prev, typeof(*pos), member); \
423 pos = list_entry(pos->member.prev, typeof(*pos), member))
434 ((pos) ? : list_entry(head, typeof(*pos), member))
446 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
448 pos = list_entry(pos->member.next, typeof(*pos), member))
460 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \
462 pos = list_entry(pos->member.prev, typeof(*pos), member))
474 pos = list_entry(pos->member.next, typeof(*pos), member))
484 for (pos = list_entry((head)->next, typeof(*pos), member), \
485 n = list_entry(pos->member.next, typeof(*pos), member); \
487 pos = n, n = list_entry(n->member.next, typeof(*n), member))
500 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
501 n = list_entry(pos->member.next, typeof(*pos), member); \
503 pos = n, n = list_entry(n->member.next, typeof(*n), member))
516 for (n = list_entry(pos->member.next, typeof(*pos), member); \
518 pos = n, n = list_entry(n->member.next, typeof(*n), member))
531 for (pos = list_entry((head)->prev, typeof(*pos), member), \
532 n = list_entry(pos->member.prev, typeof(*pos), member); \
534 pos = n, n = list_entry(n->member.prev, typeof(*n), member))