Home
last modified time | relevance | path

Searched refs:MSGBUF_SEQADD (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dsubr_msgbuf.c157 mbp->msg_wseq = MSGBUF_SEQADD(mbp, mbp->msg_wseq, 1); in msgbuf_do_addchar()
305 mbp->msg_rseq = MSGBUF_SEQADD(mbp, mbp->msg_rseq, 1); in msgbuf_getchar()
338 mbp->msg_rseq = MSGBUF_SEQADD(mbp, mbp->msg_rseq, len); in msgbuf_getbytes()
386 *seqp = MSGBUF_SEQADD(mbp, *seqp, len); in msgbuf_peekbytes()
/freebsd/sys/sys/
H A Dmsgbuf.h59 #define MSGBUF_SEQADD(mbp, seq1, seq2) (((seq1) + (seq2)) % (mbp)->msg_seqmod) macro