crypto/openssh/hostfile.c
258
hostkeys->entries[hostkeys->num_entries].note = l->note;
crypto/openssh/hostfile.c
267
const char *path, FILE *f, u_int note)
crypto/openssh/hostfile.c
277
NULL, HKF_WANT_MATCH|HKF_WANT_PARSE_KEY, note)) != 0) {
crypto/openssh/hostfile.c
287
u_int note)
crypto/openssh/hostfile.c
296
load_hostkeys_file(hostkeys, host, path, f, note);
crypto/openssh/hostfile.c
761
void *ctx, const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
789
lineinfo.note = note;
crypto/openssh/hostfile.c
931
const char *host, const char *ip, u_int options, u_int note)
crypto/openssh/hostfile.c
941
options, note);
crypto/openssh/hostfile.h
103
u_int note; /* caller-specified note copied from arguments */
crypto/openssh/hostfile.h
116
const char *host, const char *ip, u_int options, u_int note);
crypto/openssh/hostfile.h
119
const char *host, const char *ip, u_int options, u_int note);
crypto/openssh/hostfile.h
31
u_int note; /* caller-specific note/flag */
crypto/openssh/hostfile.h
42
const char *, FILE *, u_int note);
crypto/openssh/session.c
2382
char *note = NULL;
crypto/openssh/session.c
2392
xasprintf(¬e, "exit %d", WEXITSTATUS(status));
crypto/openssh/session.c
2404
xasprintf(¬e, "signal %d%s", WTERMSIG(status),
crypto/openssh/session.c
2413
(long)s->pid, note == NULL ? "UNKNOWN" : note);
crypto/openssh/session.c
2414
free(note);
crypto/openssh/sshconnect.c
1075
(host_found != NULL && host_found->note != 0)))
crypto/openssh/sshconnect.c
1130
if (options.update_hostkeys != 0 && host_found->note) {
crypto/openssh/sshconnect2.c
658
const char *note = "";
crypto/openssh/sshconnect2.c
666
note = " token";
crypto/openssh/sshconnect2.c
668
note = " authenticator";
crypto/openssh/sshconnect2.c
674
id->userprovided ? " explicit" : "", note,
crypto/openssl/crypto/arm_arch.h
189
.pushsection .note.gnu.property, "a";
libexec/rtld-elf/aarch64/reloc.c
59
arch_digest_note(struct Struct_Obj_Entry *obj __unused, const Elf_Note *note)
libexec/rtld-elf/aarch64/reloc.c
64
note_name = (const char *)(note + 1);
libexec/rtld-elf/aarch64/reloc.c
66
if (note->n_namesz != sizeof(ELF_NOTE_GNU) ||
libexec/rtld-elf/aarch64/reloc.c
71
if (note->n_type != NT_GNU_PROPERTY_TYPE_0)
libexec/rtld-elf/aarch64/reloc.c
80
note_data = (const uint32_t *)(note_name + note->n_namesz);
libexec/rtld-elf/aarch64/rtld_machdep.h
54
bool arch_digest_note(struct Struct_Obj_Entry *obj, const Elf_Note *note);
libexec/rtld-elf/amd64/rtld_machdep.h
48
#define arch_digest_note(obj, note) false
libexec/rtld-elf/arm/rtld_machdep.h
48
#define arch_digest_note(obj, note) false
libexec/rtld-elf/i386/rtld_machdep.h
48
#define arch_digest_note(obj, note) false
libexec/rtld-elf/powerpc/rtld_machdep.h
47
#define arch_digest_note(obj, note) false
libexec/rtld-elf/powerpc64/rtld_machdep.h
47
#define arch_digest_note(obj, note) false
libexec/rtld-elf/riscv/rtld_machdep.h
61
#define arch_digest_note(obj, note) false
libexec/rtld-elf/rtld.c
1760
const Elf_Note *note;
libexec/rtld-elf/rtld.c
1764
for (note = (const Elf_Note *)note_start; (Elf_Addr)note < note_end;
libexec/rtld-elf/rtld.c
1765
note = (const Elf_Note *)((const char *)(note + 1) +
libexec/rtld-elf/rtld.c
1766
roundup2(note->n_namesz, sizeof(Elf32_Addr)) +
libexec/rtld-elf/rtld.c
1767
roundup2(note->n_descsz, sizeof(Elf32_Addr)))) {
libexec/rtld-elf/rtld.c
1768
if (arch_digest_note(obj, note))
libexec/rtld-elf/rtld.c
1771
if (note->n_namesz != sizeof(NOTE_FREEBSD_VENDOR) ||
libexec/rtld-elf/rtld.c
1772
note->n_descsz != sizeof(int32_t))
libexec/rtld-elf/rtld.c
1774
if (note->n_type != NT_FREEBSD_ABI_TAG &&
libexec/rtld-elf/rtld.c
1775
note->n_type != NT_FREEBSD_FEATURE_CTL &&
libexec/rtld-elf/rtld.c
1776
note->n_type != NT_FREEBSD_NOINIT_TAG)
libexec/rtld-elf/rtld.c
1778
note_name = (const char *)(note + 1);
libexec/rtld-elf/rtld.c
1782
switch (note->n_type) {
libexec/rtld-elf/rtld.c
1785
p = (uintptr_t)(note + 1);
libexec/rtld-elf/rtld.c
1786
p += roundup2(note->n_namesz, sizeof(Elf32_Addr));
libexec/rtld-elf/rtld.c
1792
p = (uintptr_t)(note + 1);
libexec/rtld-elf/rtld.c
1793
p += roundup2(note->n_namesz, sizeof(Elf32_Addr));
sbin/dhclient/dhclient.c
1019
note("%s from %s rejected.", type, piaddr(ap->addr));
sbin/dhclient/dhclient.c
1049
note("%s from %s", name, piaddr(packet->client_addr));
sbin/dhclient/dhclient.c
1056
note("%s isn't satisfactory.", name);
sbin/dhclient/dhclient.c
1074
note("packet_to_lease failed.");
sbin/dhclient/dhclient.c
1267
note("DHCPNAK from %s", piaddr(packet->client_addr));
sbin/dhclient/dhclient.c
1270
note("DHCPNAK with no active lease.\n");
sbin/dhclient/dhclient.c
1322
note("Trying medium \"%s\" %d", ip->client->medium->string,
sbin/dhclient/dhclient.c
1371
note("DHCPDISCOVER on %s to %s port %d interval %d",
sbin/dhclient/dhclient.c
1395
note("No DHCPOFFERS received.");
sbin/dhclient/dhclient.c
1405
note("Trying recorded lease %s",
sbin/dhclient/dhclient.c
1423
note("bound: renewal in %d seconds.",
sbin/dhclient/dhclient.c
1431
note("bound: immediate renewal.");
sbin/dhclient/dhclient.c
1470
note("No working leases in persistent database - sleeping.\n");
sbin/dhclient/dhclient.c
1598
note("DHCPREQUEST on %s to %s port %d", ip->name, inet_ntoa(to),
sbin/dhclient/dhclient.c
1613
note("DHCPDECLINE on %s to %s port %d", ip->name,
sbin/dhclient/dhclient.c
788
note("DHCPACK from %s", piaddr(packet->client_addr));
sbin/dhclient/dhclient.c
792
note("packet_to_lease failed.");
sbin/dhclient/dhclient.c
921
note("bound to %s -- renewal in %d seconds.",
sbin/dhclient/dhclient.c
983
note("BOOTREPLY from %s rejected.", piaddr(ap->addr));
sbin/dhclient/dhcpd.h
269
int note(const char *, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
sbin/dhclient/options.c
876
note("Discarding packet with invalid hlen.");
sbin/dhclient/packet.c
190
note("%d bad IP checksums seen in %d packets",
sbin/dhclient/packet.c
217
note("%d udp packets in %d too long - dropped",
sbin/dhclient/packet.c
255
note("%d bad udp checksums in %d packets",
sys/amd64/amd64/ptrace_machdep.c
142
.note = NT_X86_SEGBASES,
sys/amd64/amd64/ptrace_machdep.c
94
.note = NT_X86_SEGBASES,
sys/amd64/ia32/ia32_reg.c
308
.note = NT_X86_SEGBASES,
sys/amd64/include/asmacros.h
244
.pushsection .note.name, "a", @note ; \
sys/amd64/include/asmacros.h
256
.pushsection .note.name, "a", @note ; \
sys/arm/arm/ptrace_machdep.c
60
.note = NT_ARM_VFP,
sys/arm/arm/ptrace_machdep.c
84
.note = NT_ARM_TLS,
sys/arm/include/asmacros.h
42
.pushsection section, "a", %note ; \
sys/arm64/arm64/elf_machdep.c
159
.note = NT_ARM_ADDR_MASK,
sys/arm64/arm64/elf_machdep.c
345
gnu_property_cb(const Elf_Note *note, void *arg0, bool *res)
sys/arm64/arm64/elf_machdep.c
351
p = (uintptr_t)(note + 1);
sys/arm64/arm64/elf_machdep.c
352
p += roundup2(note->n_namesz, 4);
sys/arm64/arm64/ptrace_machdep.c
104
.note = NT_ARM_VFP,
sys/arm64/arm64/ptrace_machdep.c
128
.note = NT_ARM_TLS,
sys/arm64/arm64/ptrace_machdep.c
153
.note = NT_ARM_TLS,
sys/arm64/arm64/vfp.c
1057
.note = NT_ARM_SVE,
sys/arm64/include/asm.h
221
.section .note.gnu.property, "a"; \
sys/compat/linux/linux_elf.c
468
linux_trans_osrel(const Elf_Note *note, int32_t *osrel)
sys/compat/linux/linux_elf.c
473
p = (uintptr_t)(note + 1);
sys/compat/linux/linux_elf.c
474
p += roundup2(note->n_namesz, sizeof(Elf32_Addr));
sys/compat/linux/linux_elf.h
48
bool linux_trans_osrel(const Elf_Note *note, int32_t *osrel);
sys/crypto/openssl/arm_arch.h
189
.pushsection .note.gnu.property, "a";
sys/dev/hyperv/vmbus/vmbus_chan.c
1939
const struct vmbus_chanmsg_chrescind *note;
sys/dev/hyperv/vmbus/vmbus_chan.c
1942
note = (const struct vmbus_chanmsg_chrescind *)msg->msg_data;
sys/dev/hyperv/vmbus/vmbus_chan.c
1943
if (note->chm_chanid > VMBUS_CHAN_MAX) {
sys/dev/hyperv/vmbus/vmbus_chan.c
1945
note->chm_chanid);
sys/dev/hyperv/vmbus/vmbus_chan.c
1954
if (chan->ch_id == note->chm_chanid)
sys/dev/hyperv/vmbus/vmbus_chan.c
1960
note->chm_chanid);
sys/dev/hyperv/vmbus/vmbus_chan.c
1995
vmbus_chan_printf(chan, "chan%u revoked\n", note->chm_chanid);
sys/i386/i386/ptrace_machdep.c
86
.note = NT_X86_SEGBASES,
sys/i386/include/asmacros.h
157
.pushsection .note.name, "a", @note ; \
sys/i386/include/asmacros.h
169
.pushsection .note.name, "a", @note ; \
sys/kern/imgact_elf.c
103
static bool __elfN(freebsd_trans_osrel)(const Elf_Note *note,
sys/kern/imgact_elf.c
105
static bool kfreebsd_trans_osrel(const Elf_Note *note, int32_t *osrel);
sys/kern/imgact_elf.c
2019
ninfo->type = regset->note;
sys/kern/imgact_elf.c
2079
Elf_Note *note;
sys/kern/imgact_elf.c
2085
note = (Elf_Note *)buf;
sys/kern/imgact_elf.c
2086
note->n_namesz = sizeof(FREEBSD_ABI_VENDOR);
sys/kern/imgact_elf.c
2087
note->n_descsz = size;
sys/kern/imgact_elf.c
2088
note->n_type = type;
sys/kern/imgact_elf.c
2089
buf += sizeof(*note);
sys/kern/imgact_elf.c
2108
Elf_Note note;
sys/kern/imgact_elf.c
2120
note.n_namesz = strlen(sv->sv_elf_core_abi_vendor) + 1;
sys/kern/imgact_elf.c
2121
note.n_descsz = ninfo->outsize;
sys/kern/imgact_elf.c
2122
note.n_type = ninfo->type;
sys/kern/imgact_elf.c
2124
sbuf_bcat(sb, ¬e, sizeof(note));
sys/kern/imgact_elf.c
2129
if (note.n_descsz == 0)
sys/kern/imgact_elf.c
2147
descsz = roundup(note.n_descsz, ELF_NOTE_ROUNDSIZE);
sys/kern/imgact_elf.c
2166
__func__, (unsigned)note.n_type, new_len, descsz,
sys/kern/imgact_elf.c
2167
(unsigned)note.n_type));
sys/kern/imgact_elf.c
2311
.note = NT_PRSTATUS,
sys/kern/imgact_elf.c
2355
.note = NT_FPREGSET,
sys/kern/imgact_elf.c
2380
.note = NT_THRMISC,
sys/kern/imgact_elf.c
2422
.note = NT_PTLWPINFO,
sys/kern/imgact_elf.c
244
__elfN(freebsd_trans_osrel)(const Elf_Note *note, int32_t *osrel)
sys/kern/imgact_elf.c
2456
if (regset->note == NT_PRSTATUS)
sys/kern/imgact_elf.c
248
p = (uintptr_t)(note + 1);
sys/kern/imgact_elf.c
249
p += roundup2(note->n_namesz, ELF_NOTE_ROUNDSIZE);
sys/kern/imgact_elf.c
267
kfreebsd_trans_osrel(const Elf_Note *note, int32_t *osrel)
sys/kern/imgact_elf.c
272
p = (uintptr_t)(note + 1);
sys/kern/imgact_elf.c
273
p += roundup2(note->n_namesz, ELF_NOTE_ROUNDSIZE);
sys/kern/imgact_elf.c
2792
const Elf_Note *note, *note0, *note_end;
sys/kern/imgact_elf.c
2817
note = note0 = (const Elf_Note *)buf;
sys/kern/imgact_elf.c
2820
note = note0 = (const Elf_Note *)(imgp->image_header +
sys/kern/imgact_elf.c
2826
for (i = 0; i < MAX_NOTES_LOOP && note >= note0 && note < note_end;
sys/kern/imgact_elf.c
2828
if (!aligned(note, Elf32_Addr)) {
sys/kern/imgact_elf.c
2832
if ((const char *)note_end - (const char *)note <
sys/kern/imgact_elf.c
2837
if (note->n_namesz != checknote->n_namesz ||
sys/kern/imgact_elf.c
2838
note->n_descsz != checknote->n_descsz ||
sys/kern/imgact_elf.c
2839
note->n_type != checknote->n_type)
sys/kern/imgact_elf.c
2841
note_name = (const char *)(note + 1);
sys/kern/imgact_elf.c
2842
if (note_name + roundup2(note->n_namesz, ELF_NOTE_ROUNDSIZE) +
sys/kern/imgact_elf.c
2843
note->n_descsz > (const char *)note_end ||
sys/kern/imgact_elf.c
2847
if (cb(note, cb_arg, &res))
sys/kern/imgact_elf.c
2850
note = (const Elf_Note *)((const char *)(note + 1) +
sys/kern/imgact_elf.c
2851
roundup2(note->n_namesz, ELF_NOTE_ROUNDSIZE) +
sys/kern/imgact_elf.c
2852
roundup2(note->n_descsz, ELF_NOTE_ROUNDSIZE));
sys/kern/imgact_elf.c
2869
brandnote_cb(const Elf_Note *note, void *arg0, bool *res)
sys/kern/imgact_elf.c
2881
arg->brandnote->trans_osrel(note, arg->osrel) : true;
sys/kern/imgact_elf.c
2898
note_fctl_cb(const Elf_Note *note, void *arg0, bool *res)
sys/kern/imgact_elf.c
2905
p = (uintptr_t)(note + 1);
sys/kern/imgact_elf.c
2906
p += roundup2(note->n_namesz, ELF_NOTE_ROUNDSIZE);
sys/kern/subr_log.c
74
static int logkqread(struct knote *note, long hint);
sys/kern/subr_log.c
75
static void logkqdetach(struct knote *note);
sys/kern/sys_process.c
148
proc_find_regset(struct thread *td, int note)
sys/kern/sys_process.c
161
if (regset->note != note)
sys/kern/sys_process.c
171
proc_read_regset(struct thread *td, int note, struct iovec *iov)
sys/kern/sys_process.c
179
regset = proc_find_regset(td, note);
sys/kern/sys_process.c
235
proc_write_regset(struct thread *td, int note, struct iovec *iov)
sys/kern/sys_process.c
243
regset = proc_find_regset(td, note);
sys/security/audit/audit_pipe.c
238
static int audit_pipe_kqread(struct knote *note, long hint);
sys/security/audit/audit_pipe.c
239
static void audit_pipe_kqdetach(struct knote *note);
sys/sys/reg.h
52
int note;
sys/sys/soundcard.h
1357
#define _CHN_VOICE(dev, event, chn, note, parm) { \
sys/sys/soundcard.h
1363
_seqbuf[_seqbufptr+4] = (note);\
sys/sys/soundcard.h
1369
#define SEQ_START_NOTE(dev, chn, note, vol) \
sys/sys/soundcard.h
1370
_CHN_VOICE(dev, MIDI_NOTEON, chn, note, vol)
sys/sys/soundcard.h
1372
#define SEQ_STOP_NOTE(dev, chn, note, vol) \
sys/sys/soundcard.h
1373
_CHN_VOICE(dev, MIDI_NOTEOFF, chn, note, vol)
sys/sys/soundcard.h
1375
#define SEQ_KEY_PRESSURE(dev, chn, note, pressure) \
sys/sys/soundcard.h
1376
_CHN_VOICE(dev, MIDI_KEY_PRESSURE, chn, note, pressure)
tools/regression/netinet/ipdivert/ipdivert.c
57
fail(const char *test, const char *note)
tools/regression/netinet/ipdivert/ipdivert.c
60
fprintf(stderr, "%s - %s: FAIL (%s)\n", test, note, strerror(errno));
tools/regression/netinet/ipdivert/ipdivert.c
65
failx(const char *test, const char *note)
tools/regression/netinet/ipdivert/ipdivert.c
68
fprintf(stderr, "%s - %s: FAIL\n", test, note);
usr.bin/elfctl/elfctl.c
369
Elf_Note note;
usr.bin/elfctl/elfctl.c
394
if (read(fd, ¬e, sizeof(note)) <
usr.bin/elfctl/elfctl.c
395
(ssize_t)sizeof(note)) {
usr.bin/elfctl/elfctl.c
399
read_total += sizeof(note);
usr.bin/elfctl/elfctl.c
402
note.n_namesz = bswap32(note.n_namesz);
usr.bin/elfctl/elfctl.c
403
note.n_descsz = bswap32(note.n_descsz);
usr.bin/elfctl/elfctl.c
404
note.n_type = bswap32(note.n_type);
usr.bin/elfctl/elfctl.c
411
namesz = roundup2(note.n_namesz, 4);
usr.bin/elfctl/elfctl.c
417
descsz = roundup2(note.n_descsz, 4);
usr.bin/elfctl/elfctl.c
425
if (note.n_namesz != 8 ||
usr.bin/elfctl/elfctl.c
427
note.n_type != NT_FREEBSD_FEATURE_CTL) {
usr.bin/elfctl/elfctl.c
439
if (note.n_descsz < sizeof(uint32_t)) {
usr.bin/elfctl/elfctl.c
450
if (note.n_descsz > sizeof(uint32_t))
usr.bin/gcore/elfcore.c
406
Elf_Note note;
usr.bin/gcore/elfcore.c
420
note.n_namesz = 8; /* strlen("FreeBSD") + 1 */
usr.bin/gcore/elfcore.c
421
note.n_descsz = iov.iov_len;
usr.bin/gcore/elfcore.c
422
note.n_type = type;
usr.bin/gcore/elfcore.c
424
sbuf_bcat(sb, ¬e, sizeof(note));
usr.bin/gcore/elfcore.c
426
sbuf_bcat(sb, "FreeBSD", note.n_namesz);
usr.bin/gcore/elfcore.c
440
Elf_Note note;
usr.bin/gcore/elfcore.c
446
note.n_namesz = 8; /* strlen("FreeBSD") + 1 */
usr.bin/gcore/elfcore.c
447
note.n_descsz = descsz;
usr.bin/gcore/elfcore.c
448
note.n_type = type;
usr.bin/gcore/elfcore.c
450
sbuf_bcat(sb, ¬e, sizeof(note));
usr.bin/gcore/elfcore.c
452
sbuf_bcat(sb, "FreeBSD", note.n_namesz);
usr.bin/ldd/ldd.c
270
const Elf_Note *note;
usr.bin/ldd/ldd.c
304
if (len < sizeof(*note))
usr.bin/ldd/ldd.c
307
note = (const void *)buf;
usr.bin/ldd/ldd.c
308
buf += sizeof(*note);
usr.bin/ldd/ldd.c
309
len -= sizeof(*note);
usr.bin/ldd/ldd.c
311
namesz = roundup2(note->n_namesz, sizeof(uint32_t));
usr.bin/ldd/ldd.c
312
descsz = roundup2(note->n_descsz, sizeof(uint32_t));
usr.bin/ldd/ldd.c
317
if (note->n_namesz == sizeof(ELF_NOTE_FREEBSD) &&
usr.bin/ldd/ldd.c
318
strncmp(name, ELF_NOTE_FREEBSD, note->n_namesz) == 0 &&
usr.bin/ldd/ldd.c
319
note->n_type == NT_FREEBSD_ABI_TAG &&
usr.bin/ldd/ldd.c
320
note->n_descsz == sizeof(uint32_t)) {
usr.bin/mididump/mididump.c
157
struct note *pn;