Searched refs:increment_idx (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/net/ |
H A D | mp_ring.c | 70 increment_idx(struct ifmp_ring *r, uint16_t idx, uint16_t n) in increment_idx() function 124 cidx = increment_idx(r, cidx, n); in drain_ring_locked() 203 cidx = increment_idx(r, cidx, n); in drain_ring_lockless() 342 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue() 416 ns.pidx_head = increment_idx(r, os.pidx_head, n); in ifmp_ring_enqueue()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_mp_ring.c | 102 increment_idx(struct mp_ring *r, uint16_t idx, uint16_t n) in increment_idx() function 163 cidx = increment_idx(r, cidx, n); in drain_ring() 384 ns.pidx_head = increment_idx(r, os.pidx_head, n); in mp_ring_enqueue() 389 ns.pidx_tail = increment_idx(r, os.pidx_tail, n); in mp_ring_enqueue()
|