Home
last modified time | relevance | path

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

/Linux-v6.6/arch/s390/kernel/
Dcrash_dump.c453 static void *ehdr_init(Elf64_Ehdr *ehdr, int mem_chunk_cnt) in ehdr_init() argument
467 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() argument
560 size += mem_chunk_cnt * sizeof(Elf64_Phdr); in get_elfcorehdr_size()
572 int mem_chunk_cnt; in elfcorehdr_alloc() local
590 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()