Lines Matching refs:_item
42 typeof(*(item)) *_item = (item); \
43 assert(_item); \
44 _item->name##_prev = _item->name##_next = NULL; \
50 typeof(*(head)) **_head = &(head), *_item = (item); \
51 assert(_item); \
52 if ((_item->name##_next = *_head)) \
53 _item->name##_next->name##_prev = _item; \
54 _item->name##_prev = NULL; \
55 *_head = _item; \
61 typeof(*(head)) **_head = &(head), *_item = (item); \
62 assert(_item); \
63 if (_item->name##_next) \
64 _item->name##_next->name##_prev = _item->name##_prev; \
65 if (_item->name##_prev) \
66 _item->name##_prev->name##_next = _item->name##_next; \
68 assert(*_head == _item); \
69 *_head = _item->name##_next; \
71 _item->name##_next = _item->name##_prev = NULL; \
77 typeof(*(item)) *_item = (item); \
78 if (!_item) \
81 while (_item->name##_prev) \
82 _item = _item->name##_prev; \
83 (head) = _item; \
90 typeof(*(item)) *_item = (item); \
91 if (!_item) \
94 while (_item->name##_next) \
95 _item = _item->name##_next; \
96 (tail) = _item; \