Searched refs:tail (Results 1 – 3 of 3) sorted by relevance
60 unsigned int tail; member72 assert(q->tail < countof(q->entry)); in block_allocator_queue_empty()74 return q->head == q->tail; in block_allocator_queue_empty()85 return (q->tail + countof(q->entry) - q->head) % countof(q->entry); in block_allocator_queue_count()101 assert(q->tail < countof(q->entry)); in block_allocator_queue_find()103 for (i = q->head; i != q->tail; i = (i + 1) % countof(q->entry)) { in block_allocator_queue_find()123 unsigned int new_tail = (q->tail + 1) % countof(q->entry); in block_allocator_queue_add_removed()124 q->entry[q->tail].removed = true; in block_allocator_queue_add_removed()125 q->tail = new_tail; in block_allocator_queue_add_removed()126 pr_write("index %d\n", q->tail); in block_allocator_queue_add_removed()[all …]
67 struct list_node* tail = list_peek_tail(&obj->ref_list); in obj_has_only_ref() local68 if (head == tail) { in obj_has_only_ref()
86 $(NOECHO)tail -n +8 $^ >> $@.tmp