Lines Matching refs:mdevs_lock
59 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_kvm()
77 mutex_unlock(&matrix_dev->mdevs_lock); in release_update_locks_for_kvm()
104 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_mdev()
124 mutex_unlock(&matrix_dev->mdevs_lock); in release_update_locks_for_mdev()
161 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_by_apqn()
167 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_by_apqn()
193 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_queue()
584 mutex_lock(&matrix_dev->mdevs_lock); in handle_pqap()
624 mutex_unlock(&matrix_dev->mdevs_lock); in handle_pqap()
750 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_probe()
752 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_probe()
810 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_remove()
814 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_remove()
1425 mutex_lock(&matrix_dev->mdevs_lock); in control_domains_show()
1431 mutex_unlock(&matrix_dev->mdevs_lock); in control_domains_show()
1485 mutex_lock(&matrix_dev->mdevs_lock); in matrix_show()
1487 mutex_unlock(&matrix_dev->mdevs_lock); in matrix_show()
1499 mutex_lock(&matrix_dev->mdevs_lock); in guest_matrix_show()
1501 mutex_unlock(&matrix_dev->mdevs_lock); in guest_matrix_show()
1586 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_dma_unmap()
1590 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_dma_unmap()
1935 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_ioctl()
1953 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_ioctl()
1982 mutex_lock(&matrix_dev->mdevs_lock); in status_show()
1998 mutex_unlock(&matrix_dev->mdevs_lock); in status_show()
2163 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_resource_in_use()
2165 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_resource_in_use()
2235 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_cfg_remove()
2251 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_cfg_remove()
2453 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_hot_plug_cfg()
2479 mutex_unlock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_hot_plug_cfg()