Lines Matching refs:item
67 #define LIST_INIT(name,item) \ argument
69 typeof(*(item)) *_item = (item); \
73 #define LIST_PREPEND(name,head,item) \ argument
75 typeof(*(head)) **_head = &(head), *_item = (item); \
82 #define LIST_APPEND(name,head,item) \ argument
86 LIST_INSERT_AFTER(name, *_hhead, _tail, item); \
88 #define LIST_REMOVE(name,head,item) \ argument
90 typeof(*(head)) **_head = &(head), *_item = (item); \
102 #define LIST_FIND_HEAD(name,item,head) \ argument
104 typeof(*(item)) *_item = (item); \
113 #define LIST_FIND_TAIL(name,item,tail) \ argument
115 typeof(*(item)) *_item = (item); \
167 #define LIST_JUST_US(name,item) \ argument
168 (!(item)->name##_prev && !(item)->name##_next)