Searched refs:matrix_mdev (Results 1 – 3 of 3) sorted by relevance
35 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() argument103 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() argument126 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() local156 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 …]
142 struct ap_matrix_mdev *matrix_mdev; member
13 struct ap_matrix_mdev *matrix_mdev;30 controls access to all fields contained within each matrix_mdev32 or using the data from a field contained within a matrix_mdev instance50 The KVM pointer is stored in the in the matrix_mdev instance51 (matrix_mdev->kvm = kvm) containing the state of the mediated device that has67 matrix_mdev instances (matrix_dev->mdev_list) that represent mediated devices71 1. To control access to the KVM pointer (matrix_mdev->kvm) while the vfio_ap75 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 be84 found. The KVM pointer (matrix_mdev->kvm) can then be used to determine if[all …]