Home
last modified time | relevance | path

Searched refs:ib_xrcd (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_pd.c157 int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata) in hns_roce_alloc_xrcd() argument
159 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_alloc_xrcd()
160 struct hns_roce_xrcd *xrcd = to_hr_xrcd(ib_xrcd); in hns_roce_alloc_xrcd()
173 int hns_roce_dealloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata) in hns_roce_dealloc_xrcd() argument
175 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_dealloc_xrcd()
176 u32 xrcdn = to_hr_xrcd(ib_xrcd)->xrcdn; in hns_roce_dealloc_xrcd()
Dhns_roce_device.h241 struct ib_xrcd ibxrcd;
1017 static inline struct hns_roce_xrcd *to_hr_xrcd(struct ib_xrcd *ibxrcd) in to_hr_xrcd()
1215 int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata);
1216 int hns_roce_dealloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata);
Dhns_roce_main.c489 INIT_RDMA_OBJ_SIZE(ib_xrcd, hns_roce_xrcd, ibxrcd),
/Linux-v5.15/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;
583 static inline struct qedr_xrcd *get_qedr_xrcd(struct ib_xrcd *ibxrcd) in get_qedr_xrcd()
Dmain.c238 INIT_RDMA_OBJ_SIZE(ib_xrcd, qedr_xrcd, ibxrcd),
Dverbs.c489 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_alloc_xrcd()
497 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_dealloc_xrcd()
/Linux-v5.15/drivers/infiniband/core/
Duverbs_std_types_qp.c96 struct ib_xrcd *xrcd = NULL; in UVERBS_HANDLER()
130 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
Duverbs_std_types.c106 struct ib_xrcd *xrcd = uobject->object; in uverbs_free_xrcd()
Duverbs.h241 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
Duverbs_std_types_srq.c81 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
Dverbs.c1153 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
1984 struct ib_xrcd *xrcd; in __ib_destroy_shared_qp()
2393 struct ib_xrcd *ib_alloc_xrcd_user(struct ib_device *device, in ib_alloc_xrcd_user()
2396 struct ib_xrcd *xrcd; in ib_alloc_xrcd_user()
2402 xrcd = rdma_zalloc_drv_obj(device, ib_xrcd); in ib_alloc_xrcd_user()
2427 int ib_dealloc_xrcd_user(struct ib_xrcd *xrcd, struct ib_udata *udata) in ib_dealloc_xrcd_user()
Duverbs_cmd.c482 struct ib_xrcd *xrcd;
488 struct ib_xrcd *xrcd) in xrcd_table_insert()
541 static struct ib_xrcd *find_xrcd(struct ib_uverbs_device *dev, struct inode *inode) in find_xrcd()
571 struct ib_xrcd *xrcd = NULL; in ib_uverbs_open_xrcd()
671 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd()
1284 struct ib_xrcd *xrcd = NULL; in create_qp()
1349 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in create_qp()
1555 struct ib_xrcd *xrcd; in ib_uverbs_open_qp()
1577 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in ib_uverbs_open_qp()
3383 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in __uverbs_create_xsrq()
Ddevice.c2718 SET_OBJ_SIZE(dev_ops, ib_xrcd); in ib_set_device_ops()
/Linux-v5.15/include/rdma/
Dib_verbs.h1057 struct ib_xrcd *xrcd;
1157 struct ib_xrcd *xrcd; /* XRC TGT QPs only */
1539 struct ib_xrcd { struct
1610 struct ib_xrcd *xrcd;
1760 struct ib_xrcd *xrcd; /* XRC TGT QPs only */
2493 int (*alloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata);
2494 int (*dealloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata);
2657 DECLARE_RDMA_OBJ_SIZE(ib_xrcd);
3778 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd,
4274 struct ib_xrcd *ib_alloc_xrcd_user(struct ib_device *device,
[all …]
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dmlx5_ib.h606 struct ib_xrcd ibxrcd;
1108 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd()
1286 int mlx5_ib_alloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata);
1287 int mlx5_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata);
Dqp.c4992 int mlx5_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx5_ib_alloc_xrcd()
5003 int mlx5_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata) in mlx5_ib_dealloc_xrcd()
Dmain.c3800 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx5_ib_xrcd, ibxrcd),
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h98 struct ib_xrcd ibxrcd;
683 static inline struct mlx4_ib_xrcd *to_mxrcd(struct 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()
1260 static int mlx4_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata) in mlx4_ib_dealloc_xrcd()
2607 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx4_ib_xrcd, ibxrcd),