Lines Matching refs:cmd
248 struct crash_memmap_data *cmd = arg; in memmap_entry_callback() local
249 struct boot_params *params = cmd->params; in memmap_entry_callback()
254 ei.type = cmd->type; in memmap_entry_callback()
282 struct crash_memmap_data cmd; in crash_setup_memmap_entries() local
289 memset(&cmd, 0, sizeof(struct crash_memmap_data)); in crash_setup_memmap_entries()
290 cmd.params = params; in crash_setup_memmap_entries()
293 cmd.type = E820_TYPE_RAM; in crash_setup_memmap_entries()
295 walk_iomem_res_desc(IORES_DESC_NONE, flags, 0, (1<<20)-1, &cmd, in crash_setup_memmap_entries()
299 cmd.type = E820_TYPE_ACPI; in crash_setup_memmap_entries()
301 walk_iomem_res_desc(IORES_DESC_ACPI_TABLES, flags, 0, -1, &cmd, in crash_setup_memmap_entries()
305 cmd.type = E820_TYPE_NVS; in crash_setup_memmap_entries()
306 walk_iomem_res_desc(IORES_DESC_ACPI_NV_STORAGE, flags, 0, -1, &cmd, in crash_setup_memmap_entries()
310 cmd.type = E820_TYPE_RESERVED; in crash_setup_memmap_entries()
312 walk_iomem_res_desc(IORES_DESC_RESERVED, flags, 0, -1, &cmd, in crash_setup_memmap_entries()