Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 3 of 3) sorted by relevance

/trusty/user/app/storage/
Dblock_allocator.c60 unsigned int tail; member
72 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 …]
/trusty/kernel/include/shared/lk/
Dreflist.h67 struct list_node* tail = list_peek_tail(&obj->ref_list); in obj_has_only_ref() local
68 if (head == tail) { in obj_has_only_ref()
/trusty/user/base/sdk/
Drules.mk86 $(NOECHO)tail -n +8 $^ >> $@.tmp