Searched refs:mrht_head (Results 1 – 3 of 3) sorted by relevance
271 uint32_t const leftover = head_tail.mrht_head + size - head_tail.mrht_tail; in mpsc_ring_write()283 new_head_tail.mrht_head += size; in mpsc_ring_write()290 head_tail.mrht_head, in mpsc_ring_write()294 _mpsc_ring_copy(buf, head_tail.mrht_head, (void *)(uintptr_t)data, size, true); in mpsc_ring_write()302 return buf->mr_capacity - (head_tail.mrht_head - head_tail.mrht_tail); in mpsc_ring_write()318 head_tail.mrht_head = MIN(head_tail.mrht_head, hold); in mpsc_ring_read_start()325 .mrc_limit = head_tail.mrht_head, in mpsc_ring_read_start()
94 uint32_t mrht_head; member
23 print('{:>12s}: {}'.format('head', kern_ring.mr_head_tail.mrht_head))25 …'available', (kern_ring.mr_head_tail.mrht_tail - kern_ring.mr_head_tail.mrht_head) % kern_ring.mr_…37 while (kern_ring.mr_head_tail.mrht_head - next_record) > 0: