Lines Matching refs:n_rdma
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()
955 if (unlikely(atomic_sub_return(1 + rsp->n_rdma, in nvmet_rdma_execute_command()
958 1 + rsp->n_rdma, queue->idx, in nvmet_rdma_execute_command()
960 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_execute_command()
1046 rsp->n_rdma = 0; in nvmet_rdma_recv_done()