Lines Matching refs:adm
647 matrix_mdev->shadow_apcb.adm); in vfio_ap_mdev_update_guest_apcb()
654 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
655 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
656 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
658 return !bitmap_equal(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_filter_cdoms()
1446 if (test_bit_inv(id, matrix_mdev->matrix.adm)) { in assign_control_domain_store()
1456 set_bit_inv(id, matrix_mdev->matrix.adm); in assign_control_domain_store()
1500 if (!test_bit_inv(domid, matrix_mdev->matrix.adm)) { in unassign_control_domain_store()
1505 clear_bit_inv(domid, matrix_mdev->matrix.adm); in unassign_control_domain_store()
1507 if (test_bit_inv(domid, matrix_mdev->shadow_apcb.adm)) { in unassign_control_domain_store()
1508 clear_bit_inv(domid, matrix_mdev->shadow_apcb.adm); in unassign_control_domain_store()
1531 for_each_set_bit_inv(id, matrix_mdev->matrix.adm, max_domid + 1) { in control_domains_show()
1626 idx += write_ap_bitmap(matrix_mdev->matrix.adm, buf, idx, '\n'); in ap_config_show()
1662 for_each_set_bit_inv(bit, matrix_mdev->matrix.adm, AP_DOMAINS) { in ap_matrix_overflow_check()
1678 bitmap_copy(dst->adm, src->adm, AP_DOMAINS); in ap_matrix_copy()
1704 parse_bitmap(&rest, m_new.adm, AP_DOMAINS)) { in ap_config_store()
2508 do_hotplug |= bitmap_andnot(matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2509 matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2550 matrix_mdev->matrix.adm, in vfio_ap_mdev_cfg_remove()
2587 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2588 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2688 matrix_mdev->matrix.adm, adm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2720 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2721 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2762 filter_cdoms = bitmap_intersects(matrix_mdev->matrix.adm, in vfio_ap_mdev_hot_plug_cfg()