Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A Dkexec_file.c876 size_t sechdrs_size; in kexec_purgatory_setup_sechdrs() local
884 sechdrs_size = array_size(sizeof(Elf_Shdr), pi->ehdr->e_shnum); in kexec_purgatory_setup_sechdrs()
885 sechdrs = vzalloc(sechdrs_size); in kexec_purgatory_setup_sechdrs()
888 memcpy(sechdrs, (void *)pi->ehdr + pi->ehdr->e_shoff, sechdrs_size); in kexec_purgatory_setup_sechdrs()