Searched refs:ram_res (Results 1 – 1 of 1) sorted by relevance
1011 struct resource *ram_res; in crash_shrink_memory() local1027 ram_res = kzalloc(sizeof(*ram_res), GFP_KERNEL); in crash_shrink_memory()1028 if (!ram_res) { in crash_shrink_memory()1041 ram_res->start = end; in crash_shrink_memory()1042 ram_res->end = crashk_res.end; in crash_shrink_memory()1043 ram_res->flags = IORESOURCE_BUSY | IORESOURCE_SYSTEM_RAM; in crash_shrink_memory()1044 ram_res->name = "System RAM"; in crash_shrink_memory()1048 insert_resource(&iomem_resource, ram_res); in crash_shrink_memory()