Home
last modified time | relevance | path

Searched refs:ufile (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/core/
H A Dib_core_uverbs.c39 struct ib_uverbs_file *ufile = vma->vm_file->private_data; in rdma_umap_priv_init() local
49 mutex_lock(&ufile->umap_lock); in rdma_umap_priv_init()
50 list_add(&priv->list, &ufile->umaps); in rdma_umap_priv_init()
51 mutex_unlock(&ufile->umap_lock); in rdma_umap_priv_init()
76 struct ib_uverbs_file *ufile = ucontext->ufile; in rdma_user_mmap_io() local
87 vma->vm_file->private_data != ufile)) in rdma_user_mmap_io()
89 lockdep_assert_held(&ufile->device->disassociate_srcu); in rdma_user_mmap_io()
289 struct ib_uverbs_file *ufile = ucontext->ufile; in rdma_user_mmap_entry_insert_range() local
310 mutex_lock(&ufile->umap_lock); in rdma_user_mmap_entry_insert_range()
350 mutex_unlock(&ufile->umap_lock); in rdma_user_mmap_entry_insert_range()
[all …]
H A Duverbs_std_types.c114 mutex_lock(&attrs->ufile->device->xrcd_tree_mutex); in uverbs_free_xrcd()
116 mutex_unlock(&attrs->ufile->device->xrcd_tree_mutex); in uverbs_free_xrcd()
H A Duverbs_ioctl.c407 &pbundle->bundle.ufile->device->disassociate_srcu); in ib_uverbs_run_method()
523 static int ib_uverbs_cmd_verbs(struct ib_uverbs_file *ufile, in ib_uverbs_cmd_verbs() argument
528 struct uverbs_api *uapi = ufile->device->uapi; in ib_uverbs_cmd_verbs()
565 pbundle->bundle.ufile = ufile; in ib_uverbs_cmd_verbs()
H A Duverbs_std_types_wq.c71 wq_init_attr.wq_context = attrs->ufile; in UVERBS_HANDLER()
H A Duverbs.h326 async_ev_file = READ_ONCE(attrs->ufile->default_async_file); in ib_uverbs_get_async_event()
/linux/include/rdma/
H A Duverbs_std_types.h22 uapi_get_object((_attrs)->ufile->device->uapi, _object)
25 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
30 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
45 rdma_lookup_get_uobject(uobj_get_type(_attrs, _type), (_attrs)->ufile, \
H A Duverbs_ioctl.h635 struct ib_uverbs_file *ufile;
857 return ib_uverbs_get_ucontext_file(attrs->ufile); in ib_uverbs_get_ucontext()