Searched refs:mem_chunk_cnt (Results 1 – 1 of 1) sorted by relevance
467 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument481 ehdr->e_phnum = mem_chunk_cnt + 1; in ehdr_init()568 int mem_chunk_cnt; in elfcorehdr_alloc() local590 mem_chunk_cnt = get_mem_chunk_cnt(); in elfcorehdr_alloc()593 mem_chunk_cnt * sizeof(Elf64_Phdr); in elfcorehdr_alloc()596 ptr = ehdr_init(hdr, mem_chunk_cnt); in elfcorehdr_alloc()601 ptr = PTR_ADD(ptr, sizeof(Elf64_Phdr) * mem_chunk_cnt); in elfcorehdr_alloc()