Home
last modified time | relevance | path

Searched refs:uobj (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/infiniband/core/
A Drdma_core.c136 uobj->uapi_object->type_class->alloc_abort(uobj); in uverbs_destroy_uobject()
157 uobj->uapi_object->type_class->remove_handle(uobj); in uverbs_destroy_uobject()
239 return uobj; in __uobj_get_destroy()
275 if (!uobj) in alloc_uobj()
293 return uobj; in alloc_uobj()
326 if (!uobj || !kref_get_unless_zero(&uobj->ref)) in lookup_get_idr_uobject()
418 uobj->uapi_object->type_class->lookup_put(uobj, mode); in rdma_lookup_get_uobject()
528 xa_erase(&uobj->ufile->idr, uobj->id); in alloc_abort_idr_uobject()
554 xa_erase(&uobj->ufile->idr, uobj->id); in remove_handle_idr_uobject()
658 uobj->uapi_object->type_class->alloc_commit(uobj); in rdma_alloc_commit_uobject()
[all …]
A Duverbs_std_types_async_fd.c14 struct ib_uobject *uobj = in UVERBS_HANDLER() local
18 container_of(uobj, struct ib_uverbs_async_event_file, uobj)); in UVERBS_HANDLER()
22 static void uverbs_async_event_destroy_uobj(struct ib_uobject *uobj, in uverbs_async_event_destroy_uobj() argument
26 container_of(uobj, struct ib_uverbs_async_event_file, uobj); in uverbs_async_event_destroy_uobj()
38 struct ib_uobject *uobj = filp->private_data; in uverbs_async_event_release() local
41 if (!uobj) in uverbs_async_event_release()
45 container_of(uobj, struct ib_uverbs_async_event_file, uobj); in uverbs_async_event_release()
53 uverbs_uobject_get(uobj); in uverbs_async_event_release()
56 uverbs_uobject_put(uobj); in uverbs_async_event_release()
A Duverbs_cmd.c194 if (IS_ERR(uobj)) in _ib_uverbs_lookup_comp_file()
201 uobj); in _ib_uverbs_lookup_comp_file()
311 container_of(uobj, struct ib_uverbs_async_event_file, uobj)); in ib_uverbs_get_context()
433 if (IS_ERR(uobj)) in ib_uverbs_alloc_pd()
713 if (IS_ERR(uobj)) in ib_uverbs_reg_mr()
791 if (IS_ERR(uobj)) in ib_uverbs_rereg_mr()
856 uobj = NULL; in ib_uverbs_rereg_mr()
882 if (uobj) in ib_uverbs_rereg_mr()
915 if (IS_ERR(uobj)) in ib_uverbs_alloc_mw()
989 if (IS_ERR(uobj)) in ib_uverbs_create_comp_channel()
[all …]
A Duverbs.h126 struct ib_uobject uobj; member
132 struct ib_uobject uobj; member
229 struct ib_ucq_object *uobj);
230 void ib_uverbs_release_uevent(struct ib_uevent_object *uobj);
247 struct ib_uqp_object *uobj);
313 uobj); in ib_uverbs_get_async_event()
315 uverbs_uobject_get(&async_ev_file->uobj); in ib_uverbs_get_async_event()
A Duverbs_main.c132 struct ib_ucq_object *uobj) in ib_uverbs_release_ucq() argument
144 uverbs_uobject_put(&ev_file->uobj); in ib_uverbs_release_ucq()
147 ib_uverbs_release_uevent(&uobj->uevent); in ib_uverbs_release_ucq()
164 uverbs_uobject_put(&async_file->uobj); in ib_uverbs_release_uevent()
168 struct ib_uqp_object *uobj) in ib_uverbs_detach_umcast() argument
204 uverbs_uobject_put(&file->default_async_file->uobj); in ib_uverbs_release_file()
362 struct ib_ucq_object *uobj; in ib_uverbs_comp_handler() local
381 uobj = cq->uobject; in ib_uverbs_comp_handler()
384 entry->counter = &uobj->comp_events_reported; in ib_uverbs_comp_handler()
387 list_add_tail(&entry->obj_list, &uobj->comp_list); in ib_uverbs_comp_handler()
[all …]
A Duverbs_std_types_mr.c87 struct ib_uobject *uobj = in UVERBS_HANDLER() local
135 mr->uobject = uobj; in UVERBS_HANDLER()
142 uobj->object = mr; in UVERBS_HANDLER()
189 struct ib_uobject *uobj = in UVERBS_HANDLER() local
249 mr->uobject = uobj; in UVERBS_HANDLER()
255 uobj->object = mr; in UVERBS_HANDLER()
A Duverbs_std_types_dm.c53 struct ib_uobject *uobj = in UVERBS_HANDLER() local
79 dm->uobject = uobj; in UVERBS_HANDLER()
82 uobj->object = dm; in UVERBS_HANDLER()
A Duverbs_std_types_cq.c100 uobj); in UVERBS_HANDLER()
149 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
188 struct ib_uobject *uobj = in UVERBS_HANDLER() local
191 container_of(uobj, struct ib_ucq_object, uevent.uobject); in UVERBS_HANDLER()
A Duverbs_std_types_counters.c58 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
77 counters->uobject = uobj; in UVERBS_HANDLER()
78 uobj->object = counters; in UVERBS_HANDLER()
A Duverbs_std_types_wq.c111 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
162 struct ib_uobject *uobj = in UVERBS_HANDLER() local
165 container_of(uobj, struct ib_uwq_object, uevent.uobject); in UVERBS_HANDLER()
A Duverbs_std_types_flow_action.c309 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
329 uverbs_flow_action_fill_action(action, uobj, ib_dev, in UVERBS_HANDLER()
338 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
340 struct ib_flow_action *action = uobj->object; in UVERBS_HANDLER()
A Duverbs_std_types.c158 uverbs_completion_event_file_destroy_uobj(struct ib_uobject *uobj, in uverbs_completion_event_file_destroy_uobj() argument
162 container_of(uobj, struct ib_uverbs_completion_event_file, in uverbs_completion_event_file_destroy_uobj()
163 uobj); in uverbs_completion_event_file_destroy_uobj()
A Duverbs_std_types_srq.c140 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
200 struct ib_uobject *uobj = in UVERBS_HANDLER() local
203 container_of(uobj, struct ib_usrq_object, uevent.uobject); in UVERBS_HANDLER()
A Drdma_core.h51 int uobj_destroy(struct ib_uobject *uobj, struct uverbs_attr_bundle *attrs);
66 void uverbs_finalize_object(struct ib_uobject *uobj,
A Duverbs_std_types_qp.c282 uverbs_uobject_put(&obj->uevent.event_file->uobj); in UVERBS_HANDLER()
348 struct ib_uobject *uobj = in UVERBS_HANDLER() local
351 container_of(uobj, struct ib_uqp_object, uevent.uobject); in UVERBS_HANDLER()
A Dcore_priv.h322 struct ib_uqp_object *uobj, const char *caller);
A Dverbs.c1206 struct ib_uqp_object *uobj, const char *caller) in create_qp() argument
1221 qp->uobject = uobj; in create_qp()
1283 struct ib_uqp_object *uobj, const char *caller) in ib_create_qp_user() argument
1290 qp = create_qp(dev, pd, attr, udata, uobj, NULL); in ib_create_qp_user()
1300 xrc_qp->uobject = uobj; in ib_create_qp_user()
/linux/include/rdma/
A Duverbs_std_types.h36 if (IS_ERR(uobj)) in _uobj_get_obj_read()
38 return uobj->object; in _uobj_get_obj_read()
97 attrs->uobject = uobj; in uobj_finalize_uobj_create()
106 if (!IS_ERR(uobj)) in __uobj_alloc()
108 return uobj; in __uobj_alloc()
115 struct ib_uobject *uobj, in uverbs_flow_action_fill_action() argument
122 action->uobject = uobj; in uverbs_flow_action_fill_action()
123 uobj->object = action; in uverbs_flow_action_fill_action()
152 uobj->object = ibflow; in ib_set_flow()
153 ibflow->uobject = uobj; in ib_set_flow()
[all …]
A Duverbs_types.h61 void (*alloc_commit)(struct ib_uobject *uobj);
63 void (*alloc_abort)(struct ib_uobject *uobj);
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);
103 int __must_check (*destroy_object)(struct ib_uobject *uobj,
112 void rdma_lookup_put_uobject(struct ib_uobject *uobj,
116 void rdma_alloc_abort_uobject(struct ib_uobject *uobj,
119 void rdma_alloc_commit_uobject(struct ib_uobject *uobj,
146 void (*destroy_object)(struct ib_uobject *uobj,
/linux/drivers/infiniband/hw/mlx5/
A Ddevx.c81 struct ib_uobject uobj; member
600 switch (uobj_get_object_id(uobj)) { in devx_is_valid_obj_id()
1519 uobj->object = obj; in UVERBS_HANDLER()
1651 struct ib_uobject uobj; member
1675 uobj); in UVERBS_HANDLER()
1701 uobj); in UVERBS_HANDLER()
1777 uobj); in UVERBS_HANDLER()
2005 uobj); in UVERBS_HANDLER()
2304 uobj->object = obj; in UVERBS_HANDLER()
2746 uobj); in devx_async_cmd_event_destroy_uobj()
[all …]
A Dqos.c28 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER() local
73 uobj->object = pp_entry; in UVERBS_HANDLER()
A Ddm.c207 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
209 struct mlx5_ib_dev *dev = to_mdev(uobj->context->device); in UVERBS_HANDLER()
210 struct ib_dm *ibdm = uobj->object; in UVERBS_HANDLER()
244 err = add_dm_mmap_entry(uobj->context, &op_entry->mentry, in UVERBS_HANDLER()
A Dfs.c2123 struct ib_uobject *uobj; in UVERBS_HANDLER() local
2132 uobj = uverbs_attr_get_uobject(attrs, MLX5_IB_ATTR_CREATE_FLOW_HANDLE); in UVERBS_HANDLER()
2212 ib_set_flow(uobj, &flow_handler->ibflow, qp, &dev->ib_dev, uflow_res); in UVERBS_HANDLER()
2284 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
2329 uobj->object = obj; in UVERBS_HANDLER()
2384 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
2413 uverbs_flow_action_fill_action(action, uobj, &mdev->ib_dev, in UVERBS_HANDLER()
2510 struct ib_uobject *uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER() local
2560 uverbs_flow_action_fill_action(&maction->ib_action, uobj, &mdev->ib_dev, in UVERBS_HANDLER()
A Dmain.c3413 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
3431 uobj->object = entry; in UVERBS_HANDLER()
3526 struct ib_uobject *uobj = uverbs_attr_get_uobject( in UVERBS_HANDLER() local
3558 uobj->object = entry; in UVERBS_HANDLER()

Completed in 63 milliseconds