Searched refs:hw_destroy_rwsem (Results 1 – 3 of 3) 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 …]
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()