Lines Matching full:current
59 int current; /* currently bound event in eventset */
73 sgrp->current = -1;
193 if (sgrp->current < 0)
194 sgrp->current = 0;
203 if ((uint_t)sgrp->current >= sgrp->nelem)
206 *data1 = &(sgrp->sets[sgrp->current].data1);
207 *data2 = &(sgrp->sets[sgrp->current].data2);
208 *scratch = &(sgrp->sets[sgrp->current].scratch);
210 return (sgrp->sets[sgrp->current].nreqs);
224 new->current = old->current;
264 if ((uint_t)sgrp->current >= sgrp->nelem)
265 sgrp->current = sgrp->nelem - 1;
266 if (sgrp->current < 0)
268 free(sgrp->sets[sgrp->current].name);
269 free(sgrp->sets[sgrp->current].hdr);
270 free(sgrp->sets[sgrp->current].picnums);
271 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].data1);
272 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].data2);
273 (void) cpc_buf_destroy(sgrp->cpc, sgrp->sets[sgrp->current].scratch);
274 for (l = sgrp->current; l < sgrp->nelem - 1; l++)
293 if ((uint_t)sgrp->current >= sgrp->nelem)
295 return (sgrp->sets[sgrp->current].set);
301 if ((uint_t)sgrp->current >= sgrp->nelem)
303 return (sgrp->sets[sgrp->current].name);
309 if ((uint_t)sgrp->current >= sgrp->nelem)
311 return (sgrp->sets[sgrp->current].hdr);
323 if (sgrp->current < 0)
326 if (++sgrp->current >= sgrp->nelem)
327 sgrp->current = 0;
338 if (sgrp->current > 0)
339 sgrp->current = 0;
364 * Returns 1 if all requests in the current set count only system-mode events.
369 return ((int)sgrp->sets[sgrp->current].sysonly);