Lines Matching refs:srqs
134 struct nvmet_rdma_srq **srqs; member
1069 if (!ndev->srqs) in nvmet_rdma_destroy_srqs()
1073 nvmet_rdma_destroy_srq(ndev->srqs[i]); in nvmet_rdma_destroy_srqs()
1075 kfree(ndev->srqs); in nvmet_rdma_destroy_srqs()
1146 ndev->srqs = kcalloc(ndev->srq_count, sizeof(*ndev->srqs), GFP_KERNEL); in nvmet_rdma_init_srqs()
1147 if (!ndev->srqs) in nvmet_rdma_init_srqs()
1151 ndev->srqs[i] = nvmet_rdma_init_srq(ndev); in nvmet_rdma_init_srqs()
1152 if (IS_ERR(ndev->srqs[i])) { in nvmet_rdma_init_srqs()
1153 ret = PTR_ERR(ndev->srqs[i]); in nvmet_rdma_init_srqs()
1162 nvmet_rdma_destroy_srq(ndev->srqs[i]); in nvmet_rdma_init_srqs()
1163 kfree(ndev->srqs); in nvmet_rdma_init_srqs()
1474 if (ndev->srqs) { in nvmet_rdma_alloc_queue()
1475 queue->nsrq = ndev->srqs[queue->comp_vector % ndev->srq_count]; in nvmet_rdma_alloc_queue()