Lines Matching full:adm

659 					  matrix_mdev->shadow_apcb.adm);  in vfio_ap_mdev_update_guest_apcb()
666 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
667 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
668 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
670 return !bitmap_equal(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_filter_cdoms()
1427 * the corresponding bit in the mediated matrix device's ADM
1458 if (test_bit_inv(id, matrix_mdev->matrix.adm)) { in assign_control_domain_store()
1463 /* Set the bit in the ADM (bitmask) corresponding to the AP control in assign_control_domain_store()
1468 set_bit_inv(id, matrix_mdev->matrix.adm); in assign_control_domain_store()
1481 * clears the corresponding bit in the mediated matrix device's ADM
1512 if (!test_bit_inv(domid, matrix_mdev->matrix.adm)) { in unassign_control_domain_store()
1517 clear_bit_inv(domid, matrix_mdev->matrix.adm); in unassign_control_domain_store()
1519 if (test_bit_inv(domid, matrix_mdev->shadow_apcb.adm)) { in unassign_control_domain_store()
1520 clear_bit_inv(domid, matrix_mdev->shadow_apcb.adm); in unassign_control_domain_store()
1541 for_each_set_bit_inv(id, matrix_mdev->matrix.adm, max_domid + 1) in control_domains_show()
1620 idx += write_ap_bitmap(matrix_mdev->matrix.adm, buf, idx, '\n'); in ap_config_show()
1656 for_each_set_bit_inv(bit, matrix_mdev->matrix.adm, AP_DOMAINS) { in ap_matrix_overflow_check()
1672 bitmap_copy(dst->adm, src->adm, AP_DOMAINS); in ap_matrix_copy()
1698 parse_bitmap(&rest, m_new.adm, AP_DOMAINS)) { in ap_config_store()
2499 do_hotplug |= bitmap_andnot(matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2500 matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2541 matrix_mdev->matrix.adm, in vfio_ap_mdev_cfg_remove()
2578 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2579 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2679 matrix_mdev->matrix.adm, adm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2711 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2712 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2753 filter_cdoms = bitmap_intersects(matrix_mdev->matrix.adm, in vfio_ap_mdev_hot_plug_cfg()