Lines Matching defs:nhdr
910 GElf_Nhdr *nhdr = ptr;
911 size_t namesz = NOTE_ALIGN(nhdr->n_namesz),
912 descsz = NOTE_ALIGN(nhdr->n_descsz);
915 ptr += sizeof(*nhdr);
918 if (nhdr->n_type == NT_GNU_BUILD_ID &&
919 nhdr->n_namesz == sizeof("GNU")) {
1042 GElf_Nhdr nhdr;
1045 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr))
1048 namesz = NOTE_ALIGN(nhdr.n_namesz);
1049 descsz = NOTE_ALIGN(nhdr.n_descsz);
1050 if (nhdr.n_type == NT_GNU_BUILD_ID &&
1051 nhdr.n_namesz == sizeof("GNU")) {
1070 __func__, filename, nhdr.n_namesz, nhdr.n_descsz);
2793 GElf_Nhdr nhdr;
2821 for (offset = 0; (next = gelf_getnote(data, offset, &nhdr, &name_off,
2823 if (nhdr.n_namesz == sizeof(SDT_NOTE_NAME) &&
2827 if (nhdr.n_type != SDT_NOTE_TYPE)
2831 nhdr.n_descsz, sdt_notes);