Searched refs:phdrs (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/x86/boot/compressed/
H A Dmisc.c322 Elf64_Phdr *phdrs, *phdr; parse_elf() local
325 Elf32_Phdr *phdrs, *phdr; parse_elf()
341 phdrs = malloc(sizeof(*phdrs) * ehdr.e_phnum); parse_elf()
342 if (!phdrs) parse_elf()
343 error("Failed to allocate space for phdrs"); parse_elf()
345 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); parse_elf()
348 phdr = &phdrs[i]; parse_elf()
366 free(phdrs); parse_elf()
/linux-4.1.27/arch/x86/um/
H A Delfcore.c33 phdr.p_paddr = 0; /* match other core phdrs */ elf_core_write_extra_phdrs()
/linux-4.1.27/arch/ia64/kernel/
H A Delfcore.c36 phdr.p_paddr = 0; /* match other core phdrs */ elf_core_write_extra_phdrs()
/linux-4.1.27/include/linux/
H A Delf-fdpic.h22 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ member in struct:elf_fdpic_params
/linux-4.1.27/fs/
H A Dbinfmt_elf_fdpic.c136 params->phdrs = kmalloc(size, GFP_KERNEL); elf_fdpic_fetch_phdrs()
137 if (!params->phdrs) elf_fdpic_fetch_phdrs()
141 (char *) params->phdrs, size); elf_fdpic_fetch_phdrs()
146 phdr = params->phdrs; elf_fdpic_fetch_phdrs()
203 phdr = exec_params.phdrs; load_elf_fdpic_binary()
445 kfree(exec_params.phdrs); load_elf_fdpic_binary()
447 kfree(interp_params.phdrs); load_elf_fdpic_binary()
749 if (params->phdrs[loop].p_type == PT_LOAD) elf_fdpic_map_file()
802 phdr = params->phdrs; elf_fdpic_map_file()
828 phdr = params->phdrs; elf_fdpic_map_file()
928 phdr = params->phdrs; elf_fdpic_map_file_constdisp_on_uclinux()
930 if (params->phdrs[loop].p_type != PT_LOAD) elf_fdpic_map_file_constdisp_on_uclinux()
953 phdr = params->phdrs; elf_fdpic_map_file_constdisp_on_uclinux()
955 if (params->phdrs[loop].p_type != PT_LOAD) elf_fdpic_map_file_constdisp_on_uclinux()
1018 phdr = params->phdrs; elf_fdpic_map_file_by_direct_mmap()
H A Dbinfmt_elf.c1685 static int fill_note_info(struct elfhdr *elf, int phdrs, fill_note_info() argument
1728 fill_elf_header(elf, phdrs, fill_note_info()
1934 static int fill_note_info(struct elfhdr *elf, int phdrs, fill_note_info() argument
1968 fill_elf_header(elf, phdrs, ELF_ARCH, ELF_CORE_EFLAGS); fill_note_info()

Completed in 158 milliseconds