Home
last modified time | relevance | path

Searched refs:ram_res (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/kernel/
H A Dcrash_core.c339 struct resource *ram_res; in __crash_shrink_memory() local
341 ram_res = kzalloc(sizeof(*ram_res), GFP_KERNEL); in __crash_shrink_memory()
342 if (!ram_res) in __crash_shrink_memory()
345 ram_res->start = old_res->start + new_size; in __crash_shrink_memory()
346 ram_res->end = old_res->end; in __crash_shrink_memory()
347 ram_res->flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM; in __crash_shrink_memory()
348 ram_res->name = "System RAM"; in __crash_shrink_memory()
355 crashk_res.end = ram_res->start - 1; in __crash_shrink_memory()
358 crash_free_reserved_phys_range(ram_res->start, ram_res->end); in __crash_shrink_memory()
359 insert_resource(&iomem_resource, ram_res); in __crash_shrink_memory()