Lines Matching refs:AP_DOMAINS
652 DECLARE_BITMAP(prev_shadow_adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
654 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
656 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
659 AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
704 DECLARE_BITMAP(prev_shadow_aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
707 bitmap_copy(prev_shadow_aqm, matrix_mdev->shadow_apcb.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
719 (unsigned long *)matrix_dev->info.aqm, AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
723 AP_DOMAINS) { in vfio_ap_mdev_filter_matrix()
752 AP_DOMAINS); in vfio_ap_mdev_filter_matrix()
829 AP_DOMAINS) { in vfio_ap_mdev_unlink_fr_queues()
866 for_each_set_bit_inv(apqi, aqm, AP_DOMAINS) in vfio_ap_mdev_log_sharing_err()
887 DECLARE_BITMAP(aqm, AP_DOMAINS); in vfio_ap_mdev_verify_no_sharing()
910 AP_DOMAINS)) in vfio_ap_mdev_verify_no_sharing()
951 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, AP_DOMAINS) in vfio_ap_mdev_link_adapter()
963 for_each_set_bit_inv(apqi, matrix_mdev->shadow_apcb.aqm, AP_DOMAINS) { in collect_queues_to_reset()
1111 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, AP_DOMAINS) { in vfio_ap_mdev_unlink_adapter()
1333 for_each_set_bit_inv(apqi, apqis, AP_DOMAINS) { in vfio_ap_mdev_hot_unplug_domains()
1357 DECLARE_BITMAP(apqis, AP_DOMAINS); in vfio_ap_mdev_hot_unplug_domain()
1633 #define AP_DOMAINS_STRLEN (AP_DOMAINS / 4 + 3)
1657 for_each_set_bit_inv(bit, matrix_mdev->matrix.aqm, AP_DOMAINS) { in ap_matrix_overflow_check()
1662 for_each_set_bit_inv(bit, matrix_mdev->matrix.adm, AP_DOMAINS) { in ap_matrix_overflow_check()
1677 bitmap_copy(dst->aqm, src->aqm, AP_DOMAINS); in ap_matrix_copy()
1678 bitmap_copy(dst->adm, src->adm, AP_DOMAINS); in ap_matrix_copy()
1703 parse_bitmap(&rest, m_new.aqm, AP_DOMAINS) || in ap_config_store()
1704 parse_bitmap(&rest, m_new.adm, AP_DOMAINS)) { in ap_config_store()
1710 bitmap_andnot(m_removed.aqm, m_old.aqm, m_new.aqm, AP_DOMAINS); in ap_config_store()
1712 bitmap_andnot(m_added.aqm, m_new.aqm, m_old.aqm, AP_DOMAINS); in ap_config_store()
1744 for_each_set_bit_inv(newbit, m_added.aqm, AP_DOMAINS) in ap_config_store()
2381 !bitmap_empty(matrix_mdev->aqm_add, AP_DOMAINS)) in vfio_ap_mdev_probe_queue()
2501 if (!bitmap_empty(aqrem, AP_DOMAINS)) { in vfio_ap_mdev_hot_unplug_cfg()
2507 if (!bitmap_empty(cdrem, AP_DOMAINS)) in vfio_ap_mdev_hot_unplug_cfg()
2510 cdrem, AP_DOMAINS); in vfio_ap_mdev_hot_unplug_cfg()
2535 DECLARE_BITMAP(aqrem, AP_DOMAINS); in vfio_ap_mdev_cfg_remove()
2536 DECLARE_BITMAP(cdrem, AP_DOMAINS); in vfio_ap_mdev_cfg_remove()
2548 AP_DOMAINS); in vfio_ap_mdev_cfg_remove()
2551 AP_DOMAINS); in vfio_ap_mdev_cfg_remove()
2575 DECLARE_BITMAP(aqrem, AP_DOMAINS); in vfio_ap_mdev_on_cfg_remove()
2576 DECLARE_BITMAP(cdrem, AP_DOMAINS); in vfio_ap_mdev_on_cfg_remove()
2611 for_each_set_bit_inv(apqi, aqm, AP_DOMAINS) { in vfio_ap_filter_apid_by_qtype()
2686 matrix_mdev->matrix.aqm, aqm_add, AP_DOMAINS); in vfio_ap_mdev_cfg_add()
2708 DECLARE_BITMAP(aqm_add, AP_DOMAINS); in vfio_ap_mdev_on_cfg_add()
2709 DECLARE_BITMAP(adm_add, AP_DOMAINS); in vfio_ap_mdev_on_cfg_add()
2718 AP_DOMAINS); in vfio_ap_mdev_on_cfg_add()
2722 AP_DOMAINS); in vfio_ap_mdev_on_cfg_add()
2761 matrix_mdev->aqm_add, AP_DOMAINS); in vfio_ap_mdev_hot_plug_cfg()
2763 matrix_mdev->adm_add, AP_DOMAINS); in vfio_ap_mdev_hot_plug_cfg()
2789 bitmap_empty(matrix_mdev->aqm_add, AP_DOMAINS) && in vfio_ap_on_scan_complete()
2790 bitmap_empty(matrix_mdev->adm_add, AP_DOMAINS)) in vfio_ap_on_scan_complete()
2795 bitmap_clear(matrix_mdev->aqm_add, 0, AP_DOMAINS); in vfio_ap_on_scan_complete()
2796 bitmap_clear(matrix_mdev->adm_add, 0, AP_DOMAINS); in vfio_ap_on_scan_complete()