Searched refs:n_rdma (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/nvme/target/ |
D | rdma.c | 62 u8 n_rdma; member 503 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_release_rsp() 505 if (rsp->n_rdma) { in nvmet_rdma_release_rsp() 588 WARN_ON(rsp->n_rdma <= 0); in nvmet_rdma_read_data_done() 589 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_read_data_done() 593 rsp->n_rdma = 0; in nvmet_rdma_read_data_done() 683 rsp->n_rdma += ret; in nvmet_rdma_map_sgl_keyed() 735 if (unlikely(atomic_sub_return(1 + rsp->n_rdma, in nvmet_rdma_execute_command() 738 1 + rsp->n_rdma, queue->idx, in nvmet_rdma_execute_command() 740 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_execute_command() [all …]
|
/Linux-v5.4/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 925 ioctx->n_rdma += ret; in srpt_alloc_rw_ctxs() 1232 ioctx->n_rdma = 0; in srpt_get_send_ioctx() 1329 WARN_ON(ioctx->n_rdma <= 0); in srpt_rdma_read_done() 1330 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_rdma_read_done() 1331 ioctx->n_rdma = 0; in srpt_rdma_read_done() 1733 atomic_add(1 + ioctx->n_rdma, &ch->sq_wr_avail); in srpt_send_done() 2719 if (atomic_sub_return(ioctx->n_rdma, &ch->sq_wr_avail) < 0) { in srpt_write_pending() 2721 __func__, ioctx->n_rdma); in srpt_write_pending() 2738 __func__, ret, ioctx->n_rdma, in srpt_write_pending() 2745 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_write_pending() [all …]
|
D | ib_srpt.h | 231 u8 n_rdma; member
|