Searched refs:head (Results 1 – 8 of 8) sorted by relevance
/trusty/kernel/include/shared/lk/ |
D | reflist.h | 66 struct list_node* head = list_peek_head(&obj->ref_list); in obj_has_only_ref() local 68 if (head == tail) { in obj_has_only_ref() 69 assert(head == &ref->ref_node); in obj_has_only_ref() 70 return head == &ref->ref_node; in obj_has_only_ref()
|
/trusty/user/app/storage/ |
D | block_allocator.c | 59 unsigned int head; member 71 assert(q->head < 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() 100 assert(q->head < 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() 152 if (index != q->head || !q->updating) { in block_allocator_queue_add() 162 assert(q->head < countof(q->entry)); in block_allocator_queue_add() 165 assert(new_tail != q->head); in block_allocator_queue_add() 187 return q->entry[q->head]; in block_allocator_queue_peek_head() [all …]
|
/trusty/user/base/app/line-coverage/ |
D | coverage.h | 73 struct list_node* head, in find_coverage_record() argument 77 list_for_every_entry(head, record, struct coverage_record, node) { in find_coverage_record()
|
/trusty/user/base/app/coverage/ |
D | coverage.h | 76 struct list_node* head, in find_coverage_record() argument 80 list_for_every_entry(head, record, struct coverage_record, node) { in find_coverage_record()
|
/trusty/user/base/lib/dlmalloc/ |
D | dlmalloc.c | 2193 size_t head; /* Size and inuse bits. */ member 2271 #define cinuse(p) ((p)->head & CINUSE_BIT) 2272 #define pinuse(p) ((p)->head & PINUSE_BIT) 2273 #define flag4inuse(p) ((p)->head & FLAG4_BIT) 2274 #define is_inuse(p) (((p)->head & INUSE_BITS) != PINUSE_BIT) 2275 #define is_mmapped(p) (((p)->head & INUSE_BITS) == 0) 2277 #define chunksize(p) ((p)->head & ~(FLAG_BITS)) 2279 #define clear_pinuse(p) ((p)->head &= ~PINUSE_BIT) 2280 #define set_flag4(p) ((p)->head |= FLAG4_BIT) 2281 #define clear_flag4(p) ((p)->head &= ~FLAG4_BIT) [all …]
|
/trusty/kernel/lib/trusty/ |
D | vqueue.h | 72 uint16_t head; member
|
D | vqueue.c | 175 iovbuf->head = next_idx; in _vqueue_get_avail_buf_locked() 450 if (buf->head >= vq->vring.num) { in _vqueue_add_buf_locked() 452 LTRACEF("vq %p: head (%u) out of range (%u)\n", vq, buf->head, in _vqueue_add_buf_locked() 458 used->id = buf->head; in _vqueue_add_buf_locked()
|
D | tipc_virtio_dev.c | 733 LTRACEF("got RX buf: head %hu buf in %d out %d\n", buf->head, in handle_rx_msg()
|