Lines Matching refs:aqm
56 if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) in vfio_ap_get_queue()
513 if (find_first_bit_inv(matrix_mdev->matrix.aqm, nbits) >= nbits) in vfio_ap_mdev_verify_queues_reserved_for_apid()
516 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, nbits) { in vfio_ap_mdev_verify_queues_reserved_for_apid()
540 DECLARE_BITMAP(aqm, AP_DOMAINS); in vfio_ap_mdev_verify_no_sharing()
547 memset(aqm, 0, sizeof(aqm)); in vfio_ap_mdev_verify_no_sharing()
557 if (!bitmap_and(aqm, matrix_mdev->matrix.aqm, in vfio_ap_mdev_verify_no_sharing()
558 lstdev->matrix.aqm, AP_DOMAINS)) in vfio_ap_mdev_verify_no_sharing()
771 set_bit_inv(apqi, matrix_mdev->matrix.aqm); in assign_domain_store()
781 clear_bit_inv(apqi, matrix_mdev->matrix.aqm); in assign_domain_store()
828 clear_bit_inv((unsigned long)apqi, matrix_mdev->matrix.aqm); in unassign_domain_store()
968 apqi1 = find_first_bit_inv(matrix_mdev->matrix.aqm, naqm_bits); in matrix_show()
974 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, in matrix_show()
989 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, naqm_bits) { in matrix_show()
1111 matrix_mdev->matrix.aqm, in vfio_ap_mdev_group_notifier()
1170 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, in vfio_ap_mdev_reset_queues()