Searched refs:mem_chunk_cnt (Results 1 – 1 of 1) sorted by relevance
501 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument515 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()600 int mem_chunk_cnt; in elfcorehdr_alloc() local622 mem_chunk_cnt = get_mem_chunk_cnt(); in elfcorehdr_alloc()625 mem_chunk_cnt * sizeof(Elf64_Phdr); in elfcorehdr_alloc()628 ptr = ehdr_init(hdr, mem_chunk_cnt); in elfcorehdr_alloc()633 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()