Searched refs:MIDIQ_LEN (Results 1 - 3 of 3) sorted by relevance

/freebsd-13-stable/sys/dev/sound/midi/
H A Dmidiq.h56 #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) macro
H A Dmidi.c552 (intmax_t)MIDIQ_LEN(m->inq),
595 used = MIN(size, MIDIQ_LEN(m->outq));
780 used = MIN(MIDIQ_LEN(m->inq), uio->uio_resid);
858 uio->uio_resid, (intmax_t)MIDIQ_LEN(m->outq),
1237 len, (intmax_t)MIDIQ_LEN(m->outq),
H A Dsequencer.c919 used = MIN(MIDIQ_LEN(scp->in_q), uio->uio_resid);
994 uio->uio_resid, (intmax_t)MIDIQ_LEN(scp->out_q),
1465 if (MIDIQ_LEN(scp->in_q) < lim)
2031 rl = MIDIQ_LEN(scp->out_q);
2046 if (i == EWOULDBLOCK && rl == MIDIQ_LEN(scp->out_q) &&

Completed in 110 milliseconds