Lines Matching refs:ring_pos
214 #define ring_pos(pos, size) ((pos) & (size - 1))
550 unsigned long head = ring_pos(lmc->ring_head, ARRAY_SIZE(lmc->err_ctx));
595 tail = ring_pos(lmc->ring_tail, ARRAY_SIZE(lmc->err_ctx));
1082 unsigned long head = ring_pos(ocx->com_ring_head,
1126 tail = ring_pos(ocx->com_ring_tail,
1173 unsigned long head = ring_pos(ocx->link_ring_head,
1207 tail = ring_pos(ocx->link_ring_head,
1765 unsigned long head = ring_pos(tad->ring_head, ARRAY_SIZE(tad->err_ctx));
1797 unsigned long head = ring_pos(cbc->ring_head, ARRAY_SIZE(cbc->err_ctx));
1826 unsigned long head = ring_pos(mci->ring_head, ARRAY_SIZE(mci->err_ctx));
1847 unsigned long tail = ring_pos(l2c->ring_tail, ARRAY_SIZE(l2c->err_ctx));