Lines Matching defs:nhdr
911 GElf_Nhdr *nhdr = ptr;
912 size_t namesz = NOTE_ALIGN(nhdr->n_namesz),
913 descsz = NOTE_ALIGN(nhdr->n_descsz);
916 ptr += sizeof(*nhdr);
919 if (nhdr->n_type == NT_GNU_BUILD_ID &&
920 nhdr->n_namesz == sizeof("GNU")) {
1043 GElf_Nhdr nhdr;
1046 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr))
1049 namesz = NOTE_ALIGN(nhdr.n_namesz);
1050 descsz = NOTE_ALIGN(nhdr.n_descsz);
1051 if (nhdr.n_type == NT_GNU_BUILD_ID &&
1052 nhdr.n_namesz == sizeof("GNU")) {
1071 __func__, filename, nhdr.n_namesz, nhdr.n_descsz);
2866 GElf_Nhdr nhdr;
2894 for (offset = 0; (next = gelf_getnote(data, offset, &nhdr, &name_off,
2896 if (nhdr.n_namesz == sizeof(SDT_NOTE_NAME) &&
2900 if (nhdr.n_type != SDT_NOTE_TYPE)
2904 nhdr.n_descsz, sdt_notes);