Searched refs:hw_destroy_rwsem (Results 1 – 4 of 4) sorted by relevance
130 lockdep_assert_held(&ufile->hw_destroy_rwsem); in uverbs_destroy_uobject()193 down_read(&ufile->hw_destroy_rwsem); in uobj_destroy()213 up_read(&ufile->hw_destroy_rwsem); in uobj_destroy()512 if (!down_read_trylock(&ufile->hw_destroy_rwsem)) in rdma_alloc_begin_uobject()517 up_read(&ufile->hw_destroy_rwsem); in rdma_alloc_begin_uobject()661 up_read(&ufile->hw_destroy_rwsem); in rdma_alloc_commit_uobject()720 up_read(&ufile->hw_destroy_rwsem); in rdma_alloc_abort_uobject()821 if (down_read_trylock(&ufile->hw_destroy_rwsem)) { in uverbs_uobject_fd_release()835 up_read(&ufile->hw_destroy_rwsem); in uverbs_uobject_fd_release()927 down_write(&ufile->hw_destroy_rwsem); in uverbs_destroy_ufile_hw()[all …]
724 if (!down_read_trylock(&ufile->hw_destroy_rwsem)) in rdma_umap_open()737 up_read(&ufile->hw_destroy_rwsem); in rdma_umap_open()741 up_read(&ufile->hw_destroy_rwsem); in rdma_umap_open()824 lockdep_assert_held(&ufile->hw_destroy_rwsem); in uverbs_user_mmap_disassociate()948 init_rwsem(&file->hw_destroy_rwsem); in ib_uverbs_open()
154 struct rw_semaphore hw_destroy_rwsem; member
237 if (!down_read_trylock(&file->hw_destroy_rwsem)) in ib_init_ucontext()264 up_read(&file->hw_destroy_rwsem); in ib_init_ucontext()272 up_read(&file->hw_destroy_rwsem); in ib_init_ucontext()