Lines Matching refs:current

59 	int current;		/* currently bound event in eventset */  member
73 sgrp->current = -1; in cpc_setgrp_new()
193 if (sgrp->current < 0) in cpc_setgrp_newset()
194 sgrp->current = 0; in cpc_setgrp_newset()
203 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_getbufs()
206 *data1 = &(sgrp->sets[sgrp->current].data1); in cpc_setgrp_getbufs()
207 *data2 = &(sgrp->sets[sgrp->current].data2); in cpc_setgrp_getbufs()
208 *scratch = &(sgrp->sets[sgrp->current].scratch); in cpc_setgrp_getbufs()
210 return (sgrp->sets[sgrp->current].nreqs); in cpc_setgrp_getbufs()
224 new->current = old->current; in cpc_setgrp_clone()
264 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_delset()
265 sgrp->current = sgrp->nelem - 1; in cpc_setgrp_delset()
266 if (sgrp->current < 0) in cpc_setgrp_delset()
268 free(sgrp->sets[sgrp->current].name); in cpc_setgrp_delset()
269 free(sgrp->sets[sgrp->current].hdr); in cpc_setgrp_delset()
270 free(sgrp->sets[sgrp->current].picnums); in cpc_setgrp_delset()
271 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].data1); in cpc_setgrp_delset()
272 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].data2); in cpc_setgrp_delset()
273 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].scratch); in cpc_setgrp_delset()
274 for (l = sgrp->current; l < sgrp->nelem - 1; l++) in cpc_setgrp_delset()
293 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_getset()
295 return (sgrp->sets[sgrp->current].set); in cpc_setgrp_getset()
301 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_getname()
303 return (sgrp->sets[sgrp->current].name); in cpc_setgrp_getname()
309 if ((uint_t)sgrp->current >= sgrp->nelem) in cpc_setgrp_gethdr()
311 return (sgrp->sets[sgrp->current].hdr); in cpc_setgrp_gethdr()
323 if (sgrp->current < 0) in cpc_setgrp_nextset()
326 if (++sgrp->current >= sgrp->nelem) in cpc_setgrp_nextset()
327 sgrp->current = 0; in cpc_setgrp_nextset()
338 if (sgrp->current > 0) in cpc_setgrp_reset()
339 sgrp->current = 0; in cpc_setgrp_reset()
369 return ((int)sgrp->sets[sgrp->current].sysonly); in cpc_setgrp_sysonly()