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

/freebsd-10.1-release/sys/dev/sound/midi/
H A Dmidiq.h54 #define MIDIQ_LEN(head) ((head).s - MIDIQ_AVAIL(head)) macro
H A Dmidi.c548 (intmax_t)MIDIQ_LEN(m->inq),
591 used = MIN(size, MIDIQ_LEN(m->outq));
777 used = MIN(MIDIQ_LEN(m->inq), uio->uio_resid);
856 uio->uio_resid, (intmax_t)MIDIQ_LEN(m->outq),
1243 len, (intmax_t)MIDIQ_LEN(m->outq),
H A Dsequencer.c926 used = MIN(MIDIQ_LEN(scp->in_q), uio->uio_resid);
999 uio->uio_resid, (intmax_t)MIDIQ_LEN(scp->out_q),
1462 if (MIDIQ_LEN(scp->in_q) < lim)
2030 rl = MIDIQ_LEN(scp->out_q);
2045 if (i == EWOULDBLOCK && rl == MIDIQ_LEN(scp->out_q) &&

Completed in 48 milliseconds