Searched refs:elf_phdr (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | binfmt_elf.c | 250 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_tables() 349 const struct elf_phdr *eppnt, int prot, int type, in elf_map() 389 static unsigned long total_mapping_size(const struct elf_phdr *cmds, int nr) in total_mapping_size() 416 static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, in load_elf_phdrs() 419 struct elf_phdr *elf_phdata = NULL; in load_elf_phdrs() 428 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs() 433 size = sizeof(struct elf_phdr) * elf_ex->e_phnum; in load_elf_phdrs() 495 struct elf_phdr *phdr, in arch_elf_pt_proc() 548 unsigned long no_base, struct elf_phdr *interp_elf_phdata) in load_elf_interp() 550 struct elf_phdr *eppnt; in load_elf_interp() [all …]
|
D | compat_binfmt_elf.c | 27 #undef elf_phdr 32 #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() 647 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_fdpic_tables() 799 stop += params->hdr.e_phnum * sizeof (struct elf_phdr); in elf_fdpic_map_file() 1307 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header() 1315 static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) in fill_elf_note_phdr() 1570 struct elf_phdr *phdr4note = NULL; in elf_fdpic_core_dump() 1685 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() 351 .e_phentsize = sizeof(struct elf_phdr), in read_kcore() 368 struct elf_phdr *phdrs, *phdr; in read_kcore()
|