Home
last modified time | relevance | path

Searched refs:mdevs_lock (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c60 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_kvm()
78 mutex_unlock(&matrix_dev->mdevs_lock); in release_update_locks_for_kvm()
105 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_mdev()
125 mutex_unlock(&matrix_dev->mdevs_lock); in release_update_locks_for_mdev()
162 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_by_apqn()
168 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_by_apqn()
194 mutex_lock(&matrix_dev->mdevs_lock); in get_update_locks_for_queue()
589 mutex_lock(&matrix_dev->mdevs_lock); in handle_pqap()
629 mutex_unlock(&matrix_dev->mdevs_lock); in handle_pqap()
784 mutex_lock(&matrix_dev->mdevs_lock); in vfio_ap_mdev_probe()
[all …]
H A Dvfio_ap_private.h51 struct mutex mdevs_lock; /* serializes access to each ap_matrix_mdev */ member
H A Dvfio_ap_drv.c112 mutex_init(&matrix_dev->mdevs_lock); in vfio_ap_matrix_dev_create()
/linux/Documentation/arch/s390/
H A Dvfio-ap-locking.rst24 struct mutex mdevs_lock;
28 The Matrix Devices Lock (matrix_dev->mdevs_lock) is implemented as a global
90 however, in this case, the Matrix Devices Lock (matrix_dev->mdevs_lock) must be
95 resources, so only the matrix_dev->mdevs_lock needs to be held.