Searched refs:ram_res (Results 1 – 1 of 1) sorted by relevance
1026 struct resource *ram_res; in crash_shrink_memory() local1044 ram_res = kzalloc(sizeof(*ram_res), GFP_KERNEL); in crash_shrink_memory()1045 if (!ram_res) { in crash_shrink_memory()1056 ram_res->start = end; in crash_shrink_memory()1057 ram_res->end = crashk_res.end; in crash_shrink_memory()1058 ram_res->flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM; in crash_shrink_memory()1059 ram_res->name = "System RAM"; in crash_shrink_memory()1063 insert_resource(&iomem_resource, ram_res); in crash_shrink_memory()