Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c54 uint_t tidx = e->e_tidx; \
58 ip = in + e->e_choffs[ch] + (tidx * incr); \
73 if (++tidx == e->e_nframes) { \
74 tidx = 0; \
H A Daudio_engine.c158 int tidx; in auimpl_engine_reset() local
160 tidx = e->e_tidx; in auimpl_engine_reset()
171 cnt = min((e->e_nframes - tidx), resid); in auimpl_engine_reset()
174 bcopy(e->e_data + (tidx * e->e_framesz), ptr, nbytes); in auimpl_engine_reset()
176 tidx += cnt; in auimpl_engine_reset()
177 if (tidx == e->e_nframes) { in auimpl_engine_reset()
178 tidx = 0; in auimpl_engine_reset()
H A Daudio_client.c335 uint_t tidx; in auclnt_read() local
368 tidx = sp->s_tidx; in auclnt_read()
369 cnt = min(cnt, sp->s_nframes - tidx); in auclnt_read()
373 rv = uiomove(sp->s_data + (tidx * framesz), in auclnt_read()
/titanic_50/usr/src/tools/ctf/cvt/
H A Dctfmerge.c744 int c, i, idx, tidx, err; in main() local
868 for (idx = 0, tidx = 1; tidx < nifiles; tidx++) { in main()
869 if (strcmp(ifiles[idx], tifiles[tidx]) != 0) in main()
870 ifiles[++idx] = tifiles[tidx]; in main()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dlocaltime.c1071 int lo, hi, tidx, lidx; in set_zone_context() local
1116 tidx = hi; in set_zone_context()
1124 tidx = lidx; in set_zone_context()
1130 tidx = (lo + hi) / 2; in set_zone_context()
1131 if (t == lclzonep->ats[tidx]) in set_zone_context()
1133 else if (t < lclzonep->ats[tidx]) in set_zone_context()
1134 hi = tidx - 1; in set_zone_context()
1136 lo = tidx + 1; in set_zone_context()
1139 tidx = hi; in set_zone_context()
1147 ttisp = &lclzonep->ttis[lclzonep->types[tidx]]; in set_zone_context()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c445 int err, amt, bufsiz, tidx, oidx; in ses_getputstat() local
497 tidx = -1; in ses_getputstat()
500 tidx = cc->ses_typidx[objid].ses_tidx; in ses_getputstat()
504 if (ses_decode(sdata, amt, cc->ses_eltmap, tidx, oidx, sp)) { in ses_getputstat()
508 if (ses_encode(sdata, amt, cc->ses_eltmap, tidx, oidx, sp)) { in ses_getputstat()
/titanic_50/usr/src/uts/common/vm/
H A Dvm_anon.c3287 ulong_t tidx; in anon_shmap_free_pages() local
3329 tidx = eidx; in anon_shmap_free_pages()
3330 if (eidx != ahp->size && anon_get_next_ptr(ahp, &tidx) != NULL && in anon_shmap_free_pages()
3331 tidx - sidx < pages) { in anon_shmap_free_pages()