Searched refs:e_ident (Results 1 – 6 of 6) sorted by relevance
/tools/perf/util/ |
D | symbol-minimal.c | 89 u8 e_ident[EI_NIDENT]; in filename__read_build_id() local 98 if (fread(e_ident, sizeof(e_ident), 1, fp) != 1) in filename__read_build_id() 101 if (memcmp(e_ident, ELFMAG, SELFMAG) || in filename__read_build_id() 102 e_ident[EI_VERSION] != EV_CURRENT) in filename__read_build_id() 105 need_swap = check_need_swap(e_ident[EI_DATA]); in filename__read_build_id() 110 if (e_ident[EI_CLASS] == ELFCLASS32) { in filename__read_build_id() 299 u8 e_ident[EI_NIDENT]; in fd__is_64_bit() local 304 if (readn(fd, e_ident, sizeof(e_ident)) != sizeof(e_ident)) in fd__is_64_bit() 307 if (memcmp(e_ident, ELFMAG, SELFMAG) || in fd__is_64_bit() 308 e_ident[EI_VERSION] != EV_CURRENT) in fd__is_64_bit() [all …]
|
D | genelf.c | 281 ehdr->e_ident[EI_DATA] = GEN_ELF_ENDIAN; in jit_write_elf() 282 ehdr->e_ident[EI_CLASS] = GEN_ELF_CLASS; in jit_write_elf()
|
D | symbol-elf.c | 732 if (dso__swap_init(dso, ehdr.e_ident[EI_DATA])) { in symsrc__init() 1355 memcpy(ehdr->e_ident, kehdr->e_ident, EI_NIDENT); in kcore__copy_hdr()
|
D | probe-event.c | 319 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in find_module_name()
|
/tools/testing/selftests/vDSO/ |
D | parse_vdso.c | 104 if (hdr->e_ident[EI_CLASS] != in vdso_init_from_sysinfo_ehdr()
|
/tools/lib/bpf/ |
D | libbpf.c | 481 switch (obj->efile.ehdr.e_ident[EI_DATA]) { in bpf_object__check_endianness()
|