Home
last modified time | relevance | path

Searched refs:qp_xa (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/erdma/
Derdma_main.c556 xa_init_flags(&dev->qp_xa, XA_FLAGS_ALLOC1); in erdma_ib_device_add()
588 xa_destroy(&dev->qp_xa); in erdma_ib_device_add()
605 xa_destroy(&dev->qp_xa); in erdma_ib_device_remove()
Derdma.h207 struct xarray qp_xa; member
Derdma_verbs.h279 return (struct erdma_qp *)xa_load(&dev->qp_xa, id); in find_qp_by_qpn()
Derdma_verbs.c959 ret = xa_alloc_cyclic(&dev->qp_xa, &qp->ibqp.qp_num, qp, in erdma_create_qp()
1015 xa_erase(&dev->qp_xa, QP_ID(qp)); in erdma_create_qp()
1304 xa_erase(&dev->qp_xa, QP_ID(qp)); in erdma_destroy_qp()
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_main.c86 xa_destroy(&sdev->qp_xa); in siw_device_cleanup()
318 xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1); in siw_device_create()
Dsiw.h84 struct xarray qp_xa; member
600 qp = xa_load(&sdev->qp_xa, id); in siw_qp_id2obj()
Dsiw_qp.c1316 int rv = xa_alloc(&sdev->qp_xa, &qp->base_qp.qp_num, qp, xa_limit_32b, in siw_qp_add()
1336 found = xa_erase(&sdev->qp_xa, qp_id(qp)); in siw_free_qp()
Dsiw_verbs.c486 xa_erase(&sdev->qp_xa, qp_id(qp)); in siw_create_qp()