Home
last modified time | relevance | path

Searched refs:srqs (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/nvme/target/
H A Drdma.c134 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()
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()
[all …]
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dmain.c342 xa_init_flags(&dev->srqs, XA_FLAGS_LOCK_IRQ); in qedr_alloc_resources()
758 xa_lock_irqsave(&dev->srqs, flags); in qedr_affiliated_event()
759 srq = xa_load(&dev->srqs, srq_id); in qedr_affiliated_event()
773 xa_unlock_irqrestore(&dev->srqs, flags); in qedr_affiliated_event()
H A Dqedr.h172 struct xarray srqs; member
H A Dverbs.c1632 rc = xa_insert_irq(&dev->srqs, srq->srq_id, srq, GFP_KERNEL); in qedr_create_srq()
1659 xa_erase_irq(&dev->srqs, srq->srq_id); in qedr_destroy_srq()
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c129 (u64)rsrc_stats->srqs); in ocrdma_resource_stats()
183 (u64)rsrc_stats->srqs); in ocrdma_resource_stats()
H A Docrdma_sli.h1935 u32 srqs; member