Lines Matching refs:msgbufp
126 struct msgbuf *msgbufp; variable
1012 msgbuf_addchar(msgbufp, '\n'); in msglogchar()
1015 msgbuf_addchar(msgbufp, '<'); in msglogchar()
1017 msgbuf_addchar(msgbufp, *p--); in msglogchar()
1018 msgbuf_addchar(msgbufp, '>'); in msglogchar()
1021 msgbuf_addchar(msgbufp, c); in msglogchar()
1036 msgbuf_addstr(msgbufp, pri, str, filter_cr); in msglogstr()
1047 size -= sizeof(*msgbufp); in msgbufinit()
1054 msgbufp = (struct msgbuf *)(cp + size); in msgbufinit()
1055 msgbuf_reinit(msgbufp, cp, size); in msgbufinit()
1056 if (msgbufmapped && oldp != msgbufp) in msgbufinit()
1057 msgbuf_copy(oldp, msgbufp); in msgbufinit()
1061 oldp = msgbufp; in msgbufinit()
1080 msgbuf_peekbytes(msgbufp, NULL, 0, &seq); in sysctl_kern_msgbuf()
1083 len = msgbuf_peekbytes(msgbufp, buf, sizeof(buf), &seq); in sysctl_kern_msgbuf()
1124 msgbuf_clear(msgbufp); in sysctl_kern_msgbuf_clear()
1146 db_printf("msgbufp = %p\n", msgbufp); in DB_SHOW_COMMAND_FLAGS()
1148 msgbufp->msg_magic, msgbufp->msg_size, msgbufp->msg_rseq, in DB_SHOW_COMMAND_FLAGS()
1149 msgbufp->msg_wseq, msgbufp->msg_ptr, msgbufp->msg_cksum); in DB_SHOW_COMMAND_FLAGS()
1150 for (i = 0; i < msgbufp->msg_size && !db_pager_quit; i++) { in DB_SHOW_COMMAND_FLAGS()
1151 j = MSGBUF_SEQ_TO_POS(msgbufp, i + msgbufp->msg_rseq); in DB_SHOW_COMMAND_FLAGS()
1152 db_printf("%c", msgbufp->msg_ptr[j]); in DB_SHOW_COMMAND_FLAGS()