Home
last modified time | relevance | path

Searched refs:MSGBUF_SEQ_TO_POS (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_msgbuf.c153 pos = MSGBUF_SEQ_TO_POS(mbp, mbp->msg_wseq); in msgbuf_do_addchar()
304 c = (u_char)mbp->msg_ptr[MSGBUF_SEQ_TO_POS(mbp, mbp->msg_rseq)]; in msgbuf_getchar()
333 pos = MSGBUF_SEQ_TO_POS(mbp, mbp->msg_rseq); in msgbuf_getbytes()
382 pos = MSGBUF_SEQ_TO_POS(mbp, *seqp); in msgbuf_peekbytes()
385 bcopy(&mbp->msg_ptr[MSGBUF_SEQ_TO_POS(mbp, *seqp)], buf, len); in msgbuf_peekbytes()
H A Dsubr_prf.c1145 j = MSGBUF_SEQ_TO_POS(msgbufp, i + msgbufp->msg_rseq); in DB_SHOW_COMMAND_FLAGS()
/freebsd/sys/sys/
H A Dmsgbuf.h57 #define MSGBUF_SEQ_TO_POS(mbp, seq) ((seq) % (mbp)->msg_size) macro
/freebsd/sbin/dmesg/
H A Ddmesg.c140 bufpos = MSGBUF_SEQ_TO_POS(&cur, cur.msg_wseq); in main()