Searched refs:qp_xa (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 556 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()
|
D | erdma.h | 207 struct xarray qp_xa; member
|
D | erdma_verbs.h | 279 return (struct erdma_qp *)xa_load(&dev->qp_xa, id); in find_qp_by_qpn()
|
D | erdma_verbs.c | 959 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/ |
D | siw_main.c | 86 xa_destroy(&sdev->qp_xa); in siw_device_cleanup() 318 xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1); in siw_device_create()
|
D | siw.h | 84 struct xarray qp_xa; member 600 qp = xa_load(&sdev->qp_xa, id); in siw_qp_id2obj()
|
D | siw_qp.c | 1316 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()
|
D | siw_verbs.c | 486 xa_erase(&sdev->qp_xa, qp_id(qp)); in siw_create_qp()
|