Searched refs:zcap (Results 1 – 1 of 1) sorted by relevance
536 cpucap_t *zcap = zone->zone_cpucap; in cap_project_usage_walker() local538 ASSERT(zcap->cap_zone == zone); in cap_project_usage_walker()546 if (zcap->cap_gen != gen) { in cap_project_usage_walker()547 if (zcap->cap_usage > zcap->cap_maxusage) in cap_project_usage_walker()548 zcap->cap_maxusage = zcap->cap_usage; in cap_project_usage_walker()549 zcap->cap_usage = 0; in cap_project_usage_walker()550 zcap->cap_gen = gen; in cap_project_usage_walker()552 DTRACE_PROBE2(cpucaps__zusage, cpucap_t *, zcap, in cap_project_usage_walker()554 zcap->cap_usage += cap_usage; in cap_project_usage_walker()556 if (zcap->cap_usage < 0) in cap_project_usage_walker()[all …]