/linux/include/rdma/ |
H A D | uverbs_types.h | 58 struct ib_uobject *(*alloc_begin)(const struct uverbs_api_object *obj, 61 void (*alloc_commit)(struct ib_uobject *uobj); 63 void (*alloc_abort)(struct ib_uobject *uobj); 65 struct ib_uobject *(*lookup_get)(const struct uverbs_api_object *obj, 68 void (*lookup_put)(struct ib_uobject *uobj, enum rdma_lookup_mode mode); 70 int __must_check (*destroy_hw)(struct ib_uobject *uobj, 73 void (*remove_handle)(struct ib_uobject *uobj); 74 void (*swap_uobjects)(struct ib_uobject *obj_old, 75 struct ib_uobject *obj_new); 103 int __must_check (*destroy_object)(struct ib_uobject *uob [all...] |
H A D | uverbs_std_types.h | 34 static inline void *_uobj_get_obj_read(struct ib_uobject *uobj) in _uobj_get_obj_read() 55 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, 62 static inline void uobj_put_destroy(struct ib_uobject *uobj) in uobj_put_destroy() 67 static inline void uobj_put_read(struct ib_uobject *uobj) in uobj_put_read() 75 static inline void uobj_put_write(struct ib_uobject *uobj) in uobj_put_write() 80 static inline void uobj_alloc_abort(struct ib_uobject *uobj, in uobj_alloc_abort() 86 static inline void uobj_finalize_uobj_create(struct ib_uobject *uobj, in uobj_finalize_uobj_create() 100 static inline struct ib_uobject * 104 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); in __uobj_alloc() 115 struct ib_uobject *uob in uverbs_flow_action_fill_action() [all...] |
H A D | uverbs_ioctl.h | 614 struct ib_uobject *uobject; 619 struct ib_uobject **uobjects; 637 struct ib_uobject *uobject; 704 static inline struct ib_uobject *uverbs_attr_get_uobject(const struct uverbs_attr_bundle *attrs_bundle, in uverbs_attr_get_uobject() 761 struct ib_uobject ***arr) in uverbs_attr_get_uobjs_arr()
|
H A D | ib_verbs.h | 1544 struct ib_uobject { struct 1572 struct ib_uobject *uobject; argument 1595 struct ib_uobject *uobject; 1743 struct ib_uobject *uobject; 1846 struct ib_uobject *uobject; 1859 struct ib_uobject *uobject; 1882 struct ib_uobject *uobject; /* user */ 1898 struct ib_uobject *uobject; 2138 struct ib_uobject *uobject; 2194 struct ib_uobject *uobjec 1545 user_handleib_uobject global() argument 1547 ufileib_uobject global() argument [all...] |
/linux/drivers/infiniband/core/ |
H A D | rdma_core.c | 47 kfree_rcu(container_of(ref, struct ib_uobject, ref), rcu); in uverbs_uobject_free() 55 void uverbs_uobject_put(struct ib_uobject *uobject) in uverbs_uobject_put() 61 int uverbs_try_lock_object(struct ib_uobject *uobj, in uverbs_try_lock_object() 89 static void assert_uverbs_usecnt(struct ib_uobject *uobj, in assert_uverbs_usecnt() 123 static int uverbs_destroy_uobject(struct ib_uobject *uobj, in uverbs_destroy_uobject() 189 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs) in uobj_destroy() 223 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, in __uobj_get_destroy() 226 struct ib_uobject *uobj; in __uobj_get_destroy() 250 struct ib_uobject *uobj; in __uobj_perform_destroy() 260 static struct ib_uobject *alloc_uob [all...] |
H A D | uverbs_std_types.c | 42 static int uverbs_free_ah(struct ib_uobject *uobject, in uverbs_free_ah() 51 static int uverbs_free_flow(struct ib_uobject *uobject, in uverbs_free_flow() 71 static int uverbs_free_mw(struct ib_uobject *uobject, in uverbs_free_mw() 78 static int uverbs_free_rwq_ind_tbl(struct ib_uobject *uobject, in uverbs_free_rwq_ind_tbl() 102 static int uverbs_free_xrcd(struct ib_uobject *uobject, in uverbs_free_xrcd() 121 static int uverbs_free_pd(struct ib_uobject *uobject, in uverbs_free_pd() 158 uverbs_completion_event_file_destroy_uobj(struct ib_uobject *uobj, in uverbs_completion_event_file_destroy_uobj()
|
H A D | uverbs.h | 126 struct ib_uobject uobj; 132 struct ib_uobject uobj; 153 struct ib_uobject uobject; 161 struct ib_uobject uobject; 212 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, 275 struct ib_uobject *async_ev_file_uobj; in ib_uverbs_get_async_event()
|
H A D | uverbs_std_types_async_fd.c | 14 struct ib_uobject *uobj = in UVERBS_HANDLER() 22 static void uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj() 38 struct ib_uobject *uobj = filp->private_data; in uverbs_async_event_release()
|
H A D | rdma_core.h | 51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs); 54 * Get an ib_uobject that corresponds to the given id from ufile, assuming 62 struct ib_uobject * 66 void uverbs_finalize_object(struct ib_uobject *uobj,
|
H A D | uverbs_std_types_dm.c | 37 static int uverbs_free_dm(struct ib_uobject *uobject, in uverbs_free_dm() 53 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_srq.c | 10 static int uverbs_free_srq(struct ib_uobject *uobject, in uverbs_free_srq() 45 struct ib_uobject *xrcd_uobj; in UVERBS_HANDLER() 200 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_counters.c | 38 static int uverbs_free_counters(struct ib_uobject *uobject, in uverbs_free_counters() 58 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
|
H A D | uverbs_std_types_dmah.c | 11 static int uverbs_free_dmah(struct ib_uobject *uobject, in uverbs_free_dmah() 33 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_cq.c | 38 static int uverbs_free_cq(struct ib_uobject *uobject, in uverbs_free_cq() 71 struct ib_uobject *ev_file_uobj; in UVERBS_HANDLER() 263 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_flow_action.c | 37 static int uverbs_free_flow_action(struct ib_uobject *uobject, in uverbs_free_flow_action()
|
H A D | uverbs_std_types_wq.c | 10 static int uverbs_free_wq(struct ib_uobject *uobject, in uverbs_free_wq() 162 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_mr.c | 39 static int uverbs_free_mr(struct ib_uobject *uobject, in uverbs_free_mr() 87 struct ib_uobject *uobj = in UVERBS_HANDLER() 189 struct ib_uobject *uobj = in UVERBS_HANDLER() 272 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_std_types_qp.c | 11 static int uverbs_free_qp(struct ib_uobject *uobject, in uverbs_free_qp() 97 struct ib_uobject *xrcd_uobj = NULL; in UVERBS_HANDLER() 348 struct ib_uobject *uobj = in UVERBS_HANDLER()
|
H A D | uverbs_cmd.c | 192 struct ib_uobject *uobj = ufd_get_read(UVERBS_OBJECT_COMP_CHANNEL, in _ib_uverbs_lookup_comp_file() 300 struct ib_uobject *uobj; in ib_uverbs_get_context() 442 struct ib_uobject *uobj; in ib_uverbs_alloc_pd() 688 int ib_uverbs_dealloc_xrcd(struct ib_uobject *uobject, struct ib_xrcd *xrcd, in ib_uverbs_dealloc_xrcd() 716 struct ib_uobject *uobj; in ib_uverbs_reg_mr() 787 struct ib_uobject *uobj; in ib_uverbs_rereg_mr() 788 struct ib_uobject *new_uobj; in ib_uverbs_rereg_mr() 924 struct ib_uobject *uobj; in ib_uverbs_alloc_mw() 999 struct ib_uobject *uobj; in ib_uverbs_create_comp_channel() 1273 struct ib_uobject *uob in ib_uverbs_destroy_cq() [all...] |
H A D | uverbs_std_types_device.c | 71 struct ib_uobject *obj; in gather_objects_handle()
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | qos.c | 28 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER() 85 static int pp_obj_cleanup(struct ib_uobject *uobject, in pp_obj_cleanup()
|
H A D | fs.c | 2447 struct ib_uobject **arr_flow_actions; in UVERBS_HANDLER() 2453 struct ib_uobject *uobj; in UVERBS_HANDLER() 2559 static int flow_matcher_cleanup(struct ib_uobject *uobject, in flow_matcher_cleanup() 2803 static int steering_anchor_cleanup(struct ib_uobject *uobject, in steering_anchor_cleanup() 2899 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() 2977 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() 3100 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() 3226 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
|
H A D | dm.c | 207 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
|
H A D | main.c | 3773 static int mmap_obj_cleanup(struct ib_uobject *uobject, in mmap_obj_cleanup() 3842 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() 3955 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER()
|