Home
last modified time | relevance | path

Searched refs:nlehdr (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libkvm/
H A Dkvm_private.h66 GElf_Ehdr nlehdr; /* ELF file header for namelist file */ member
137 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm16toh()
147 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm32toh()
157 if (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB) in _kvm64toh()
H A Dkvm_private.c131 return (kd->nlehdr.e_ident[EI_CLASS] == class && in _kvm_probe_elf_kernel()
133 kd->nlehdr.e_type == ET_DYN : kd->nlehdr.e_type == ET_EXEC) && in _kvm_probe_elf_kernel()
134 kd->nlehdr.e_machine == machine); in _kvm_probe_elf_kernel()
175 if (gelf_getclass(elf) != kd->nlehdr.e_ident[EI_CLASS]) { in _kvm_read_core_phdrs()
187 if (ehdr.e_machine != kd->nlehdr.e_machine) { in _kvm_read_core_phdrs()
H A Dkvm_arm.c260 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _arm_native()
262 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _arm_native()
H A Dkvm_powerpc64.c190 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc64_probe()
198 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _powerpc64le_probe()
H A Dkvm.c95 if (gelf_getehdr(elf, &kd->nlehdr) == NULL) { in _kvm_read_kernel_ehdr()
102 switch (kd->nlehdr.e_ident[EI_DATA]) { in _kvm_read_kernel_ehdr()
H A Dkvm_powerpc.c185 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc_probe()