Searched refs:p_head (Results 1 – 2 of 2) sorted by relevance
44 unsigned int p_head; member83 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() local109 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()[all …]
71 TAILQ_HEAD(p_head, ngp_hdr);76 struct p_head packet_head; /* FIFO queue head */699 ngp_h = TAILQ_LAST(&ngp_f->packet_head, p_head); in ngp_rcvdata()