Lines Matching refs:zcap
536 cpucap_t *zcap = zone->zone_cpucap;
538 ASSERT(zcap->cap_zone == zone);
546 if (zcap->cap_gen != gen) {
547 if (zcap->cap_usage > zcap->cap_maxusage)
548 zcap->cap_maxusage = zcap->cap_usage;
549 zcap->cap_usage = 0;
550 zcap->cap_gen = gen;
552 DTRACE_PROBE2(cpucaps__zusage, cpucap_t *, zcap,
554 zcap->cap_usage += cap_usage;
556 if (zcap->cap_usage < 0)
557 zcap->cap_usage = MAX_USAGE - 1;