Searched refs:next_tail (Results 1 – 5 of 5) sorted by relevance
740 unsigned long next_tail; in rpcrdma_sendctx_put_locked() local745 next_tail = buf->rb_sc_tail; in rpcrdma_sendctx_put_locked()747 next_tail = rpcrdma_sendctx_next(buf, next_tail); in rpcrdma_sendctx_put_locked()750 rpcrdma_sendctx_unmap(buf->rb_sc_ctxs[next_tail]); in rpcrdma_sendctx_put_locked()752 } while (buf->rb_sc_ctxs[next_tail] != sc); in rpcrdma_sendctx_put_locked()758 smp_store_release(&buf->rb_sc_tail, next_tail); in rpcrdma_sendctx_put_locked()
609 unsigned int index = 0, cur_block = 0, tail = 0, next_tail = 0; in handle_uring_sq() local632 next_tail = *sring->tail; in handle_uring_sq()633 tail = next_tail; in handle_uring_sq()634 next_tail++; in handle_uring_sq()650 tail = next_tail; in handle_uring_sq()
609 u32 next_tail; in wil_rx_refill() local614 for (; next_tail = wil_ring_next_tail(v), in wil_rx_refill()615 (next_tail != v->swhead) && (count-- > 0); in wil_rx_refill()616 v->swtail = next_tail) { in wil_rx_refill()
716 u16 next_tail = nvmeq->sq_tail + 1; in nvme_write_sq_db() local718 if (next_tail == nvmeq->q_depth) in nvme_write_sq_db()719 next_tail = 0; in nvme_write_sq_db()720 if (next_tail != nvmeq->last_sq_tail) in nvme_write_sq_db()
1387 u32 left, next_tail; in __iommu_queue_command_sync() local1389 next_tail = (iommu->cmd_buf_tail + sizeof(*cmd)) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()1391 left = (iommu->cmd_buf_head - next_tail) % CMD_BUFFER_SIZE; in __iommu_queue_command_sync()