Searched refs:ram_res (Results 1 – 1 of 1) sorted by relevance
1004 struct resource *ram_res; in crash_shrink_memory() local1020 ram_res = kzalloc(sizeof(*ram_res), GFP_KERNEL); in crash_shrink_memory()1021 if (!ram_res) { in crash_shrink_memory()1034 ram_res->start = end; in crash_shrink_memory()1035 ram_res->end = crashk_res.end; in crash_shrink_memory()1036 ram_res->flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM; in crash_shrink_memory()1037 ram_res->name = "System RAM"; in crash_shrink_memory()1041 insert_resource(&iomem_resource, ram_res); in crash_shrink_memory()