Searched refs:mem_chunk_cnt (Results 1 – 1 of 1) sorted by relevance
512 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument526 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()605 static size_t get_elfcorehdr_size(int mem_chunk_cnt) in get_elfcorehdr_size() argument621 size += mem_chunk_cnt * sizeof(Elf64_Phdr); in get_elfcorehdr_size()632 int mem_chunk_cnt; in elfcorehdr_alloc() local651 mem_chunk_cnt = get_mem_chunk_cnt(); in elfcorehdr_alloc()653 alloc_size = get_elfcorehdr_size(mem_chunk_cnt); in elfcorehdr_alloc()665 ptr = ehdr_init(hdr, mem_chunk_cnt); in elfcorehdr_alloc()670 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()