Lines Matching refs:tail
150 unsigned long tail;
159 tail = tx_ring->tail;
162 work_done = min_t(int, CIRC_CNT(head, tail, max_tx), budget);
165 hfi1_ipoib_free_tx(tx_ring->items[tail], budget);
166 tail = CIRC_NEXT(tail, max_tx);
171 /* Finished freeing tx items so store the tail value. */
172 smp_store_release(&tx_ring->tail, tail);
198 unsigned long tail;
204 tail = READ_ONCE(tx_ring->tail);
207 if (likely(CIRC_SPACE(head, tail, max_tx))) {