Searched refs:nlehdr (Results 1 – 6 of 6) sorted by relevance
66 GElf_Ehdr nlehdr; /* ELF file header for namelist file */ member137 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()
131 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()
260 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _arm_native()262 return (kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _arm_native()
190 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc64_probe()198 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2LSB); in _powerpc64le_probe()
95 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()
185 kd->nlehdr.e_ident[EI_DATA] == ELFDATA2MSB); in _powerpc_probe()