Lines Matching refs:AP_DEVICES
724 DECLARE_BITMAP(prev_shadow_apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
727 bitmap_copy(prev_shadow_apm, matrix_mdev->shadow_apcb.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
730 bitmap_clear(apm_filtered, 0, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
738 (unsigned long *)matrix_dev->info.apm, AP_DEVICES); in vfio_ap_mdev_filter_matrix()
742 for_each_set_bit_inv(apid, matrix_mdev->shadow_apcb.apm, AP_DEVICES) { in vfio_ap_mdev_filter_matrix()
771 AP_DEVICES) || in vfio_ap_mdev_filter_matrix()
849 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_fr_queues()
886 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_log_sharing_err()
899 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_mdev_log_in_use_err()
927 DECLARE_BITMAP(apm, AP_DEVICES); in vfio_ap_mdev_verify_no_sharing()
945 if (!bitmap_and(apm, mdev_apm, assigned_to->matrix.apm, AP_DEVICES)) in vfio_ap_mdev_verify_no_sharing()
1028 if (bitmap_empty(apm_reset, AP_DEVICES)) in reset_queues_for_apids()
1033 for_each_set_bit_inv(apid, apm_reset, AP_DEVICES) in reset_queues_for_apids()
1079 DECLARE_BITMAP(apm_filtered, AP_DEVICES); in assign_adapter_store()
1174 for_each_set_bit_inv(apid, apids, AP_DEVICES) { in vfio_ap_mdev_hot_unplug_adapters()
1198 DECLARE_BITMAP(apids, AP_DEVICES); in vfio_ap_mdev_hot_unplug_adapter()
1200 bitmap_zero(apids, AP_DEVICES); in vfio_ap_mdev_hot_unplug_adapter()
1258 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) in vfio_ap_mdev_link_domain()
1303 DECLARE_BITMAP(apm_filtered, AP_DEVICES); in assign_domain_store()
1354 for_each_set_bit_inv(apid, matrix_mdev->matrix.apm, AP_DEVICES) { in vfio_ap_mdev_unlink_domain()
1401 bitmap_zero(apqis, AP_DEVICES); in vfio_ap_mdev_hot_unplug_domain()
1656 #define AP_DEVICES_STRLEN (AP_DEVICES / 4 + 3)
1676 for_each_set_bit_inv(bit, matrix_mdev->matrix.apm, AP_DEVICES) { in ap_matrix_overflow_check()
1700 bitmap_copy(dst->apm, src->apm, AP_DEVICES); in ap_matrix_copy()
1710 DECLARE_BITMAP(apm_filtered, AP_DEVICES); in ap_config_store()
1726 if (parse_bitmap(&rest, m_new.apm, AP_DEVICES) || in ap_config_store()
1733 bitmap_andnot(m_removed.apm, m_old.apm, m_new.apm, AP_DEVICES); in ap_config_store()
1735 bitmap_andnot(m_added.apm, m_new.apm, m_old.apm, AP_DEVICES); in ap_config_store()
1765 for_each_set_bit_inv(newbit, m_added.apm, AP_DEVICES) in ap_config_store()
2420 DECLARE_BITMAP(apm_filtered, AP_DEVICES); in vfio_ap_mdev_probe_queue()
2449 if (!bitmap_empty(matrix_mdev->apm_add, AP_DEVICES) || in vfio_ap_mdev_probe_queue()
2564 if (!bitmap_empty(aprem, AP_DEVICES)) { in vfio_ap_mdev_hot_unplug_cfg()
2567 aprem, AP_DEVICES); in vfio_ap_mdev_hot_unplug_cfg()
2573 aqrem, AP_DEVICES); in vfio_ap_mdev_hot_unplug_cfg()
2603 DECLARE_BITMAP(aprem, AP_DEVICES); in vfio_ap_mdev_cfg_remove()
2614 AP_DEVICES); in vfio_ap_mdev_cfg_remove()
2643 DECLARE_BITMAP(aprem, AP_DEVICES); in vfio_ap_mdev_on_cfg_remove()
2650 AP_DEVICES); in vfio_ap_mdev_on_cfg_remove()
2654 AP_DEVICES); in vfio_ap_mdev_on_cfg_remove()
2658 AP_DEVICES); in vfio_ap_mdev_on_cfg_remove()
2677 for_each_set_bit_inv(apid, apm, AP_DEVICES) { in vfio_ap_filter_apid_by_qtype()
2753 matrix_mdev->matrix.apm, apm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2757 matrix_mdev->matrix.adm, adm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2776 DECLARE_BITMAP(apm_add, AP_DEVICES); in vfio_ap_mdev_on_cfg_add()
2783 AP_DEVICES); in vfio_ap_mdev_on_cfg_add()
2821 DECLARE_BITMAP(apm_filtered, AP_DEVICES); in vfio_ap_mdev_hot_plug_cfg()
2828 matrix_mdev->apm_add, AP_DEVICES); in vfio_ap_mdev_hot_plug_cfg()
2857 if (bitmap_empty(matrix_mdev->apm_add, AP_DEVICES) && in vfio_ap_on_scan_complete()
2863 bitmap_clear(matrix_mdev->apm_add, 0, AP_DEVICES); in vfio_ap_on_scan_complete()