Lines Matching refs:out_q
122 MIDIQ_HEAD(, u_char) in_q, out_q;
444 while (MIDIQ_EMPTY(scp->out_q)) { in seq_eventthread()
453 MIDIQ_DEQ(scp->out_q, event, EV_SZ); in seq_eventthread()
455 if (MIDIQ_AVAIL(scp->out_q) < scp->out_water) { in seq_eventthread()
539 MIDIQ_INIT(scp->out_q, buf, EV_SZ * 1024); in seq_addunit()
612 if (scp->out_q.b) in seq_addunit()
613 free(scp->out_q.b, M_TEMP); in seq_addunit()
669 free(scp->out_q.b, M_TEMP); in seq_delunit()
802 scp->out_water = MIDIQ_SIZE(scp->out_q) / 2; in mseq_open()
960 while (MIDIQ_AVAIL(scp->out_q) == 0) { in mseq_write()
991 uio->uio_resid, (intmax_t)MIDIQ_LEN(scp->out_q), in mseq_write()
992 (intmax_t)MIDIQ_AVAIL(scp->out_q))); in mseq_write()
1096 MIDIQ_ENQ(scp->out_q, event, EV_SZ); in mseq_write()
1098 MIDIQ_ENQ(scp->out_q, event, EV_SZ); in mseq_write()
1102 MIDIQ_ENQ(scp->out_q, newevent, EV_SZ); in mseq_write()
1252 *(int *)arg = scp->out_q.fl; in mseq_ioctl()
1385 RANGE(*(int *)arg, 1, MIDIQ_SIZE(scp->out_q) - 1); in mseq_ioctl()
1450 if (MIDIQ_AVAIL(scp->out_q) < lim) in mseq_poll()
1986 MIDIQ_CLEAR(scp->out_q); in seq_reset()
2022 while (!MIDIQ_EMPTY(scp->out_q)) { in seq_sync()
2028 rl = MIDIQ_LEN(scp->out_q); in seq_sync()
2043 if (i == EWOULDBLOCK && rl == MIDIQ_LEN(scp->out_q) && in seq_sync()
2049 MIDIQ_CLEAR(scp->out_q); in seq_sync()