Lines Matching full:adm

665 					  matrix_mdev->shadow_apcb.adm);  in vfio_ap_mdev_update_guest_apcb()
675 bitmap_copy(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
676 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
677 (unsigned long *)matrix_dev->info.adm, AP_DOMAINS); in vfio_ap_mdev_filter_cdoms()
679 return !bitmap_equal(prev_shadow_adm, matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_filter_cdoms()
1457 * the corresponding bit in the mediated matrix device's ADM
1488 if (test_bit_inv(id, matrix_mdev->matrix.adm)) { in assign_control_domain_store()
1493 /* Set the bit in the ADM (bitmask) corresponding to the AP control in assign_control_domain_store()
1498 set_bit_inv(id, matrix_mdev->matrix.adm); in assign_control_domain_store()
1511 * clears the corresponding bit in the mediated matrix device's ADM
1542 if (!test_bit_inv(domid, matrix_mdev->matrix.adm)) { in unassign_control_domain_store()
1547 clear_bit_inv(domid, matrix_mdev->matrix.adm); in unassign_control_domain_store()
1549 if (test_bit_inv(domid, matrix_mdev->shadow_apcb.adm)) { in unassign_control_domain_store()
1550 clear_bit_inv(domid, matrix_mdev->shadow_apcb.adm); in unassign_control_domain_store()
1571 for_each_set_bit_inv(id, matrix_mdev->matrix.adm, max_domid + 1) in control_domains_show()
1650 idx += write_ap_bitmap(matrix_mdev->matrix.adm, buf, idx, '\n'); in ap_config_show()
1686 for_each_set_bit_inv(bit, matrix_mdev->matrix.adm, AP_DOMAINS) { in ap_matrix_overflow_check()
1702 bitmap_copy(dst->adm, src->adm, AP_DOMAINS); in ap_matrix_copy()
1728 parse_bitmap(&rest, m_new.adm, AP_DOMAINS)) { in ap_config_store()
2577 do_hotplug |= bitmap_andnot(matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2578 matrix_mdev->shadow_apcb.adm, in vfio_ap_mdev_hot_unplug_cfg()
2619 matrix_mdev->matrix.adm, in vfio_ap_mdev_cfg_remove()
2656 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2657 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_remove()
2757 matrix_mdev->matrix.adm, adm_add, AP_DEVICES); in vfio_ap_mdev_cfg_add()
2789 (unsigned long *)cur_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2790 (unsigned long *)prev_config_info->adm, in vfio_ap_mdev_on_cfg_add()
2831 filter_cdoms = bitmap_intersects(matrix_mdev->matrix.adm, in vfio_ap_mdev_hot_plug_cfg()