mem_chunk_cnt 512 arch/s390/kernel/crash_dump.c static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) mem_chunk_cnt 526 arch/s390/kernel/crash_dump.c ehdr->e_phnum = mem_chunk_cnt + 1; mem_chunk_cnt 605 arch/s390/kernel/crash_dump.c static size_t get_elfcorehdr_size(int mem_chunk_cnt) mem_chunk_cnt 621 arch/s390/kernel/crash_dump.c size += mem_chunk_cnt * sizeof(Elf64_Phdr); mem_chunk_cnt 632 arch/s390/kernel/crash_dump.c int mem_chunk_cnt; mem_chunk_cnt 651 arch/s390/kernel/crash_dump.c mem_chunk_cnt = get_mem_chunk_cnt(); mem_chunk_cnt 653 arch/s390/kernel/crash_dump.c alloc_size = get_elfcorehdr_size(mem_chunk_cnt); mem_chunk_cnt 665 arch/s390/kernel/crash_dump.c ptr = ehdr_init(hdr, mem_chunk_cnt); mem_chunk_cnt 670 arch/s390/kernel/crash_dump.c ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt);