Lines Matching refs:nhdr
169 xlatetom_nhdr(Elf_Nhdr *nhdr) in xlatetom_nhdr() argument
173 r |= file_xlatetom(ELF_T_WORD, (char *)&nhdr->n_namesz); in xlatetom_nhdr()
174 r |= file_xlatetom(ELF_T_WORD, (char *)&nhdr->n_descsz); in xlatetom_nhdr()
175 r |= file_xlatetom(ELF_T_WORD, (char *)&nhdr->n_type); in xlatetom_nhdr()
312 Elf_Nhdr Nhdr, *nhdr; /* note header just read */ in process_phdr() local
322 nhdr = &Nhdr; in process_phdr()
342 if (pread64(EI->elffd, (void *)nhdr, nsz, offset) in process_phdr()
347 if (xlatetom_nhdr(nhdr) == ELF_READ_FAIL) in process_phdr()
350 ntype = nhdr->n_type; in process_phdr()
351 nmsz = nhdr->n_namesz; in process_phdr()
352 dsz = nhdr->n_descsz; in process_phdr()