Searched refs:sq_wr_avail (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.h | 311 atomic_t sq_wr_avail; member
|
D | ib_srpt.c | 1330 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_rdma_read_done() 1733 atomic_add(1 + ioctx->n_rdma, &ch->sq_wr_avail); in srpt_send_done() 1837 atomic_set(&ch->sq_wr_avail, qp_init->cap.max_send_wr); in srpt_create_ch_ib() 2719 if (atomic_sub_return(ioctx->n_rdma, &ch->sq_wr_avail) < 0) { in srpt_write_pending() 2739 atomic_read(&ch->sq_wr_avail)); in srpt_write_pending() 2745 atomic_add(ioctx->n_rdma, &ch->sq_wr_avail); in srpt_write_pending() 2824 &ch->sq_wr_avail) < 0)) { in srpt_queue_response() 2856 atomic_add(1 + ioctx->n_rdma, &ch->sq_wr_avail); in srpt_queue_response()
|
/Linux-v5.4/drivers/nvme/target/ |
D | rdma.c | 80 atomic_t sq_wr_avail; member 503 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_release_rsp() 589 atomic_add(rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_read_data_done() 736 &queue->sq_wr_avail) < 0)) { in nvmet_rdma_execute_command() 740 atomic_add(1 + rsp->n_rdma, &queue->sq_wr_avail); in nvmet_rdma_execute_command() 1029 atomic_set(&queue->sq_wr_avail, qp_attr.cap.max_send_wr); in nvmet_rdma_create_queue_ib()
|