Home | History | Annotate | Download | only in dev

Lines Matching refs:buf_cur

760 		if (count > buf_lim - buf_cur
768 *buf_cur++ = sc->rcv.pos[i];
961 KASSERT(buf_cur + appetite <= buf_lim);
967 if (buf_cur + appetite > buf_end) {
970 buf_end - buf_cur));
972 error = uiomove(buf_cur, buf_end - buf_cur, uio);
980 appetite -= buf_end - buf_cur;
981 buf_cur = mb->buf;
985 error = uiomove(buf_cur, appetite, uio);
993 buf_cur += appetite;
1105 buf_cur = *buf;
1111 *cp++ = *buf_cur++;
1146 *buf = buf_cur;
1200 &buf_cur, &buf_lim);
1209 sc->hw_hdl, *buf_cur));
1210 error = sc->hw_if->output(sc->hw_hdl, *buf_cur);
1214 buf_cur++;
1228 KASSERT(buf_cur == buf_lim);
1275 &buf_cur, &buf_lim);
1282 error = sc->hw_if->output(sc->hw_hdl, *buf_cur);
1285 ++buf_cur;
1399 if (idx_cur == idx_lim || count > buf_lim - buf_cur) {
1402 if (idx_cur == idx_lim || count > buf_lim - buf_cur) {
1410 *buf_cur++ = *(sc->xmt.pos)++;
1481 bufspace = MIDI_BUF_PRODUCER_REFRESH(mb,buf) - buf_cur;
1641 *(int *)addr = buf_lim - buf_cur;
1726 if (idx_lim - idx_cur >= 1 && buf_lim - buf_cur >= 3)
1760 kn->kn_data = buf_lim - buf_cur;
1799 kn->kn_data = ((buf_lim - buf_cur)-1)>>1;