Lines Matching refs:note
271 const Elf_Note *note; in has_freebsd_abi_tag() local
305 if (len < sizeof(*note)) in has_freebsd_abi_tag()
308 note = (const void *)buf; in has_freebsd_abi_tag()
309 buf += sizeof(*note); in has_freebsd_abi_tag()
310 len -= sizeof(*note); in has_freebsd_abi_tag()
312 namesz = roundup2(note->n_namesz, sizeof(uint32_t)); in has_freebsd_abi_tag()
313 descsz = roundup2(note->n_descsz, sizeof(uint32_t)); in has_freebsd_abi_tag()
318 if (note->n_namesz == sizeof(ELF_NOTE_FREEBSD) && in has_freebsd_abi_tag()
319 strncmp(name, ELF_NOTE_FREEBSD, note->n_namesz) == 0 && in has_freebsd_abi_tag()
320 note->n_type == NT_FREEBSD_ABI_TAG && in has_freebsd_abi_tag()
321 note->n_descsz == sizeof(uint32_t)) { in has_freebsd_abi_tag()