/Linux-v4.19/drivers/infiniband/core/ |
D | rdma_core.c | 130 struct ib_uverbs_file *ufile = uobj->ufile; in uverbs_destroy_uobject() local 134 lockdep_assert_held(&ufile->hw_destroy_rwsem); in uverbs_destroy_uobject() 171 spin_lock_irqsave(&ufile->uobjects_lock, flags); in uverbs_destroy_uobject() 173 spin_unlock_irqrestore(&ufile->uobjects_lock, flags); in uverbs_destroy_uobject() 201 struct ib_uverbs_file *ufile = uobj->ufile; in uobj_destroy() local 204 down_read(&ufile->hw_destroy_rwsem); in uobj_destroy() 217 up_read(&ufile->hw_destroy_rwsem); in uobj_destroy() 227 u32 id, struct ib_uverbs_file *ufile) in __uobj_get_destroy() argument 232 uobj = rdma_lookup_get_uobject(obj, ufile, id, UVERBS_LOOKUP_DESTROY); in __uobj_get_destroy() 251 struct ib_uverbs_file *ufile, int success_res) in __uobj_perform_destroy() argument [all …]
|
D | rdma_core.h | 48 void uverbs_destroy_ufile_hw(struct ib_uverbs_file *ufile, 87 struct ib_uverbs_file *ufile, 109 void setup_ufile_idr_uobject(struct ib_uverbs_file *ufile); 110 void release_ufile_idr_uobject(struct ib_uverbs_file *ufile); 127 int (__rcu *handler)(struct ib_uverbs_file *ufile,
|
D | uverbs_ioctl.c | 232 pbundle->bundle.ufile, in uverbs_process_attr() 304 *slot, &pbundle->bundle.ufile->device->disassociate_srcu); in uverbs_set_attr() 322 int (*handler)(struct ib_uverbs_file *ufile, in ib_uverbs_run_method() 332 &pbundle->bundle.ufile->device->disassociate_srcu); in ib_uverbs_run_method() 363 ret = handler(pbundle->bundle.ufile, &pbundle->bundle); in ib_uverbs_run_method() 366 ret = handler(pbundle->bundle.ufile, &pbundle->bundle); in ib_uverbs_run_method() 410 static int ib_uverbs_cmd_verbs(struct ib_uverbs_file *ufile, in ib_uverbs_cmd_verbs() argument 415 struct uverbs_api *uapi = ufile->device->uapi; in ib_uverbs_cmd_verbs() 432 method_elm = srcu_dereference(*slot, &ufile->device->disassociate_srcu); in ib_uverbs_cmd_verbs() 452 pbundle->bundle.ufile = ufile; in ib_uverbs_cmd_verbs()
|
D | uverbs_std_types.c | 102 ib_uverbs_release_uevent(uobject->context->ufile, &uqp->uevent); in uverbs_free_qp() 133 ib_uverbs_release_uevent(uobject->context->ufile, &uwq->uevent); in uverbs_free_wq() 157 ib_uverbs_release_uevent(uobject->context->ufile, uevent); in uverbs_free_srq() 173 mutex_lock(&uobject->context->ufile->device->xrcd_tree_mutex); in uverbs_free_xrcd() 175 mutex_unlock(&uobject->context->ufile->device->xrcd_tree_mutex); in uverbs_free_xrcd()
|
D | uverbs_main.c | 141 struct ib_ucontext *ib_uverbs_get_ucontext(struct ib_uverbs_file *ufile) in ib_uverbs_get_ucontext() argument 148 struct ib_ucontext *ucontext = smp_load_acquire(&ufile->ucontext); in ib_uverbs_get_ucontext() 150 if (!srcu_dereference(ufile->device->ib_dev, in ib_uverbs_get_ucontext() 151 &ufile->device->disassociate_srcu)) in ib_uverbs_get_ucontext() 350 comp_ev_file->uobj.ufile, filp, in ib_uverbs_comp_event_read() 543 ib_uverbs_async_handler(uobj->uobject.ufile, uobj->uobject.user_handle, in ib_uverbs_cq_event_handler() 652 static bool verify_command_mask(struct ib_uverbs_file *ufile, u32 command, in verify_command_mask() argument 656 return ufile->uverbs_cmd_mask & BIT_ULL(command); in verify_command_mask() 658 return ufile->uverbs_ex_cmd_mask & BIT_ULL(command); in verify_command_mask()
|
D | uverbs_std_types_cq.c | 51 uobject->context->ufile, in uverbs_free_cq()
|
D | uverbs_cmd.c | 51 _ib_uverbs_lookup_comp_file(s32 fd, struct ib_uverbs_file *ufile) in _ib_uverbs_lookup_comp_file() argument 54 fd, ufile); in _ib_uverbs_lookup_comp_file() 118 ucontext->ufile = file; in ib_uverbs_get_context() 644 struct ib_uverbs_device *dev = uobject->context->ufile->device; in ib_uverbs_dealloc_xrcd() 2854 static int kern_spec_to_ib_spec_action(struct ib_uverbs_file *ufile, in kern_spec_to_ib_spec_action() argument 2883 ufile); in kern_spec_to_ib_spec_action() 2901 ufile); in kern_spec_to_ib_spec_action() 3082 static int kern_spec_to_ib_spec(struct ib_uverbs_file *ufile, in kern_spec_to_ib_spec() argument 3091 return kern_spec_to_ib_spec_action(ufile, kern_spec, ib_spec, in kern_spec_to_ib_spec()
|
/Linux-v4.19/include/rdma/ |
D | uverbs_types.h | 86 struct ib_uverbs_file *ufile); 93 struct ib_uverbs_file *ufile, s64 id, 133 struct ib_uverbs_file *ufile, s64 id, 138 struct ib_uverbs_file *ufile);
|
D | uverbs_std_types.h | 84 struct ib_uverbs_file *ufile, int success_res); 90 u32 id, struct ib_uverbs_file *ufile); 130 __uobj_alloc(const struct uverbs_api_object *obj, struct ib_uverbs_file *ufile, in __uobj_alloc() argument 133 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, ufile); in __uobj_alloc()
|
D | uverbs_ioctl.h | 271 int (*handler)(struct ib_uverbs_file *ufile, 442 struct ib_uverbs_file *ufile; member
|
D | ib_verbs.h | 1482 struct ib_uverbs_file *ufile; member 1516 struct ib_uverbs_file *ufile; member 4178 struct ib_ucontext *ib_uverbs_get_ucontext(struct ib_uverbs_file *ufile);
|