Lines Matching defs:head
65 struct bench_qentry *head;
73 if (queue.head == NULL) \
74 queue.head = queue.tail = entry; \
82 struct bench_qentry *popped = queue.head; \
85 if (queue.head->next == NULL) \
86 queue.head = queue.tail = NULL; \
88 queue.head = queue.head->next; \
94 * Retrieve the head of the queue, save the data into user
99 struct bench_qentry *popped = queue.head; \
102 if (queue.head->next == NULL) \
103 queue.head = queue.tail = NULL; \
105 queue.head = queue.head->next; \
107 if (queue.head == NULL) \
108 queue.head = queue.tail = popped; \