Lines Matching refs:list_entry
286 #define list_entry(ptr, type, member) \ macro
337 for (pos = list_entry((head)->next, typeof(*pos), member); \
339 pos = list_entry(pos->member.next, typeof(*pos), member))
348 for (pos = list_entry((head)->prev, typeof(*pos), member); \
350 pos = list_entry(pos->member.prev, typeof(*pos), member))
361 ((pos) ? : list_entry(head, typeof(*pos), member))
373 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
375 pos = list_entry(pos->member.next, typeof(*pos), member))
387 pos = list_entry(pos->member.next, typeof(*pos), member))
397 for (pos = list_entry((head)->next, typeof(*pos), member), \
398 n = list_entry(pos->member.next, typeof(*pos), member); \
400 pos = n, n = list_entry(n->member.next, typeof(*n), member))
413 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
414 n = list_entry(pos->member.next, typeof(*pos), member); \
416 pos = n, n = list_entry(n->member.next, typeof(*n), member))
429 for (n = list_entry(pos->member.next, typeof(*pos), member); \
431 pos = n, n = list_entry(n->member.next, typeof(*n), member))
444 for (pos = list_entry((head)->prev, typeof(*pos), member), \
445 n = list_entry(pos->member.prev, typeof(*pos), member); \
447 pos = n, n = list_entry(n->member.prev, typeof(*n), member))