Home
last modified time | relevance | path

Searched refs:mem_chunk_cnt (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/arch/s390/kernel/
Dcrash_dump.c512 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument
526 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()
603 static size_t get_elfcorehdr_size(int mem_chunk_cnt) in get_elfcorehdr_size() argument
619 size += mem_chunk_cnt * sizeof(Elf64_Phdr); in get_elfcorehdr_size()
630 int mem_chunk_cnt; in elfcorehdr_alloc() local
649 mem_chunk_cnt = get_mem_chunk_cnt(); in elfcorehdr_alloc()
651 alloc_size = get_elfcorehdr_size(mem_chunk_cnt); in elfcorehdr_alloc()
663 ptr = ehdr_init(hdr, mem_chunk_cnt); in elfcorehdr_alloc()
668 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()