Lines Matching defs:nhdr
2470 Elf64_Nhdr nhdr;
2478 if (read(P->asfd, &nhdr, sizeof (nhdr)) != sizeof (nhdr)) {
2493 namesz = P2ROUNDUP((off64_t)nhdr.n_namesz, (off64_t)4);
2502 nhdr.n_type, nhdr.n_namesz, nhdr.n_descsz);
2509 if (nhdr.n_type < sizeof (nhdlrs) / sizeof (nhdlrs[0])) {
2510 if (nhdlrs[nhdr.n_type](P, nhdr.n_descsz) < 0) {
2512 nhdr.n_type);
2521 if (nhdr.n_type == NT_PRSTATUS ||
2522 nhdr.n_type == NT_PRPSINFO)
2526 (void) note_notsup(P, nhdr.n_descsz);
2532 descsz = P2ROUNDUP((off64_t)nhdr.n_descsz, (off64_t)4);
2534 dprintf("Pgrab_core: failed to seek to next nhdr\n");
2543 nleft -= sizeof (nhdr) + namesz + descsz;