Lines Matching refs:rmrr

253 	struct list_head list;		/* list of rmrr units	*/
282 #define for_each_rmrr_units(rmrr) \
283 list_for_each_entry(rmrr, &dmar_rmrr_units, list)
2390 struct dmar_rmrr_unit *rmrr;
2424 for_each_rmrr_units(rmrr) {
2425 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
2427 unsigned long long start = rmrr->base_address;
2428 unsigned long long end = rmrr->end_address;
3070 static int __init rmrr_sanity_check(struct acpi_dmar_reserved_memory *rmrr)
3072 if (!IS_ALIGNED(rmrr->base_address, PAGE_SIZE) ||
3073 !IS_ALIGNED(rmrr->end_address + 1, PAGE_SIZE) ||
3074 rmrr->end_address <= rmrr->base_address ||
3075 arch_rmrr_sanity_check(rmrr))
3083 struct acpi_dmar_reserved_memory *rmrr;
3086 rmrr = (struct acpi_dmar_reserved_memory *)header;
3087 if (rmrr_sanity_check(rmrr)) {
3091 rmrr->base_address, rmrr->end_address,
3104 rmrru->base_address = rmrr->base_address;
3105 rmrru->end_address = rmrr->end_address;
3107 rmrru->devices = dmar_alloc_dev_scope((void *)(rmrr + 1),
3108 ((void *)rmrr) + rmrr->header.length,
3477 struct acpi_dmar_reserved_memory *rmrr;
3484 rmrr = container_of(rmrru->hdr,
3487 ret = dmar_insert_dev_scope(info, (void *)(rmrr + 1),
3488 ((void *)rmrr) + rmrr->header.length,
3489 rmrr->segment, rmrru->devices,
3494 dmar_remove_dev_scope(info, rmrr->segment,
4441 struct dmar_rmrr_unit *rmrr;
4446 for_each_rmrr_units(rmrr) {
4447 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
4457 length = rmrr->end_address - rmrr->base_address + 1;
4462 resv = iommu_alloc_resv_region(rmrr->base_address,