Lines Matching refs:usdev_lock

183 	BUG_ON(!mutex_is_locked(&us_ibdev->usdev_lock));  in find_free_vf_and_create_qp_grp()
290 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()
500 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
517 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
523 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_create_qp()
536 mutex_lock(&vf->pf->usdev_lock); in usnic_ib_destroy_qp()
544 mutex_unlock(&vf->pf->usdev_lock); in usnic_ib_destroy_qp()
561 mutex_lock(&qp_grp->vf->pf->usdev_lock); in usnic_ib_modify_qp()
575 mutex_unlock(&qp_grp->vf->pf->usdev_lock); in usnic_ib_modify_qp()
641 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_alloc_ucontext()
643 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_alloc_ucontext()
654 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_dealloc_ucontext()
657 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_dealloc_ucontext()
681 mutex_lock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
690 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
697 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()
706 mutex_unlock(&us_ibdev->usdev_lock); in usnic_ib_mmap()