Home
last modified time | relevance | path

Searched refs:driver_udata (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Duverbs_main.c614 bundle.driver_udata.inlen = in ib_uverbs_write()
617 if (bundle.driver_udata.inlen) in ib_uverbs_write()
618 bundle.driver_udata.inbuf = buf + in_len; in ib_uverbs_write()
620 bundle.driver_udata.inbuf = NULL; in ib_uverbs_write()
622 memset(&bundle.driver_udata, 0, in ib_uverbs_write()
623 sizeof(bundle.driver_udata)); in ib_uverbs_write()
637 bundle.driver_udata.outlen = in ib_uverbs_write()
640 if (bundle.driver_udata.outlen) in ib_uverbs_write()
641 bundle.driver_udata.outbuf = in ib_uverbs_write()
645 bundle.driver_udata.outbuf = NULL; in ib_uverbs_write()
[all …]
Duverbs_std_types_cq.c48 ret = ib_destroy_cq_user(cq, &attrs->driver_udata); in uverbs_free_cq()
131 ret = ib_dev->ops.create_cq(cq, &attr, &attrs->driver_udata); in UVERBS_HANDLER()
Duverbs_std_types_wq.c19 ret = ib_destroy_wq_user(wq, &attrs->driver_udata); in uverbs_free_wq()
74 wq = pd->device->ops.create_wq(pd, &wq_init_attr, &attrs->driver_udata); in UVERBS_HANDLER()
Duverbs_std_types.c48 &attrs->driver_udata); in uverbs_free_ah()
130 return ib_dealloc_pd_user(pd, &attrs->driver_udata); in uverbs_free_pd()
Duverbs_std_types_srq.c20 ret = ib_destroy_srq_user(srq, &attrs->driver_udata); in uverbs_free_srq()
107 srq = ib_create_srq_user(pd, &attr, obj, &attrs->driver_udata); in UVERBS_HANDLER()
Duverbs_cmd.c184 attrs->driver_udata = (struct ib_udata){}; in uverbs_get_cleared_udata()
185 return &attrs->driver_udata; in uverbs_get_cleared_udata()
251 &attrs->driver_udata); in ib_init_ucontext()
449 ret = ib_dev->ops.alloc_pd(pd, &attrs->driver_udata); in ib_uverbs_alloc_pd()
614 xrcd = ib_alloc_xrcd_user(ib_dev, inode, &attrs->driver_udata); in ib_uverbs_open_xrcd()
683 ret = ib_dealloc_xrcd_user(xrcd, &attrs->driver_udata); in ib_uverbs_dealloc_xrcd()
728 &attrs->driver_udata); in ib_uverbs_reg_mr()
832 &attrs->driver_udata); in ib_uverbs_rereg_mr()
943 ret = pd->device->ops.alloc_mw(mw, &attrs->driver_udata); in ib_uverbs_alloc_mw()
1054 ret = ib_dev->ops.create_cq(cq, &attr, &attrs->driver_udata); in create_cq()
[all …]
Duverbs_std_types_mr.c44 &attrs->driver_udata); in uverbs_free_mr()
242 &attrs->driver_udata); in UVERBS_HANDLER()
Duverbs_std_types_qp.c34 ret = ib_destroy_qp_user(qp, &attrs->driver_udata); in uverbs_free_qp()
251 qp = ib_create_qp_user(device, pd, &attr, &attrs->driver_udata, obj, in UVERBS_HANDLER()
Duverbs_ioctl.c457 &pbundle->bundle.driver_udata, in ib_uverbs_run_method()
460 pbundle->bundle.driver_udata = (struct ib_udata){}; in ib_uverbs_run_method()
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_mmap.c142 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rxe_create_mmap_info()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dmmap.c140 container_of(udata, struct uverbs_attr_bundle, driver_udata) in rvt_create_mmap_info()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c594 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in devx_is_valid_obj_id()
1383 dev = mlx5_udata_to_mdev(&attrs->driver_udata); in devx_obj_cleanup()
1459 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1570 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1617 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1683 struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
1699 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1756 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
1984 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
2302 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in UVERBS_HANDLER()
Dfs.c1929 dev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
2097 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
2155 struct mlx5_ib_dev *dev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
2266 struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
2392 struct mlx5_ib_dev *mdev = mlx5_udata_to_mdev(&attrs->driver_udata); in UVERBS_HANDLER()
Ddm.c484 &attrs->driver_udata, struct mlx5_ib_ucontext, ibucontext); in mlx5_ib_dealloc_dm()
/linux-6.1.9/include/rdma/
Duverbs_ioctl.h630 struct ib_udata driver_udata; member
659 return container_of(udata, struct uverbs_attr_bundle, driver_udata); in rdma_udata_to_uverbs_attr_bundle()