Searched refs:s_hidx (Results 1 – 4 of 4) sorted by relevance
105 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data()113 data = sp->s_data + (sp->s_hidx * framesz); in auimpl_produce_data()118 nf = min(nframes - sp->s_hidx, count); in auimpl_produce_data()124 sp->s_hidx += nf; in auimpl_produce_data()128 if (sp->s_hidx == nframes) { in auimpl_produce_data()129 sp->s_hidx = 0; in auimpl_produce_data()135 ASSERT(sp->s_hidx < nframes); in auimpl_produce_data()
156 return (sp->s_hidx); in auclnt_get_hidx()204 ASSERT(sp->s_hidx < sp->s_nframes); in auclnt_consume()227 ASSERT(sp->s_hidx < nframes); in auclnt_consume_data()266 sp->s_hidx += n; in auclnt_produce()267 if (sp->s_hidx >= sp->s_nframes) { in auclnt_produce()268 sp->s_hidx -= sp->s_nframes; in auclnt_produce()272 ASSERT(sp->s_hidx < sp->s_nframes); in auclnt_produce()295 ASSERT(sp->s_hidx < nframes); in auclnt_produce_data()298 data = sp->s_data + (sp->s_hidx * framesz); in auclnt_produce_data()302 nf = min(nframes - sp->s_hidx, n); in auclnt_produce_data()[all …]
80 #define s_hidx s_buf.b_hidx macro
909 sp->s_tidx = sp->s_hidx = 0; in auimpl_format_setup()