Lines Matching refs:usdev_lock
184 BUG_ON(!mutex_is_locked(&us_ibdev->usdev_lock)); in find_free_vf_and_create_qp_grp()
291 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_device()
330 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_device()
351 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_port()
380 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_port()
400 mutex_lock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
415 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
419 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_query_qp()
433 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_query_gid()
437 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_query_gid()
502 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
519 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
525 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
538 mutex_lock(&vf->pf->usdev_lock); in usnic_ib_destroy_qp()
546 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_destroy_qp()
563 mutex_lock(&qp_grp->vf->pf->usdev_lock); in usnic_ib_modify_qp()
577 mutex_unlock(&qp_grp->vf->pf->usdev_lock); in usnic_ib_modify_qp()
643 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_alloc_ucontext()
645 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_alloc_ucontext()
656 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_dealloc_ucontext()
659 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_dealloc_ucontext()
683 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
692 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
699 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
708 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()