Searched refs:elf_phdr (Results 1 - 11 of 11) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/boot/
H A Dbootloader.c81 struct elf_phdr *elf_phdr; /* program header */ local
157 req.len = sizeof(*elf_phdr);
161 if (stat.count != sizeof(*elf_phdr)) {
165 e_phoff += sizeof(*elf_phdr);
167 elf_phdr = (struct elf_phdr *) mem;
169 if (elf_phdr->p_type != PT_LOAD)
172 req.len = elf_phdr->p_filesz;
173 req.addr = __pa(elf_phdr
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/boot/tools/
H A Dobjstrip.c60 struct elf_phdr *elf_phdr; /* program header */ local
169 if (read(fd, buf, sizeof(*elf_phdr)) != sizeof(*elf_phdr)) {
174 elf_phdr = (struct elf_phdr *) buf;
175 offset = elf_phdr->p_offset;
176 mem_size = elf_phdr->p_memsz;
177 fil_size = elf_phdr->p_filesz;
180 if (elf_phdr
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/proc/
H A Dkcore.c134 (*num_vma + 2)*sizeof(struct elf_phdr) +
190 struct elf_phdr *nhdr, *phdr;
213 elf->e_phentsize= sizeof(struct elf_phdr);
220 nhdr = (struct elf_phdr *) bufp;
221 bufp += sizeof(struct elf_phdr);
222 offset += sizeof(struct elf_phdr);
234 phdr = (struct elf_phdr *) bufp;
235 bufp += sizeof(struct elf_phdr);
236 offset += sizeof(struct elf_phdr);
250 phdr = (struct elf_phdr *) buf
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dirixelf.c102 static void print_phdr(int i, struct elf_phdr *ep)
114 static void dump_phdrs(struct elf_phdr *ep, int pnum)
156 struct pt_regs *regs, struct elf_phdr *ephdr)
191 NEW_AUX_ENT (1, AT_PHENT, sizeof (struct elf_phdr));
236 struct elf_phdr *elf_phdata = NULL;
237 struct elf_phdr *eppnt;
265 if(sizeof(struct elf_phdr) * interp_elf_ex->e_phnum > PAGE_SIZE) {
267 (sizeof(struct elf_phdr) * interp_elf_ex->e_phnum));
271 elf_phdata = (struct elf_phdr *)
272 kmalloc(sizeof(struct elf_phdr) * interp_elf_e
[all...]
H A Dsysirix.c230 extern unsigned long irix_mapelf(int fd, struct elf_phdr *user_phdrp, int cnt);
390 (struct elf_phdr *) regs->regs[base + 6],
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/
H A Dbinfmt_elf.c47 static unsigned long elf_map (struct file *, unsigned long, struct elf_phdr *, int, int);
190 NEW_AUX_ENT( 4, AT_PHENT, sizeof (struct elf_phdr));
243 elf_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)
266 struct elf_phdr *elf_phdata;
267 struct elf_phdr *eppnt;
287 if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr))
289 if (interp_elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr))
294 size = sizeof(struct elf_phdr) * interp_elf_ex->e_phnum;
297 elf_phdata = (struct elf_phdr *) kmalloc(size, GFP_KERNEL);
436 struct elf_phdr * elf_ppn
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/
H A Dbinfmt_elf32.c190 elf_map32 (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/ia32/
H A Dia32_binfmt.c24 struct elf_phdr;
264 elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Delf.h603 #define elf_phdr elf32_phdr macro
610 #define elf_phdr elf64_phdr macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Delf.h603 #define elf_phdr elf32_phdr macro
610 #define elf_phdr elf64_phdr macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ia64/ia32/
H A Dbinfmt_elf32.c217 elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)

Completed in 94 milliseconds