Home
last modified time | relevance | path

Searched refs:matrix_mdev (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/s390/crypto/
Dvfio_ap_ops.c35 static int vfio_ap_mdev_reset_queues(struct ap_matrix_mdev *matrix_mdev);
100 static inline void get_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in get_update_locks_for_mdev() argument
103 if (matrix_mdev && matrix_mdev->kvm) in get_update_locks_for_mdev()
104 mutex_lock(&matrix_mdev->kvm->lock); in get_update_locks_for_mdev()
123 static inline void release_update_locks_for_mdev(struct ap_matrix_mdev *matrix_mdev) in release_update_locks_for_mdev() argument
126 if (matrix_mdev && matrix_mdev->kvm) in release_update_locks_for_mdev()
127 mutex_unlock(&matrix_mdev->kvm->lock); in release_update_locks_for_mdev()
152 struct ap_matrix_mdev *matrix_mdev; in get_update_locks_by_apqn() local
156 list_for_each_entry(matrix_mdev, &matrix_dev->mdev_list, node) { in get_update_locks_by_apqn()
157 if (test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm) && in get_update_locks_by_apqn()
[all …]
Dvfio_ap_private.h142 struct ap_matrix_mdev *matrix_mdev; member
/linux-6.6.21/Documentation/arch/s390/
Dvfio-ap-locking.rst13 struct ap_matrix_mdev *matrix_mdev;
30 controls access to all fields contained within each matrix_mdev
32 or using the data from a field contained within a matrix_mdev instance
50 The KVM pointer is stored in the in the matrix_mdev instance
51 (matrix_mdev->kvm = kvm) containing the state of the mediated device that has
67 matrix_mdev instances (matrix_dev->mdev_list) that represent mediated devices
71 1. To control access to the KVM pointer (matrix_mdev->kvm) while the vfio_ap
75 2. To add matrix_mdev instances to or remove them from matrix_dev->mdev_list.
83 the matrix_mdev object to which the queue is assigned will have to be
84 found. The KVM pointer (matrix_mdev->kvm) can then be used to determine if
[all …]