Searched refs:elf_phdr (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | binfmt_elf.c | 260 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_tables() 361 const struct elf_phdr *eppnt, int prot, int type, in elf_map() 399 static unsigned long total_mapping_size(const struct elf_phdr *cmds, int nr) in total_mapping_size() 428 static unsigned long maximum_alignment(struct elf_phdr *cmds, int nr) in maximum_alignment() 457 static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, in load_elf_phdrs() 460 struct elf_phdr *elf_phdata = NULL; in load_elf_phdrs() 468 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs() 473 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs() 535 struct elf_phdr *phdr, in arch_elf_pt_proc() 590 unsigned long no_base, struct elf_phdr *interp_elf_phdata, in load_elf_interp() [all …]
|
D | compat_binfmt_elf.c | 29 #undef elf_phdr 35 #define elf_phdr elf32_phdr macro
|
D | binfmt_elf_fdpic.c | 146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs() 148 if (params->hdr.e_phnum > 65536U / sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs() 151 size = params->hdr.e_phnum * sizeof(struct elf_phdr); in elf_fdpic_fetch_phdrs() 186 struct elf_phdr *phdr; in load_elf_fdpic_binary() 648 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_fdpic_tables() 805 stop += params->hdr.e_phnum * sizeof (struct elf_phdr); in elf_fdpic_map_file() 1269 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header() 1277 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() 1491 struct elf_phdr *phdr4note = NULL; in elf_fdpic_core_dump() 1562 offset += segs * sizeof(struct elf_phdr); /* Program headers */ in elf_fdpic_core_dump() [all …]
|
/fs/proc/ |
D | kcore.c | 107 *phdrs_len = *nphdr * sizeof(struct elf_phdr); in get_kcore_size() 349 .e_phentsize = sizeof(struct elf_phdr), in read_kcore() 366 struct elf_phdr *phdrs, *phdr; in read_kcore()
|