Lines Matching refs:adm
608 matrix_mdev->shadow_apcb.adm); in vfio_ap_mdev_update_guest_apcb()
615 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
616 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
617 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
619 return !bitmap_equal(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_filter_cdoms()
1311 if (test_bit_inv(id, matrix_mdev->matrix.adm)) { in assign_control_domain_store()
1321 set_bit_inv(id, matrix_mdev->matrix.adm); in assign_control_domain_store()
1365 if (!test_bit_inv(domid, matrix_mdev->matrix.adm)) { in unassign_control_domain_store()
1370 clear_bit_inv(domid, matrix_mdev->matrix.adm); in unassign_control_domain_store()
1372 if (test_bit_inv(domid, matrix_mdev->shadow_apcb.adm)) { in unassign_control_domain_store()
1373 clear_bit_inv(domid, matrix_mdev->shadow_apcb.adm); in unassign_control_domain_store()
1396 for_each_set_bit_inv(id, matrix_mdev->matrix.adm, max_domid + 1) { in control_domains_show()
1960 do_hotplug |= bitmap_andnot(matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
1961 matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2002 matrix_mdev->matrix.adm, in vfio_ap_mdev_cfg_remove()
2039 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2040 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2142 matrix_mdev->matrix.adm, adm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2174 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2175 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2232 if (bitmap_intersects(matrix_mdev->matrix.adm, matrix_mdev->adm_add, in vfio_ap_mdev_hot_plug_cfg()