Home
last modified time | relevance | path

Searched refs:ehdr (Results 1 – 3 of 3) sorted by relevance

/fs/proc/
Dvmcore.c1195 Elf64_Ehdr ehdr; in parse_crash_elf64_headers() local
1201 rc = elfcorehdr_read((char *)&ehdr, sizeof(Elf64_Ehdr), &addr); in parse_crash_elf64_headers()
1206 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || in parse_crash_elf64_headers()
1207 (ehdr.e_type != ET_CORE) || in parse_crash_elf64_headers()
1208 !vmcore_elf64_check_arch(&ehdr) || in parse_crash_elf64_headers()
1209 ehdr.e_ident[EI_CLASS] != ELFCLASS64 || in parse_crash_elf64_headers()
1210 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf64_headers()
1211 ehdr.e_version != EV_CURRENT || in parse_crash_elf64_headers()
1212 ehdr.e_ehsize != sizeof(Elf64_Ehdr) || in parse_crash_elf64_headers()
1213 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers()
[all …]
Dkcore.c332 struct elfhdr ehdr = { in read_kcore() local
354 if (copy_to_user(buffer, (char *)&ehdr + *fpos, tsz)) { in read_kcore()
/fs/
Dbinfmt_elf.c534 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc() argument
558 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf() argument