Symbol: msgbuf
crypto/krb5/src/util/et/error_message.c
186
LPVOID msgbuf;
crypto/krb5/src/util/et/error_message.c
192
(LPTSTR) &msgbuf,
crypto/krb5/src/util/et/error_message.c
212
strncpy(buffer, msgbuf, ET_EBUFSIZ);
crypto/krb5/src/util/et/error_message.c
219
LocalFree(msgbuf);
crypto/openssh/log.c
345
char msgbuf[MSGBUFSIZ];
crypto/openssh/log.c
392
vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args);
crypto/openssh/log.c
394
vsnprintf(msgbuf, sizeof(msgbuf), fmt, args);
crypto/openssh/log.c
397
snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix);
crypto/openssh/log.c
398
strlcpy(msgbuf, fmtbuf, sizeof(msgbuf));
crypto/openssh/log.c
400
strnvis(fmtbuf, msgbuf, sizeof(fmtbuf),
crypto/openssh/log.c
409
snprintf(msgbuf, sizeof msgbuf, "%s%s%.*s\r\n",
crypto/openssh/log.c
412
(int)sizeof msgbuf - 3, fmtbuf);
crypto/openssh/log.c
413
(void)write(log_stderr_fd, msgbuf, strlen(msgbuf));
crypto/openssl/test/rsa_test.c
376
unsigned char msgbuf[64];
crypto/openssl/test/rsa_test.c
467
memset(msgbuf, 0xef, 64);
crypto/openssl/test/rsa_test.c
482
&& TEST_true(EVP_DigestSign(ctx, sigbuf, &buflen, msgbuf, msglen)));
lib/libc/stdio/perror.c
47
char msgbuf[NL_TEXTMAX];
lib/libc/stdio/perror.c
60
strerror_r(errno, msgbuf, sizeof(msgbuf));
lib/libc/stdio/perror.c
61
v->iov_base = msgbuf;
lib/libiscsiutil/log.c
86
static char msgbuf[MSGBUF_LEN];
lib/libiscsiutil/log.c
91
ret = vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
lib/libiscsiutil/log.c
98
ret = strnvis(msgbuf_strvised, sizeof(msgbuf_strvised), msgbuf, VIS_NL);
lib/libopenbsd/imsg-buffer.c
139
ibuf_close(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
141
ibuf_enqueue(msgbuf, buf);
lib/libopenbsd/imsg-buffer.c
145
ibuf_write(struct msgbuf *msgbuf)
lib/libopenbsd/imsg-buffer.c
153
TAILQ_FOREACH(buf, &msgbuf->bufs, entry) {
lib/libopenbsd/imsg-buffer.c
162
if ((n = writev(msgbuf->fd, iov, i)) == -1) {
lib/libopenbsd/imsg-buffer.c
175
msgbuf_drain(msgbuf, n);
lib/libopenbsd/imsg-buffer.c
188
msgbuf_init(struct msgbuf *msgbuf)
lib/libopenbsd/imsg-buffer.c
190
msgbuf->queued = 0;
lib/libopenbsd/imsg-buffer.c
191
msgbuf->fd = -1;
lib/libopenbsd/imsg-buffer.c
192
TAILQ_INIT(&msgbuf->bufs);
lib/libopenbsd/imsg-buffer.c
196
msgbuf_drain(struct msgbuf *msgbuf, size_t n)
lib/libopenbsd/imsg-buffer.c
200
for (buf = TAILQ_FIRST(&msgbuf->bufs); buf != NULL && n > 0;
lib/libopenbsd/imsg-buffer.c
205
ibuf_dequeue(msgbuf, buf);
lib/libopenbsd/imsg-buffer.c
214
msgbuf_clear(struct msgbuf *msgbuf)
lib/libopenbsd/imsg-buffer.c
218
while ((buf = TAILQ_FIRST(&msgbuf->bufs)) != NULL)
lib/libopenbsd/imsg-buffer.c
219
ibuf_dequeue(msgbuf, buf);
lib/libopenbsd/imsg-buffer.c
223
msgbuf_write(struct msgbuf *msgbuf)
lib/libopenbsd/imsg-buffer.c
239
TAILQ_FOREACH(buf, &msgbuf->bufs, entry) {
lib/libopenbsd/imsg-buffer.c
263
if ((n = sendmsg(msgbuf->fd, &msg, 0)) == -1) {
lib/libopenbsd/imsg-buffer.c
285
msgbuf_drain(msgbuf, n);
lib/libopenbsd/imsg-buffer.c
291
ibuf_enqueue(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
293
TAILQ_INSERT_TAIL(&msgbuf->bufs, buf, entry);
lib/libopenbsd/imsg-buffer.c
294
msgbuf->queued++;
lib/libopenbsd/imsg-buffer.c
298
ibuf_dequeue(struct msgbuf *msgbuf, struct ibuf *buf)
lib/libopenbsd/imsg-buffer.c
300
TAILQ_REMOVE(&msgbuf->bufs, buf, entry);
lib/libopenbsd/imsg-buffer.c
305
msgbuf->queued--;
lib/libopenbsd/imsg-buffer.c
33
void ibuf_enqueue(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg-buffer.c
34
void ibuf_dequeue(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg.h
58
struct msgbuf w;
lib/libopenbsd/imsg.h
88
void ibuf_close(struct msgbuf *, struct ibuf *);
lib/libopenbsd/imsg.h
89
int ibuf_write(struct msgbuf *);
lib/libopenbsd/imsg.h
91
void msgbuf_init(struct msgbuf *);
lib/libopenbsd/imsg.h
92
void msgbuf_clear(struct msgbuf *);
lib/libopenbsd/imsg.h
93
int msgbuf_write(struct msgbuf *);
lib/libopenbsd/imsg.h
94
void msgbuf_drain(struct msgbuf *, size_t);
libexec/comsat/comsat.c
73
char msgbuf[256];
libexec/comsat/comsat.c
82
(void) recv(0, msgbuf, sizeof(msgbuf) - 1, 0);
libexec/comsat/comsat.c
89
cc = recv(0, msgbuf, sizeof(msgbuf) - 1, 0);
libexec/comsat/comsat.c
96
msgbuf[cc] = '\0';
libexec/comsat/comsat.c
97
mailfor(msgbuf);
libexec/pppoed/pppoed.c
257
char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)];
libexec/pppoed/pppoed.c
258
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
libexec/pppoed/pppoed.c
259
struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep);
libexec/pppoed/pppoed.c
376
if ((ret = NgRecvMsg(cs, rep, sizeof msgbuf, NULL)) < 0) {
sbin/dmesg/dmesg.c
66
struct msgbuf *bufp, cur;
sys/amd64/amd64/machdep.c
1135
msgbufp = (struct msgbuf *)PHYS_TO_DMAP(phys_avail[pa_indx]);
sys/amd64/amd64/minidump_machdep.c
172
struct msgbuf *mbp;
sys/arm/arm/minidump_machdep.c
154
struct msgbuf *mbp;
sys/arm64/arm64/minidump_machdep.c
152
struct msgbuf *mbp;
sys/cam/ctl/ctl.c
1466
union ctl_ha_msg *msg, msgbuf;
sys/cam/ctl/ctl.c
1468
if (param > sizeof(msgbuf))
sys/cam/ctl/ctl.c
1471
msg = &msgbuf;
sys/cam/ctl/ctl.c
1477
if (msg != &msgbuf)
sys/cam/ctl/ctl.c
1735
if (msg != &msgbuf)
sys/dev/e1000/e1000_vf.c
263
u32 ctrl, msgbuf[3];
sys/dev/e1000/e1000_vf.c
264
u8 *addr = (u8 *)(&msgbuf[1]);
sys/dev/e1000/e1000_vf.c
282
msgbuf[0] = E1000_VF_RESET;
sys/dev/e1000/e1000_vf.c
283
mbx->ops.write_posted(hw, msgbuf, 1, 0);
sys/dev/e1000/e1000_vf.c
288
ret_val = mbx->ops.read_posted(hw, msgbuf, 3, 0);
sys/dev/e1000/e1000_vf.c
290
if (msgbuf[0] == (E1000_VF_RESET |
sys/dev/e1000/e1000_vf.c
327
u32 msgbuf[3];
sys/dev/e1000/e1000_vf.c
328
u8 *msg_addr = (u8 *)(&msgbuf[1]);
sys/dev/e1000/e1000_vf.c
331
memset(msgbuf, 0, 12);
sys/dev/e1000/e1000_vf.c
332
msgbuf[0] = E1000_VF_SET_MAC_ADDR;
sys/dev/e1000/e1000_vf.c
334
ret_val = mbx->ops.write_posted(hw, msgbuf, 3, 0);
sys/dev/e1000/e1000_vf.c
337
ret_val = mbx->ops.read_posted(hw, msgbuf, 3, 0);
sys/dev/e1000/e1000_vf.c
339
msgbuf[0] &= ~E1000_VT_MSGTYPE_CTS;
sys/dev/e1000/e1000_vf.c
343
(msgbuf[0] == (E1000_VF_SET_MAC_ADDR | E1000_VT_MSGTYPE_NACK)))
sys/dev/e1000/e1000_vf.c
403
u32 msgbuf[E1000_VFMAILBOX_SIZE];
sys/dev/e1000/e1000_vf.c
404
u16 *hash_list = (u16 *)&msgbuf[1];
sys/dev/e1000/e1000_vf.c
421
msgbuf[0] = E1000_VF_SET_MULTICAST;
sys/dev/e1000/e1000_vf.c
424
msgbuf[0] |= E1000_VF_SET_MULTICAST_OVERFLOW;
sys/dev/e1000/e1000_vf.c
428
msgbuf[0] |= mc_addr_count << E1000_VT_MSGINFO_SHIFT;
sys/dev/e1000/e1000_vf.c
437
e1000_write_msg_read_ack(hw, msgbuf, E1000_VFMAILBOX_SIZE);
sys/dev/e1000/e1000_vf.c
448
u32 msgbuf[2];
sys/dev/e1000/e1000_vf.c
450
msgbuf[0] = E1000_VF_SET_VLAN;
sys/dev/e1000/e1000_vf.c
451
msgbuf[1] = vid;
sys/dev/e1000/e1000_vf.c
454
msgbuf[0] |= E1000_VF_SET_VLAN_ADD;
sys/dev/e1000/e1000_vf.c
456
e1000_write_msg_read_ack(hw, msgbuf, 2);
sys/dev/e1000/e1000_vf.c
465
u32 msgbuf[2];
sys/dev/e1000/e1000_vf.c
467
msgbuf[0] = E1000_VF_SET_LPE;
sys/dev/e1000/e1000_vf.c
468
msgbuf[1] = max_size;
sys/dev/e1000/e1000_vf.c
470
e1000_write_msg_read_ack(hw, msgbuf, 2);
sys/dev/e1000/e1000_vf.c
482
u32 msgbuf = E1000_VF_SET_PROMISC;
sys/dev/e1000/e1000_vf.c
487
msgbuf |= E1000_VF_SET_PROMISC_MULTICAST;
sys/dev/e1000/e1000_vf.c
490
msgbuf |= E1000_VF_SET_PROMISC_MULTICAST;
sys/dev/e1000/e1000_vf.c
493
msgbuf |= E1000_VF_SET_PROMISC_UNICAST;
sys/dev/e1000/e1000_vf.c
501
ret_val = mbx->ops.write_posted(hw, &msgbuf, 1, 0);
sys/dev/e1000/e1000_vf.c
504
ret_val = mbx->ops.read_posted(hw, &msgbuf, 1, 0);
sys/dev/e1000/e1000_vf.c
506
if (!ret_val && !(msgbuf & E1000_VT_MSGTYPE_ACK))
sys/dev/ixgbe/ixgbe_vf.c
181
u32 msgbuf[IXGBE_VF_PERMADDR_MSG_LEN];
sys/dev/ixgbe/ixgbe_vf.c
182
u8 *addr = (u8 *)(&msgbuf[1]);
sys/dev/ixgbe/ixgbe_vf.c
215
msgbuf[0] = IXGBE_VF_RESET;
sys/dev/ixgbe/ixgbe_vf.c
216
ixgbe_write_mbx(hw, msgbuf, 1, 0);
sys/dev/ixgbe/ixgbe_vf.c
225
ret_val = ixgbe_poll_mbx(hw, msgbuf,
sys/dev/ixgbe/ixgbe_vf.c
230
if (msgbuf[0] != (IXGBE_VF_RESET | IXGBE_VT_MSGTYPE_SUCCESS) &&
sys/dev/ixgbe/ixgbe_vf.c
231
msgbuf[0] != (IXGBE_VF_RESET | IXGBE_VT_MSGTYPE_FAILURE))
sys/dev/ixgbe/ixgbe_vf.c
234
if (msgbuf[0] == (IXGBE_VF_RESET | IXGBE_VT_MSGTYPE_SUCCESS))
sys/dev/ixgbe/ixgbe_vf.c
237
hw->mac.mc_filter_type = msgbuf[IXGBE_VF_MC_TYPE_WORD];
sys/dev/ixgbe/ixgbe_vf.c
350
u32 msgbuf[3];
sys/dev/ixgbe/ixgbe_vf.c
351
u8 *msg_addr = (u8 *)(&msgbuf[1]);
sys/dev/ixgbe/ixgbe_vf.c
355
memset(msgbuf, 0, 12);
sys/dev/ixgbe/ixgbe_vf.c
356
msgbuf[0] = IXGBE_VF_SET_MAC_ADDR;
sys/dev/ixgbe/ixgbe_vf.c
358
ret_val = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 3);
sys/dev/ixgbe/ixgbe_vf.c
360
msgbuf[0] &= ~IXGBE_VT_MSGTYPE_CTS;
sys/dev/ixgbe/ixgbe_vf.c
364
(msgbuf[0] == (IXGBE_VF_SET_MAC_ADDR | IXGBE_VT_MSGTYPE_FAILURE))) {
sys/dev/ixgbe/ixgbe_vf.c
386
u32 msgbuf[IXGBE_VFMAILBOX_SIZE];
sys/dev/ixgbe/ixgbe_vf.c
387
u16 *vector_list = (u16 *)&msgbuf[1];
sys/dev/ixgbe/ixgbe_vf.c
408
msgbuf[0] = IXGBE_VF_SET_MULTICAST;
sys/dev/ixgbe/ixgbe_vf.c
409
msgbuf[0] |= cnt << IXGBE_VT_MSGINFO_SHIFT;
sys/dev/ixgbe/ixgbe_vf.c
417
return ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, IXGBE_VFMAILBOX_SIZE);
sys/dev/ixgbe/ixgbe_vf.c
429
u32 msgbuf[2];
sys/dev/ixgbe/ixgbe_vf.c
445
msgbuf[0] = IXGBE_VF_UPDATE_XCAST_MODE;
sys/dev/ixgbe/ixgbe_vf.c
446
msgbuf[1] = xcast_mode;
sys/dev/ixgbe/ixgbe_vf.c
448
err = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 2);
sys/dev/ixgbe/ixgbe_vf.c
452
msgbuf[0] &= ~IXGBE_VT_MSGTYPE_CTS;
sys/dev/ixgbe/ixgbe_vf.c
453
if (msgbuf[0] == (IXGBE_VF_UPDATE_XCAST_MODE | IXGBE_VT_MSGTYPE_FAILURE))
sys/dev/ixgbe/ixgbe_vf.c
467
u32 msgbuf[2];
sys/dev/ixgbe/ixgbe_vf.c
471
msgbuf[0] = IXGBE_VF_GET_LINK_STATE;
sys/dev/ixgbe/ixgbe_vf.c
472
msgbuf[1] = 0x0;
sys/dev/ixgbe/ixgbe_vf.c
474
err = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 2);
sys/dev/ixgbe/ixgbe_vf.c
476
if (err || (msgbuf[0] & IXGBE_VT_MSGTYPE_FAILURE)) {
sys/dev/ixgbe/ixgbe_vf.c
480
*link_state = msgbuf[1];
sys/dev/ixgbe/ixgbe_vf.c
499
u32 msgbuf[2];
sys/dev/ixgbe/ixgbe_vf.c
503
msgbuf[0] = IXGBE_VF_SET_VLAN;
sys/dev/ixgbe/ixgbe_vf.c
504
msgbuf[1] = vlan;
sys/dev/ixgbe/ixgbe_vf.c
506
msgbuf[0] |= vlan_on << IXGBE_VT_MSGINFO_SHIFT;
sys/dev/ixgbe/ixgbe_vf.c
508
ret_val = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 2);
sys/dev/ixgbe/ixgbe_vf.c
509
if (!ret_val && (msgbuf[0] & IXGBE_VT_MSGTYPE_SUCCESS))
sys/dev/ixgbe/ixgbe_vf.c
512
return ret_val | (msgbuf[0] & IXGBE_VT_MSGTYPE_FAILURE);
sys/dev/ixgbe/ixgbe_vf.c
556
u32 msgbuf[3], msgbuf_chk;
sys/dev/ixgbe/ixgbe_vf.c
557
u8 *msg_addr = (u8 *)(&msgbuf[1]);
sys/dev/ixgbe/ixgbe_vf.c
560
memset(msgbuf, 0, sizeof(msgbuf));
sys/dev/ixgbe/ixgbe_vf.c
567
msgbuf[0] |= index << IXGBE_VT_MSGINFO_SHIFT;
sys/dev/ixgbe/ixgbe_vf.c
568
msgbuf[0] |= IXGBE_VF_SET_MACVLAN;
sys/dev/ixgbe/ixgbe_vf.c
569
msgbuf_chk = msgbuf[0];
sys/dev/ixgbe/ixgbe_vf.c
573
ret_val = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 3);
sys/dev/ixgbe/ixgbe_vf.c
575
msgbuf[0] &= ~IXGBE_VT_MSGTYPE_CTS;
sys/dev/ixgbe/ixgbe_vf.c
577
if (msgbuf[0] == (msgbuf_chk | IXGBE_VT_MSGTYPE_FAILURE))
sys/dev/ixgbe/ixgbe_vf.c
714
u32 msgbuf[2];
sys/dev/ixgbe/ixgbe_vf.c
717
msgbuf[0] = IXGBE_VF_SET_LPE;
sys/dev/ixgbe/ixgbe_vf.c
718
msgbuf[1] = max_size;
sys/dev/ixgbe/ixgbe_vf.c
720
retval = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 2);
sys/dev/ixgbe/ixgbe_vf.c
723
if ((msgbuf[0] & IXGBE_VF_SET_LPE) &&
sys/dev/ixgbe/ixgbe_vf.c
724
(msgbuf[0] & IXGBE_VT_MSGTYPE_FAILURE))
sys/i386/i386/minidump_machdep_base.c
162
struct msgbuf *mbp;
sys/i386/i386/pmap.c
685
SYSMAP(struct msgbuf *, unused, msgbufp, atop(round_page(msgbufsize)))
sys/kern/kern_cons.c
112
struct msgbuf consmsgbuf; /* message buffer for console tty */
sys/kern/kern_dump.c
467
struct msgbuf mb_copy;
sys/kern/subr_log.c
147
struct msgbuf *mbp = msgbufp;
sys/kern/subr_msgbuf.c
117
msgbuf_clear(struct msgbuf *mbp)
sys/kern/subr_msgbuf.c
131
msgbuf_getcount(struct msgbuf *mbp)
sys/kern/subr_msgbuf.c
148
msgbuf_do_addchar(struct msgbuf * const mbp, const int c)
sys/kern/subr_msgbuf.c
164
msgbuf_addchar(struct msgbuf *mbp, int c)
sys/kern/subr_msgbuf.c
184
msgbuf_addstr(struct msgbuf *mbp, int pri, const char *str, int filter_cr)
sys/kern/subr_msgbuf.c
289
msgbuf_getchar(struct msgbuf *mbp)
sys/kern/subr_msgbuf.c
317
msgbuf_getbytes(struct msgbuf *mbp, char *buf, int buflen)
sys/kern/subr_msgbuf.c
356
msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen, u_int *seqp)
sys/kern/subr_msgbuf.c
397
msgbuf_cksum(struct msgbuf *mbp)
sys/kern/subr_msgbuf.c
411
msgbuf_copy(struct msgbuf *src, struct msgbuf *dst)
sys/kern/subr_msgbuf.c
424
msgbuf_duplicate(struct msgbuf *src, struct msgbuf *dst, char *dst_msgptr)
sys/kern/subr_msgbuf.c
428
bcopy(src, dst, sizeof(struct msgbuf));
sys/kern/subr_msgbuf.c
49
static u_int msgbuf_cksum(struct msgbuf *mbp);
sys/kern/subr_msgbuf.c
64
msgbuf_init(struct msgbuf *mbp, void *ptr, int size)
sys/kern/subr_msgbuf.c
84
msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size)
sys/kern/subr_prf.c
1061
static struct msgbuf *oldp = NULL;
sys/kern/subr_prf.c
1072
msgbufp = (struct msgbuf *)(cp + size);
sys/kern/subr_prf.c
1129
SYSCTL_PROC(_kern, OID_AUTO, msgbuf,
sys/kern/subr_prf.c
1156
DB_SHOW_COMMAND_FLAGS(msgbuf, db_show_msgbuf, DB_CMD_MEMSAFE)
sys/kern/subr_prf.c
122
struct msgbuf *msgbufp;
sys/powerpc/aim/mmu_oea.c
977
msgbufp = (struct msgbuf *)virtual_avail;
sys/powerpc/aim/mmu_oea64.c
1199
msgbufp = (struct msgbuf *)virtual_avail;
sys/powerpc/aim/mmu_radix.c
2098
msgbufp = (struct msgbuf *)PHYS_TO_DMAP(pa);
sys/powerpc/booke/pmap.c
672
msgbufp = (struct msgbuf *)data_end;
sys/powerpc/powerpc/minidump_machdep.c
197
struct msgbuf *mbp;
sys/riscv/riscv/minidump_machdep.c
159
struct msgbuf *mbp;
sys/sys/cons.h
99
extern struct msgbuf consmsgbuf; /* Message buffer for constty. */
sys/sys/kerneldump.h
137
struct msgbuf *msgbufp;
sys/sys/msgbuf.h
66
extern struct msgbuf *msgbufp;
sys/sys/msgbuf.h
70
void msgbuf_addchar(struct msgbuf *mbp, int c);
sys/sys/msgbuf.h
71
void msgbuf_addstr(struct msgbuf *mbp, int pri, const char *str, int filter_cr);
sys/sys/msgbuf.h
72
void msgbuf_clear(struct msgbuf *mbp);
sys/sys/msgbuf.h
73
void msgbuf_copy(struct msgbuf *src, struct msgbuf *dst);
sys/sys/msgbuf.h
74
int msgbuf_getbytes(struct msgbuf *mbp, char *buf, int buflen);
sys/sys/msgbuf.h
75
int msgbuf_getchar(struct msgbuf *mbp);
sys/sys/msgbuf.h
76
int msgbuf_getcount(struct msgbuf *mbp);
sys/sys/msgbuf.h
77
void msgbuf_init(struct msgbuf *mbp, void *ptr, int size);
sys/sys/msgbuf.h
78
int msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen,
sys/sys/msgbuf.h
80
void msgbuf_reinit(struct msgbuf *mbp, void *ptr, int size);
sys/sys/msgbuf.h
81
void msgbuf_duplicate(struct msgbuf *src, struct msgbuf *dst, char *msgptr);
tests/sys/audit/network.c
64
init_iov(struct iovec *io, char msgbuf[], int datalen)
tests/sys/audit/network.c
66
io->iov_base = msgbuf;
usr.sbin/autofs/log.c
100
ret = strnvis(msgbuf_strvised, sizeof(msgbuf_strvised), msgbuf, VIS_NL);
usr.sbin/autofs/log.c
88
static char msgbuf[MSGBUF_LEN];
usr.sbin/autofs/log.c
93
ret = vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
usr.sbin/fdread/fdutil.c
49
char msgbuf[100];
usr.sbin/fdread/fdutil.c
63
sprintf(msgbuf, "timeout");
usr.sbin/fdread/fdutil.c
65
sprintf(msgbuf, "unexcpted interrupt code %#x",
usr.sbin/fdread/fdutil.c
68
strcpy(msgbuf, "unexpected error code in ST1/ST2");
usr.sbin/fdread/fdutil.c
71
strcpy(msgbuf, "end of cylinder (wrong format)");
usr.sbin/fdread/fdutil.c
74
strcpy(msgbuf, "CRC error in data field");
usr.sbin/fdread/fdutil.c
76
strcpy(msgbuf, "CRC error in ID field");
usr.sbin/fdread/fdutil.c
79
strcpy(msgbuf, "no address mark in data field");
usr.sbin/fdread/fdutil.c
81
strcpy(msgbuf, "no address mark in ID field");
usr.sbin/fdread/fdutil.c
83
strcpy(msgbuf, "wrong cylinder (format mismatch)");
usr.sbin/fdread/fdutil.c
85
strcpy(msgbuf, "no data (sector not found)");
usr.sbin/fdread/fdutil.c
87
fputs(msgbuf, stderr);
usr.sbin/ppp/ether.c
217
char msgbuf[sizeof(struct ng_mesg) + sizeof(struct ngpppoe_sts)];
usr.sbin/ppp/ether.c
218
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
usr.sbin/ppp/ether.c
219
struct ngpppoe_sts *sts = (struct ngpppoe_sts *)(msgbuf + sizeof *rep);
usr.sbin/ppp/ether.c
244
if (NgRecvMsg(dev->cs, rep, sizeof msgbuf, NULL) <= 0)
usr.sbin/ppp/netgraph.c
169
char msgbuf[sizeof(struct ng_mesg) * 2 + NG_MSGBUFSZ];
usr.sbin/ppp/netgraph.c
171
struct ng_mesg *rep = (struct ng_mesg *)msgbuf;
usr.sbin/ppp/netgraph.c
197
if (NgRecvAsciiMsg(dev->cs, rep, sizeof msgbuf, path)) {
usr.sbin/syslogd/syslogd.c
409
char *cp, *msgbuf;
usr.sbin/syslogd/syslogd.c
455
asprintf(&msgbuf, "getaddrinfo failed for %s%s: %s",
usr.sbin/syslogd/syslogd.c
459
if (msgbuf == NULL)
usr.sbin/syslogd/syslogd.c
462
logerror(msgbuf);
usr.sbin/syslogd/syslogd.c
463
free(msgbuf);