Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.h52 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata);
53 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata);
Dqedr.h314 struct ib_xrcd ibxrcd; member
584 static inline struct qedr_xrcd *get_qedr_xrcd(struct ib_xrcd *ibxrcd) in get_qedr_xrcd() argument
586 return container_of(ibxrcd, struct qedr_xrcd, ibxrcd); in get_qedr_xrcd()
Dverbs.c490 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_alloc_xrcd() argument
492 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); in qedr_alloc_xrcd()
493 struct qedr_xrcd *xrcd = get_qedr_xrcd(ibxrcd); in qedr_alloc_xrcd()
498 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_dealloc_xrcd() argument
500 struct qedr_dev *dev = get_qedr_dev(ibxrcd->device); in qedr_dealloc_xrcd()
501 u16 xrcd_id = get_qedr_xrcd(ibxrcd)->xrcd_id; in qedr_dealloc_xrcd()
Dmain.c237 INIT_RDMA_OBJ_SIZE(ib_xrcd, qedr_xrcd, ibxrcd),
/linux-6.1.9/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.c1216 static int mlx4_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx4_ib_alloc_xrcd() argument
1218 struct mlx4_ib_dev *dev = to_mdev(ibxrcd->device); in mlx4_ib_alloc_xrcd()
1219 struct mlx4_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx4_ib_alloc_xrcd()
1230 xrcd->pd = ib_alloc_pd(ibxrcd->device, 0); in mlx4_ib_alloc_xrcd()
1237 xrcd->cq = ib_create_cq(ibxrcd->device, NULL, NULL, xrcd, &cq_attr); in mlx4_ib_alloc_xrcd()
2609 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx4_ib_xrcd, ibxrcd),
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_device.h214 struct ib_xrcd ibxrcd; member
983 static inline struct hns_roce_xrcd *to_hr_xrcd(struct ib_xrcd *ibxrcd) in to_hr_xrcd() argument
985 return container_of(ibxrcd, struct hns_roce_xrcd, ibxrcd); in to_hr_xrcd()
Dhns_roce_main.c579 INIT_RDMA_OBJ_SIZE(ib_xrcd, hns_roce_xrcd, ibxrcd),
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h594 struct ib_xrcd ibxrcd; member
1116 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() argument
1118 return container_of(ibxrcd, struct mlx5_ib_xrcd, ibxrcd); in to_mxrcd()
Dqp.c5016 int mlx5_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx5_ib_alloc_xrcd() argument
5018 struct mlx5_ib_dev *dev = to_mdev(ibxrcd->device); in mlx5_ib_alloc_xrcd()
5019 struct mlx5_ib_xrcd *xrcd = to_mxrcd(ibxrcd); in mlx5_ib_alloc_xrcd()
Dmain.c3775 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx5_ib_xrcd, ibxrcd),