Home
last modified time | relevance | path

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

/kernel/
Dkexec_elf.c203 struct kexec_elf_info *elf_info, in elf_read_phdr() argument
207 struct elf_phdr *phdr = (struct elf_phdr *) &elf_info->proghdrs[idx]; in elf_read_phdr()
208 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdr()
212 pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); in elf_read_phdr()
215 phdr->p_type = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_type); in elf_read_phdr()
216 phdr->p_flags = elf32_to_cpu(elf_info->ehdr, buf_phdr->p_flags); in elf_read_phdr()
252 struct kexec_elf_info *elf_info) in elf_read_phdrs() argument
255 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdrs()
263 elf_info->proghdrs = kzalloc(phdr_size, GFP_KERNEL); in elf_read_phdrs()
264 if (!elf_info->proghdrs) in elf_read_phdrs()
[all …]