| /linux-6.15/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_pd.c | 146 int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata) in hns_roce_alloc_xrcd() argument 148 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_alloc_xrcd() 149 struct hns_roce_xrcd *xrcd = to_hr_xrcd(ib_xrcd); in hns_roce_alloc_xrcd() 166 int hns_roce_dealloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata) in hns_roce_dealloc_xrcd() argument 168 struct hns_roce_dev *hr_dev = to_hr_dev(ib_xrcd->device); in hns_roce_dealloc_xrcd() 169 u32 xrcdn = to_hr_xrcd(ib_xrcd)->xrcdn; in hns_roce_dealloc_xrcd()
|
| H A D | hns_roce_device.h | 228 struct ib_xrcd ibxrcd; 1046 static inline struct hns_roce_xrcd *to_hr_xrcd(struct ib_xrcd *ibxrcd) in to_hr_xrcd() 1248 int hns_roce_alloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata); 1249 int hns_roce_dealloc_xrcd(struct ib_xrcd *ib_xrcd, struct ib_udata *udata);
|
| H A D | hns_roce_main.c | 699 INIT_RDMA_OBJ_SIZE(ib_xrcd, hns_roce_xrcd, ibxrcd),
|
| /linux-6.15/drivers/infiniband/hw/qedr/ |
| H A D | verbs.h | 52 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);
|
| H A D | qedr.h | 314 struct ib_xrcd ibxrcd; 584 static inline struct qedr_xrcd *get_qedr_xrcd(struct ib_xrcd *ibxrcd) in get_qedr_xrcd()
|
| H A D | main.c | 237 INIT_RDMA_OBJ_SIZE(ib_xrcd, qedr_xrcd, ibxrcd),
|
| H A D | verbs.c | 490 int qedr_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_alloc_xrcd() 498 int qedr_dealloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in qedr_dealloc_xrcd()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | uverbs_std_types_qp.c | 96 struct ib_xrcd *xrcd = NULL; in UVERBS_HANDLER() 130 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
|
| H A D | uverbs.h | 212 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd,
|
| H A D | uverbs_std_types.c | 106 struct ib_xrcd *xrcd = uobject->object; in uverbs_free_xrcd()
|
| H A D | uverbs_std_types_srq.c | 81 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
|
| H A D | uverbs_cmd.c | 501 struct ib_xrcd *xrcd; 507 struct ib_xrcd *xrcd) in xrcd_table_insert() 560 static struct ib_xrcd *find_xrcd(struct ib_uverbs_device *dev, struct inode *inode) in find_xrcd() 590 struct ib_xrcd *xrcd = NULL; in ib_uverbs_open_xrcd() 688 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd() 1301 struct ib_xrcd *xrcd = NULL; in create_qp() 1366 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in create_qp() 1579 struct ib_xrcd *xrcd; in ib_uverbs_open_qp() 1601 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in ib_uverbs_open_qp() 3415 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in __uverbs_create_xsrq()
|
| H A D | verbs.c | 1160 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp() 2063 struct ib_xrcd *xrcd; in __ib_destroy_shared_qp() 2475 struct ib_xrcd *ib_alloc_xrcd_user(struct ib_device *device, in ib_alloc_xrcd_user() 2478 struct ib_xrcd *xrcd; in ib_alloc_xrcd_user() 2484 xrcd = rdma_zalloc_drv_obj(device, ib_xrcd); in ib_alloc_xrcd_user() 2509 int ib_dealloc_xrcd_user(struct ib_xrcd *xrcd, struct ib_udata *udata) in ib_dealloc_xrcd_user()
|
| H A D | device.c | 2802 SET_OBJ_SIZE(dev_ops, ib_xrcd); in ib_set_device_ops()
|
| /linux-6.15/include/rdma/ |
| H A D | ib_verbs.h | 1094 struct ib_xrcd *xrcd; 1194 struct ib_xrcd *xrcd; /* XRC TGT QPs only */ 1581 struct ib_xrcd { struct 1652 struct ib_xrcd *xrcd; 1807 struct ib_xrcd *xrcd; /* XRC TGT QPs only */ 2528 int (*alloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata); 2529 int (*dealloc_xrcd)(struct ib_xrcd *xrcd, struct ib_udata *udata); 2724 DECLARE_RDMA_OBJ_SIZE(ib_xrcd); 3876 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, 4413 struct ib_xrcd *ib_alloc_xrcd_user(struct ib_device *device, [all …]
|
| /linux-6.15/drivers/infiniband/hw/mlx5/ |
| H A D | mlx5_ib.h | 628 struct ib_xrcd ibxrcd; 1240 static inline struct mlx5_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd() 1416 int mlx5_ib_alloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata); 1417 int mlx5_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata);
|
| H A D | qp.c | 5167 int mlx5_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx5_ib_alloc_xrcd() 5178 int mlx5_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata) in mlx5_ib_dealloc_xrcd()
|
| H A D | main.c | 4199 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx5_ib_xrcd, ibxrcd),
|
| /linux-6.15/drivers/infiniband/hw/mlx4/ |
| H A D | mlx4_ib.h | 99 struct ib_xrcd ibxrcd; 688 static inline struct mlx4_ib_xrcd *to_mxrcd(struct ib_xrcd *ibxrcd) in to_mxrcd()
|
| H A D | main.c | 1221 static int mlx4_ib_alloc_xrcd(struct ib_xrcd *ibxrcd, struct ib_udata *udata) in mlx4_ib_alloc_xrcd() 1257 static int mlx4_ib_dealloc_xrcd(struct ib_xrcd *xrcd, struct ib_udata *udata) in mlx4_ib_dealloc_xrcd() 2605 INIT_RDMA_OBJ_SIZE(ib_xrcd, mlx4_ib_xrcd, ibxrcd),
|