Searched refs:mem_chunk_cnt (Results 1 – 1 of 1) sorted by relevance
453 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument467 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()544 static size_t get_elfcorehdr_size(int mem_chunk_cnt) in get_elfcorehdr_size() argument560 size += mem_chunk_cnt * sizeof(Elf64_Phdr); in get_elfcorehdr_size()572 int mem_chunk_cnt; in elfcorehdr_alloc() local590 mem_chunk_cnt = get_mem_chunk_cnt(); in elfcorehdr_alloc()592 alloc_size = get_elfcorehdr_size(mem_chunk_cnt); in elfcorehdr_alloc()604 ptr = ehdr_init(hdr, mem_chunk_cnt); in elfcorehdr_alloc()609 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()