Searched refs:s_tail (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_client.c150 return (sp->s_tail);
183 ASSERT((sp->s_head - sp->s_tail) <= sp->s_nframes);
184 count = (uint_t)(sp->s_head - sp->s_tail);
196 n = max(n, sp->s_head - sp->s_tail);
197 sp->s_tail += n;
203 ASSERT(sp->s_tail <= sp->s_head);
225 ASSERT(sp->s_head >= sp->s_tail);
229 cnt = n = min(n, sp->s_head - sp->s_tail);
242 sp->s_tail += nf;
250 ASSERT(sp->s_tail <
[all...]
H A Daudio_input.c104 ASSERT(sp->s_head >= sp->s_tail);
134 ASSERT(sp->s_tail <= sp->s_head);
225 ASSERT(sp->s_head >= sp->s_tail);
226 space = sp->s_nframes - (sp->s_head - sp->s_tail);
H A Daudio_output.c237 ASSERT(sp->s_head >= sp->s_tail);
239 avail = sp->s_head - sp->s_tail;
258 sp->s_tail += n;
H A Daudio_impl.h76 #define s_tail s_buf.b_tail macro
H A Daudio_format.c908 sp->s_tail = sp->s_head = 0;

Completed in 65 milliseconds