Searched refs:elf_phdr (Results 1 – 10 of 10) sorted by relevance
32 # define elf_phdr elf64_phdr macro62 struct elf_phdr *elf_phdr; /* program header */ in main() local171 if (read(fd, buf, sizeof(*elf_phdr)) != sizeof(*elf_phdr)) { in main()176 elf_phdr = (struct elf_phdr *) buf; in main()177 offset = elf_phdr->p_offset; in main()178 mem_size = elf_phdr->p_memsz; in main()179 fil_size = elf_phdr->p_filesz; in main()182 if (elf_phdr->p_vaddr < e_entry) { in main()183 unsigned long delta = e_entry - elf_phdr->p_vaddr; in main()187 elf_phdr->p_vaddr += delta; in main()[all …]
6 struct elf_phdr empty[] = { in total_mapping_size_test()14 struct elf_phdr mount[] = { in total_mapping_size_test()31 struct elf_phdr unordered[] = { in total_mapping_size_test()
760 struct elf_phdr *phdr; in fadump_update_elfcore_header()765 phdr = (struct elf_phdr *)bufp; in fadump_update_elfcore_header()951 elf->e_phentsize = sizeof(struct elf_phdr); in fadump_init_elfcore_header()990 static void __init populate_elf_pt_load(struct elf_phdr *phdr, u64 start, in populate_elf_pt_load()1007 struct elf_phdr *phdr; in fadump_populate_elfcorehdr()1023 phdr = (struct elf_phdr *)bufp; in fadump_populate_elfcorehdr()1024 bufp += sizeof(struct elf_phdr); in fadump_populate_elfcorehdr()1037 phdr = (struct elf_phdr *)bufp; in fadump_populate_elfcorehdr()1038 bufp += sizeof(struct elf_phdr); in fadump_populate_elfcorehdr()1054 phdr = (struct elf_phdr *)bufp; in fadump_populate_elfcorehdr()[all …]
42 #define elf_phdr elf32_phdr macro54 #define elf_phdr elf64_phdr macro
30 struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */
325 const struct elf_phdr *proghdrs;
141 struct elf_phdr *phdr; in elf_fdpic_fetch_phdrs()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()639 NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); in create_elf_fdpic_tables()750 struct elf_phdr *phdr; in elf_fdpic_map_file()806 stop += params->hdr.e_phnum * sizeof (struct elf_phdr); in elf_fdpic_map_file()930 struct elf_phdr *phdr; in elf_fdpic_map_file_constdisp_on_uclinux()1014 struct elf_phdr *phdr; in elf_fdpic_map_file_by_direct_mmap()[all …]
32 const struct elf_phdr *phdr; in riscv_kexec_elf_load()70 const struct elf_phdr *phdr; in elf_find_pbase()
29 const struct elf_phdr *phdr; in _elf_kexec_load()
698 struct elf_phdr *phdr = (struct elf_phdr *) in vpe_elfload()