Home
last modified time | relevance | path

Searched refs:sndstat_bufptr (Results 1 – 1 of 1) sorted by relevance

/freebsd-9-stable/sys/dev/sound/pcm/
Dsndstat.c70 static int sndstat_bufptr = -1; variable
77 if (sndstat_bufptr != -1) { \
79 sndstat_bufptr = -1; \
148 sndstat_bufptr = 0; in sndstat_open()
183 sndstat_bufptr == -1) { in sndstat_read()
188 if (sndstat_bufptr == 0) { in sndstat_read()
197 l = min(buf->uio_resid, sbuf_len(&sndstat_sbuf) - sndstat_bufptr); in sndstat_read()
198 err = (l > 0)? uiomove(sbuf_data(&sndstat_sbuf) + sndstat_bufptr, l, buf) : 0; in sndstat_read()
199 sndstat_bufptr += l; in sndstat_read()