Lines Matching defs:nhdr
537 GElf_Nhdr *nhdr = ptr;
538 size_t namesz = NOTE_ALIGN(nhdr->n_namesz),
539 descsz = NOTE_ALIGN(nhdr->n_descsz);
542 ptr += sizeof(*nhdr);
545 if (nhdr->n_type == NT_GNU_BUILD_ID &&
546 nhdr->n_namesz == sizeof("GNU")) {
636 GElf_Nhdr nhdr;
639 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr))
642 namesz = NOTE_ALIGN(nhdr.n_namesz);
643 descsz = NOTE_ALIGN(nhdr.n_descsz);
644 if (nhdr.n_type == NT_GNU_BUILD_ID &&
645 nhdr.n_namesz == sizeof("GNU")) {
664 __func__, filename, nhdr.n_namesz, nhdr.n_descsz);
2317 GElf_Nhdr nhdr;
2345 for (offset = 0; (next = gelf_getnote(data, offset, &nhdr, &name_off,
2347 if (nhdr.n_namesz == sizeof(SDT_NOTE_NAME) &&
2351 if (nhdr.n_type != SDT_NOTE_TYPE)
2355 nhdr.n_descsz, sdt_notes);