Home
last modified time | relevance | path

Searched refs:n_rdma (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/nvme/target/
Drdma.c72 u8 n_rdma; member
672 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_release_rsp()
674 if (rsp->n_rdma) in nvmet_rdma_release_rsp()
760 WARN_ON(rsp->n_rdma <= 0); in nvmet_rdma_read_data_done()
761 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_read_data_done()
762 rsp->n_rdma = 0; in nvmet_rdma_read_data_done()
797 WARN_ON(rsp->n_rdma <= 0); in nvmet_rdma_write_data_done()
798 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_write_data_done()
799 rsp->n_rdma = 0; in nvmet_rdma_write_data_done()
904 rsp->n_rdma += ret; in nvmet_rdma_map_sgl_keyed()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/srpt/
Dib_srpt.c923 ioctx->n_rdma += ret; in srpt_alloc_rw_ctxs()
1230 ioctx->n_rdma = 0; in srpt_get_send_ioctx()
1327 WARN_ON(ioctx->n_rdma <= 0); in srpt_rdma_read_done()
1328 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_rdma_read_done()
1329 ioctx->n_rdma = 0; in srpt_rdma_read_done()
1759 atomic_add(1 + ioctx->n_rdma, &ch->sq_wr_avail); in srpt_send_done()
2756 if (atomic_sub_return(ioctx->n_rdma, &ch->sq_wr_avail) < 0) { in srpt_write_pending()
2758 __func__, ioctx->n_rdma); in srpt_write_pending()
2775 __func__, ret, ioctx->n_rdma, in srpt_write_pending()
2782 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_write_pending()
[all …]
Dib_srpt.h226 u8 n_rdma; member