Searched refs:cmem (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/arch/x86/kernel/ |
D | crash.c | 190 struct crash_mem *cmem; in fill_up_crash_elf_data() local 201 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in fill_up_crash_elf_data() 202 if (!cmem) in fill_up_crash_elf_data() 205 cmem->max_nr_ranges = nr_ranges; in fill_up_crash_elf_data() 206 cmem->nr_ranges = 0; in fill_up_crash_elf_data() 208 return cmem; in fill_up_crash_elf_data() 215 static int elf_header_exclude_ranges(struct crash_mem *cmem) in elf_header_exclude_ranges() argument 220 ret = crash_exclude_mem_range(cmem, 0, (1<<20)-1); in elf_header_exclude_ranges() 225 ret = crash_exclude_mem_range(cmem, crashk_res.start, crashk_res.end); in elf_header_exclude_ranges() 230 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges() [all …]
|
/linux-5.19.10/arch/arm64/kernel/ |
D | machine_kexec_file.c | 44 struct crash_mem *cmem; in prepare_elf_headers() local 54 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL); in prepare_elf_headers() 55 if (!cmem) in prepare_elf_headers() 58 cmem->max_nr_ranges = nr_ranges; in prepare_elf_headers() 59 cmem->nr_ranges = 0; in prepare_elf_headers() 61 cmem->ranges[cmem->nr_ranges].start = start; in prepare_elf_headers() 62 cmem->ranges[cmem->nr_ranges].end = end - 1; in prepare_elf_headers() 63 cmem->nr_ranges++; in prepare_elf_headers() 67 ret = crash_exclude_mem_range(cmem, crashk_res.start, crashk_res.end); in prepare_elf_headers() 72 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, crashk_low_res.end); in prepare_elf_headers() [all …]
|
/linux-5.19.10/drivers/firmware/efi/ |
D | cper.c | 315 struct cper_mem_err_compact *cmem) in cper_mem_err_pack() argument 317 cmem->validation_bits = mem->validation_bits; in cper_mem_err_pack() 318 cmem->node = mem->node; in cper_mem_err_pack() 319 cmem->card = mem->card; in cper_mem_err_pack() 320 cmem->module = mem->module; in cper_mem_err_pack() 321 cmem->bank = mem->bank; in cper_mem_err_pack() 322 cmem->device = mem->device; in cper_mem_err_pack() 323 cmem->row = mem->row; in cper_mem_err_pack() 324 cmem->column = mem->column; in cper_mem_err_pack() 325 cmem->bit_pos = mem->bit_pos; in cper_mem_err_pack() [all …]
|
/linux-5.19.10/arch/riscv/kernel/ |
D | elf_kexec.c | 112 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback() local 114 cmem->ranges[cmem->nr_ranges].start = res->start; in prepare_elf64_ram_headers_callback() 115 cmem->ranges[cmem->nr_ranges].end = res->end; in prepare_elf64_ram_headers_callback() 116 cmem->nr_ranges++; in prepare_elf64_ram_headers_callback() 123 struct crash_mem *cmem; in prepare_elf_headers() local 130 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL); in prepare_elf_headers() 131 if (!cmem) in prepare_elf_headers() 134 cmem->max_nr_ranges = nr_ranges; in prepare_elf_headers() 135 cmem->nr_ranges = 0; in prepare_elf_headers() 136 ret = walk_system_ram_res(0, -1, cmem, prepare_elf64_ram_headers_callback); in prepare_elf_headers() [all …]
|
/linux-5.19.10/drivers/edac/ |
D | ghes_edac.c | 272 struct cper_mem_err_compact cmem; in ghes_edac_report_mem_error() local 348 cper_mem_err_pack(mem_err, &cmem); in ghes_edac_report_mem_error() 349 p += cper_mem_err_location(&cmem, p); in ghes_edac_report_mem_error() 354 p += cper_dimm_err_location(&cmem, p); in ghes_edac_report_mem_error()
|
/linux-5.19.10/arch/powerpc/kexec/ |
D | file_load_64.c | 791 struct crash_mem *cmem = NULL; in load_elfcorehdr_segment() local 796 ret = get_crash_memory_ranges(&cmem); in load_elfcorehdr_segment() 801 ret = crash_prepare_elf64_headers(cmem, false, &headers, &headers_sz); in load_elfcorehdr_segment() 825 kfree(cmem); in load_elfcorehdr_segment()
|