Searched refs:GET_Q_NEXT (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_buf.h | 39 #define GET_Q_NEXT(_START, _STEP, _END) \ macro 156 ring->cidx = GET_Q_NEXT(ring->cidx, n, ring->num_items) 159 ring->pidx = GET_Q_NEXT(ring->pidx, n, ring->num_items)
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 208 rq->rqb_next_free = GET_Q_NEXT(free_index, 1, rq->cfg.nbufs); in oce_rqb_alloc() 227 rq->rqb_rc_head = GET_Q_NEXT(free_index, 1, rq->cfg.nbufs); in oce_rqb_free() 286 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rq_charge() 378 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rx() 433 cur_index = GET_Q_NEXT(cur_index, 1, ring->num_items); in oce_rx_bcopy()
|