Lines Matching refs:tail
57 struct nd_queue_item *tail; member
74 struct nd_queue_item *tail; in ofi_nd_queue_push_front() member
79 src.tail = queue->tail; in ofi_nd_queue_push_front()
82 LONG64 tail = (LONG64)item; in ofi_nd_queue_push_front() local
83 __declspec(align(16)) LONG64 compare[2] = { (LONG64)src.head, (LONG64)src.tail }; in ofi_nd_queue_push_front()
85 queue->exchange, tail, head, compare); in ofi_nd_queue_push_front()
88 if (src.tail) { in ofi_nd_queue_push_front()
106 struct nd_queue_item *tail; in ofi_nd_queue_push() member
111 src.tail = queue->tail; in ofi_nd_queue_push()
114 LONG64 tail = (LONG64)item; in ofi_nd_queue_push() local
115 __declspec(align(16)) LONG64 compare[2] = {(LONG64)src.head, (LONG64)src.tail}; in ofi_nd_queue_push()
117 queue->exchange, tail, head, compare); in ofi_nd_queue_push()
120 if (src.tail) { in ofi_nd_queue_push()
121 src.tail->next = item; in ofi_nd_queue_push()
122 WakeByAddressAll(&src.tail->next); in ofi_nd_queue_push()
137 struct nd_queue_item *tail; in ofi_nd_queue_pop() member
142 src.tail = queue->tail; in ofi_nd_queue_pop()
150 if (src.head != src.tail) { in ofi_nd_queue_pop()
160 LONG64 tail = (LONG64)(src.head != src.tail ? src.tail : NULL); in ofi_nd_queue_pop() local
161 __declspec(align(16)) LONG64 compare[2] = {(LONG64)src.head, (LONG64)src.tail}; in ofi_nd_queue_pop()
163 queue->exchange, tail, head, compare); in ofi_nd_queue_pop()