Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsubr_msgbuf.c135 len = MSGBUF_SEQSUB(mbp, mbp->msg_wseq, mbp->msg_rseq); in msgbuf_getcount()
297 len = MSGBUF_SEQSUB(mbp, wseq, mbp->msg_rseq); in msgbuf_getchar()
303 mbp->msg_rseq = MSGBUF_SEQSUB(mbp, wseq, mbp->msg_size); in msgbuf_getchar()
324 len = MSGBUF_SEQSUB(mbp, wseq, mbp->msg_rseq); in msgbuf_getbytes()
330 mbp->msg_rseq = MSGBUF_SEQSUB(mbp, wseq, mbp->msg_size); in msgbuf_getbytes()
365 *seqp = MSGBUF_SEQSUB(mbp, mbp->msg_wseq, mbp->msg_size); in msgbuf_peekbytes()
373 len = MSGBUF_SEQSUB(mbp, wseq, *seqp); in msgbuf_peekbytes()
379 *seqp = MSGBUF_SEQSUB(mbp, wseq, mbp->msg_size); in msgbuf_peekbytes()
/freebsd/sys/sys/
H A Dmsgbuf.h60 #define MSGBUF_SEQSUB(mbp, seq1, seq2) ((seq1) >= (seq2) ? (seq1) - (seq2) : \ macro