Searched refs:cmem (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/riscv/kernel/ |
D | elf_kexec.c | 124 struct crash_mem *cmem = arg; in prepare_elf64_ram_headers_callback() local 126 cmem->ranges[cmem->nr_ranges].start = res->start; in prepare_elf64_ram_headers_callback() 127 cmem->ranges[cmem->nr_ranges].end = res->end; in prepare_elf64_ram_headers_callback() 128 cmem->nr_ranges++; in prepare_elf64_ram_headers_callback() 135 struct crash_mem *cmem; in prepare_elf_headers() local 142 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL); in prepare_elf_headers() 143 if (!cmem) in prepare_elf_headers() 146 cmem->max_nr_ranges = nr_ranges; in prepare_elf_headers() 147 cmem->nr_ranges = 0; in prepare_elf_headers() 148 ret = walk_system_ram_res(0, -1, cmem, prepare_elf64_ram_headers_callback); in prepare_elf_headers() [all …]
|
/linux-6.1.9/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-6.1.9/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()
|