Home
last modified time | relevance | path

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

/linux/fs/proc/
H A Dkcore.c131 kcore_data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + kcore_phdrs_len + in update_kcore_size()
345 phdrs_offset = sizeof(struct elfhdr); in read_kcore_iter()
349 if (buflen && *fpos < sizeof(struct elfhdr)) { in read_kcore_iter()
350 struct elfhdr ehdr = { in read_kcore_iter()
364 .e_phoff = sizeof(struct elfhdr), in read_kcore_iter()
366 .e_ehsize = sizeof(struct elfhdr), in read_kcore_iter()
371 tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos); in read_kcore_iter()
/linux/include/linux/
H A Delf.h41 #define elfhdr elf32_hdr macro
53 #define elfhdr elf64_hdr macro
H A Dkexec.h324 const struct elfhdr *ehdr;
328 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr,
331 int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr,
H A Delf-fdpic.h29 struct elfhdr hdr; /* ref copy of ELF header */
/linux/arch/alpha/boot/tools/
H A Dobjstrip.c31 # define elfhdr elf64_hdr macro
61 struct elfhdr *elf; in main()
149 elf = (struct elfhdr *) buf; in main()
/linux/arch/loongarch/kernel/
H A Dkexec_elf.c21 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in _elf_kexec_load()
61 struct elfhdr ehdr; in elf_kexec_load()
/linux/arch/loongarch/include/asm/
H A Delf.h243 struct elfhdr *__h = (hdr); \
259 struct elfhdr *__h = (hdr); \
/linux/fs/
H A Dbinfmt_elf_fdpic.c104 static int is_elf(struct elfhdr *hdr, struct file *file) in is_elf()
125 static int is_constdisp(struct elfhdr *hdr) in is_constdisp()
205 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
290 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary()
1251 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1264 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1267 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1439 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1485 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()
/linux/arch/parisc/kernel/
H A Dkexec_file.c23 struct elfhdr ehdr; in elf_load()
/linux/arch/mips/include/asm/
H A Delf.h285 struct elfhdr *__h = (hdr); \
313 struct elfhdr *__h = (hdr); \