Searched refs:n_rdma (Results 1 – 3 of 3) sorted by relevance
/drivers/nvme/target/ |
D | rdma.c | 71 u8 n_rdma; member 671 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_release_rsp() 673 if (rsp->n_rdma) in nvmet_rdma_release_rsp() 759 WARN_ON(rsp->n_rdma <= 0); in nvmet_rdma_read_data_done() 760 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_read_data_done() 761 rsp->n_rdma = 0; in nvmet_rdma_read_data_done() 796 WARN_ON(rsp->n_rdma <= 0); in nvmet_rdma_write_data_done() 797 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_write_data_done() 798 rsp->n_rdma = 0; in nvmet_rdma_write_data_done() 903 rsp->n_rdma += ret; in nvmet_rdma_map_sgl_keyed() [all …]
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 932 ioctx->n_rdma += ret; in srpt_alloc_rw_ctxs() 1239 ioctx->n_rdma = 0; in srpt_get_send_ioctx() 1336 WARN_ON(ioctx->n_rdma <= 0); in srpt_rdma_read_done() 1337 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_rdma_read_done() 1338 ioctx->n_rdma = 0; in srpt_rdma_read_done() 1764 atomic_add(1 + ioctx->n_rdma, &ch->sq_wr_avail); in srpt_send_done() 2760 if (atomic_sub_return(ioctx->n_rdma, &ch->sq_wr_avail) < 0) { in srpt_write_pending() 2762 __func__, ioctx->n_rdma); in srpt_write_pending() 2779 __func__, ret, ioctx->n_rdma, in srpt_write_pending() 2786 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_write_pending() [all …]
|
D | ib_srpt.h | 226 u8 n_rdma; member
|