Home
last modified time | relevance | path

Searched refs:ibxrcd (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/qedr/
Dverbs.h51 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata);
52 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata);
Dqedr.h314 struct ib_xrcd ibxrcd; member
582 static inline struct qedr_xrcd *get_qedr_xrcd(struct ib_xrcd *ibxrcd) in get_qedr_xrcd() argument
584 return container_of(ibxrcd, struct qedr_xrcd, ibxrcd); in get_qedr_xrcd()
Dverbs.c488 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_alloc_xrcd() argument
490 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); in qedr_alloc_xrcd()
491 struct qedr_xrcd *xrcd = get_qedr_xrcd(ibxrcd); in qedr_alloc_xrcd()
496 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_dealloc_xrcd() argument
498 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); in qedr_dealloc_xrcd()
499 u16 xrcd_id = get_qedr_xrcd(ibxrcd)->xrcd_id; in qedr_dealloc_xrcd()
2246 dev = get_qedr_dev(xrcd->ibxrcd.device); in qedr_create_qp()
Dmain.c241 INIT_RDMA_OBJ_SIZE(ib_xrcd, qedr_xrcd, ibxrcd),
/Linux-v5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h98 struct ib_xrcd ibxrcd; member
683 static inline struct mlx4_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() argument
685 return container_of(ibxrcd, struct mlx4_ib_xrcd, ibxrcd); in to_mxrcd()
Dmain.c1224 static int mlx4_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx4_ib_alloc_xrcd() argument
1226 struct mlx4_ib_dev *dev = to_mdev(ibxrcd->device); in mlx4_ib_alloc_xrcd()
1227 struct mlx4_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx4_ib_alloc_xrcd()
1238 xrcd->pd = ib_alloc_pd(ibxrcd->device, 0); in mlx4_ib_alloc_xrcd()
1245 xrcd->cq = ib_create_cq(ibxrcd->device, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd()
2597 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx4_ib_xrcd, ibxrcd),
/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h543 struct ib_xrcd ibxrcd; member
1035 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() argument
1037 return container_of(ibxrcd, struct mlx5_ib_xrcd, ibxrcd); in to_mxrcd()
Dqp.c2922 to_mdev(to_mxrcd(attr->xrcd)->ibxrcd.device); in mlx5_ib_create_qp()
4731 int mlx5_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx5_ib_alloc_xrcd() argument
4733 struct mlx5_ib_dev *dev = to_mdev(ibxrcd->device); in mlx5_ib_alloc_xrcd()
4734 struct mlx5_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx5_ib_alloc_xrcd()
Dmain.c4100 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx5_ib_xrcd, ibxrcd),