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

/freebsd-11.0-release/sys/dev/sound/midi/
H A Dmidiq.h54 #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) macro
H A Dmidi.c556 (intmax_t)MIDIQ_LEN(m->inq),
599 used = MIN(size, MIDIQ_LEN(m->outq));
785 used = MIN(MIDIQ_LEN(m->inq), uio->uio_resid);
864 uio->uio_resid, (intmax_t)MIDIQ_LEN(m->outq),
1251 len, (intmax_t)MIDIQ_LEN(m->outq),
H A Dsequencer.c917 used = MIN(MIDIQ_LEN(scp->in_q), uio->uio_resid);
990 uio->uio_resid, (intmax_t)MIDIQ_LEN(scp->out_q),
1453 if (MIDIQ_LEN(scp->in_q) < lim)
2021 rl = MIDIQ_LEN(scp->out_q);
2036 if (i == EWOULDBLOCK && rl == MIDIQ_LEN(scp->out_q) &&

Completed in 62 milliseconds