Searched refs:ibxrcd (Results 1 – 9 of 9) sorted by relevance
/drivers/infiniband/hw/qedr/ |
D | verbs.h | 51 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);
|
D | qedr.h | 314 struct ib_xrcd ibxrcd; member 583 static inline struct qedr_xrcd *get_qedr_xrcd(struct ib_xrcd *ibxrcd) in get_qedr_xrcd() argument 585 return container_of(ibxrcd, struct qedr_xrcd, ibxrcd); in get_qedr_xrcd()
|
D | verbs.c | 488 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() 2258 dev = get_qedr_dev(xrcd->ibxrcd.device); in qedr_create_qp()
|
D | main.c | 241 INIT_RDMA_OBJ_SIZE(ib_xrcd, qedr_xrcd, ibxrcd),
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 98 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()
|
D | main.c | 1221 static int mlx4_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx4_ib_alloc_xrcd() argument 1223 struct mlx4_ib_dev *dev = to_mdev(ibxrcd->device); in mlx4_ib_alloc_xrcd() 1224 struct mlx4_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx4_ib_alloc_xrcd() 1235 xrcd->pd = ib_alloc_pd(ibxrcd->device, 0); in mlx4_ib_alloc_xrcd() 1242 xrcd->cq = ib_create_cq(ibxrcd->device, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd() 2594 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx4_ib_xrcd, ibxrcd),
|
/drivers/infiniband/hw/mlx5/ |
D | mlx5_ib.h | 543 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()
|
D | qp.c | 2913 to_mdev(to_mxrcd(attr->xrcd)->ibxrcd.device); in mlx5_ib_create_qp() 4805 int mlx5_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx5_ib_alloc_xrcd() argument 4807 struct mlx5_ib_dev *dev = to_mdev(ibxrcd->device); in mlx5_ib_alloc_xrcd() 4808 struct mlx5_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx5_ib_alloc_xrcd()
|
D | main.c | 4112 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx5_ib_xrcd, ibxrcd),
|