Lines Matching refs:p_head
44 unsigned int p_head; member
83 if (ring->p_tail != ring->p_head) { in ck_ring_repair()
84 ring->p_tail = ring->p_head; in ck_ring_repair()
102 unsigned int p_head = ring->p_head; in ck_ring_valid() local
109 if (c_head > p_head) in ck_ring_valid()
113 if (p_head - c_head >= size) in ck_ring_valid()
126 ring->p_head = 0; in ck_ring_init()
262 producer = ck_pr_load_uint(&ring->p_head); in _ck_ring_enqueue_reserve_mp()
271 if (ck_pr_cas_uint_value(&ring->p_head, in _ck_ring_enqueue_reserve_mp()
279 new_producer = ck_pr_load_uint(&ring->p_head); in _ck_ring_enqueue_reserve_mp()
322 producer = ck_pr_load_uint(&ring->p_head); in _ck_ring_enqueue_mp()
339 if (ck_pr_cas_uint_value(&ring->p_head, in _ck_ring_enqueue_mp()
353 new_producer = ck_pr_load_uint(&ring->p_head); in _ck_ring_enqueue_mp()