Searched refs:cmem (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/arch/x86/kernel/ |
D | crash.c | 203 struct crash_mem *cmem; in fill_up_crash_elf_data() local 214 cmem = vzalloc(struct_size(cmem, ranges, nr_ranges)); in fill_up_crash_elf_data() 215 if (!cmem) in fill_up_crash_elf_data() 218 cmem->max_nr_ranges = nr_ranges; in fill_up_crash_elf_data() 219 cmem->nr_ranges = 0; in fill_up_crash_elf_data() 221 return cmem; in fill_up_crash_elf_data() 228 static int elf_header_exclude_ranges(struct crash_mem *cmem) in elf_header_exclude_ranges() argument 233 ret = crash_exclude_mem_range(cmem, 0, (1<<20)-1); in elf_header_exclude_ranges() 238 ret = crash_exclude_mem_range(cmem, crashk_res.start, crashk_res.end); in elf_header_exclude_ranges() 243 ret = crash_exclude_mem_range(cmem, crashk_low_res.start, in elf_header_exclude_ranges() [all …]
|
/Linux-v5.10/arch/arm64/kernel/ |
D | machine_kexec_file.c | 211 struct crash_mem *cmem; in prepare_elf_headers() local 221 cmem = kmalloc(struct_size(cmem, ranges, nr_ranges), GFP_KERNEL); in prepare_elf_headers() 222 if (!cmem) in prepare_elf_headers() 225 cmem->max_nr_ranges = nr_ranges; in prepare_elf_headers() 226 cmem->nr_ranges = 0; in prepare_elf_headers() 228 cmem->ranges[cmem->nr_ranges].start = start; in prepare_elf_headers() 229 cmem->ranges[cmem->nr_ranges].end = end - 1; in prepare_elf_headers() 230 cmem->nr_ranges++; in prepare_elf_headers() 234 ret = crash_exclude_mem_range(cmem, crashk_res.start, crashk_res.end); in prepare_elf_headers() 237 ret = crash_prepare_elf64_headers(cmem, true, addr, sz); in prepare_elf_headers() [all …]
|
/Linux-v5.10/drivers/firmware/efi/ |
D | cper.c | 294 struct cper_mem_err_compact *cmem) in cper_mem_err_pack() argument 296 cmem->validation_bits = mem->validation_bits; in cper_mem_err_pack() 297 cmem->node = mem->node; in cper_mem_err_pack() 298 cmem->card = mem->card; in cper_mem_err_pack() 299 cmem->module = mem->module; in cper_mem_err_pack() 300 cmem->bank = mem->bank; in cper_mem_err_pack() 301 cmem->device = mem->device; in cper_mem_err_pack() 302 cmem->row = mem->row; in cper_mem_err_pack() 303 cmem->column = mem->column; in cper_mem_err_pack() 304 cmem->bit_pos = mem->bit_pos; in cper_mem_err_pack() [all …]
|
/Linux-v5.10/arch/powerpc/kexec/ |
D | file_load_64.c | 788 struct crash_mem *cmem = NULL; in load_elfcorehdr_segment() local 793 ret = get_crash_memory_ranges(&cmem); in load_elfcorehdr_segment() 798 ret = crash_prepare_elf64_headers(cmem, false, &headers, &headers_sz); in load_elfcorehdr_segment() 822 kfree(cmem); in load_elfcorehdr_segment()
|