Searched refs:ram_res (Results 1 – 1 of 1) sorted by relevance
360 struct resource *ram_res; in __crash_shrink_memory() local362 ram_res = kzalloc(sizeof(*ram_res), GFP_KERNEL); in __crash_shrink_memory()363 if (!ram_res) in __crash_shrink_memory()366 ram_res->start = old_res->start + new_size; in __crash_shrink_memory()367 ram_res->end = old_res->end; in __crash_shrink_memory()368 ram_res->flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM; in __crash_shrink_memory()369 ram_res->name = "System RAM"; in __crash_shrink_memory()376 old_res->end = ram_res->start - 1; in __crash_shrink_memory()379 crash_free_reserved_phys_range(ram_res->start, ram_res->end); in __crash_shrink_memory()380 insert_resource(&iomem_resource, ram_res); in __crash_shrink_memory()