Searched refs:MSGBUF_SEQ_TO_POS (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/kern/ |
H A D | subr_msgbuf.c | 153 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 D | subr_prf.c | 1145 j = MSGBUF_SEQ_TO_POS(msgbufp, i + msgbufp->msg_rseq); in DB_SHOW_COMMAND_FLAGS()
|
/freebsd/sys/sys/ |
H A D | msgbuf.h | 57 #define MSGBUF_SEQ_TO_POS(mbp, seq) ((seq) % (mbp)->msg_size) macro
|
/freebsd/sbin/dmesg/ |
H A D | dmesg.c | 140 bufpos = MSGBUF_SEQ_TO_POS(&cur, cur.msg_wseq); in main()
|