• Home
  • Raw
  • Download

Lines Matching refs:rmrr

334 #define for_each_rmrr_units(rmrr) \  argument
335 list_for_each_entry(rmrr, &dmar_rmrr_units, list)
2736 struct dmar_rmrr_unit *rmrr; in si_domain_init() local
2770 for_each_rmrr_units(rmrr) { in si_domain_init()
2771 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt, in si_domain_init()
2773 unsigned long long start = rmrr->base_address; in si_domain_init()
2774 unsigned long long end = rmrr->end_address; in si_domain_init()
2822 struct dmar_rmrr_unit *rmrr; in device_has_rmrr() local
2827 for_each_rmrr_units(rmrr) { in device_has_rmrr()
2832 for_each_active_dev_scope(rmrr->devices, in device_has_rmrr()
2833 rmrr->devices_cnt, i, tmp) in device_has_rmrr()
3414 struct dmar_rmrr_unit *rmrr; in get_private_domain_for_dev() local
3429 for_each_rmrr_units(rmrr) { in get_private_domain_for_dev()
3430 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt, in get_private_domain_for_dev()
3436 rmrr->base_address, in get_private_domain_for_dev()
3437 rmrr->end_address); in get_private_domain_for_dev()
4315 struct acpi_dmar_reserved_memory *rmrr; in dmar_parse_one_rmrr() local
4323 rmrr = (struct acpi_dmar_reserved_memory *)header; in dmar_parse_one_rmrr()
4324 rmrru->base_address = rmrr->base_address; in dmar_parse_one_rmrr()
4325 rmrru->end_address = rmrr->end_address; in dmar_parse_one_rmrr()
4327 rmrru->devices = dmar_alloc_dev_scope((void *)(rmrr + 1), in dmar_parse_one_rmrr()
4328 ((void *)rmrr) + rmrr->header.length, in dmar_parse_one_rmrr()
4612 struct acpi_dmar_reserved_memory *rmrr; in dmar_iommu_notify_scope_dev() local
4618 rmrr = container_of(rmrru->hdr, in dmar_iommu_notify_scope_dev()
4621 ret = dmar_insert_dev_scope(info, (void *)(rmrr + 1), in dmar_iommu_notify_scope_dev()
4622 ((void *)rmrr) + rmrr->header.length, in dmar_iommu_notify_scope_dev()
4623 rmrr->segment, rmrru->devices, in dmar_iommu_notify_scope_dev()
4628 dmar_remove_dev_scope(info, rmrr->segment, in dmar_iommu_notify_scope_dev()
5672 struct dmar_rmrr_unit *rmrr; in intel_iommu_get_resv_regions() local
5677 for_each_rmrr_units(rmrr) { in intel_iommu_get_resv_regions()
5678 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt, in intel_iommu_get_resv_regions()
5688 length = rmrr->end_address - rmrr->base_address + 1; in intel_iommu_get_resv_regions()
5693 resv = iommu_alloc_resv_region(rmrr->base_address, in intel_iommu_get_resv_regions()