Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Duverbs_cmd.c83 static void init_uobj(struct ib_uobject *uobj, u64 user_handle, in init_uobj() argument
86 uobj->user_handle = user_handle; in init_uobj()
87 uobj->context = context; in init_uobj()
88 kref_init(&uobj->ref); in init_uobj()
89 init_rwsem(&uobj->mutex); in init_uobj()
90 lockdep_set_class(&uobj->mutex, key); in init_uobj()
91 uobj->live = 0; in init_uobj()
99 static void put_uobj(struct ib_uobject *uobj) in put_uobj() argument
101 kref_put(&uobj->ref, release_uobj); in put_uobj()
104 static void put_uobj_read(struct ib_uobject *uobj) in put_uobj_read() argument
[all …]
Duverbs_main.c136 struct ib_ucq_object *uobj) in ib_uverbs_release_ucq() argument
142 list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) { in ib_uverbs_release_ucq()
152 list_for_each_entry_safe(evt, tmp, &uobj->async_list, obj_list) { in ib_uverbs_release_ucq()
160 struct ib_uevent_object *uobj) in ib_uverbs_release_uevent() argument
165 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent()
173 struct ib_uqp_object *uobj) in ib_uverbs_detach_umcast() argument
177 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) { in ib_uverbs_detach_umcast()
187 struct ib_uobject *uobj, *tmp; in ib_uverbs_cleanup_ucontext() local
194 list_for_each_entry_safe(uobj, tmp, &context->ah_list, list) { in ib_uverbs_cleanup_ucontext()
195 struct ib_ah *ah = uobj->object; in ib_uverbs_cleanup_ucontext()
[all …]
Duverbs.h145 void idr_remove_uobj(struct idr *idp, struct ib_uobject *uobj);
153 struct ib_ucq_object *uobj);
155 struct ib_uevent_object *uobj);