Home
last modified time | relevance | path

Searched refs:cu_cntr_stats (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dcap_util.h60 typedef struct cu_cntr_stats { struct
113 cu_cntr_stats_t *cu_cntr_stats; /* counter statistics array */ member
/illumos-gate/usr/src/uts/common/os/
H A Dcap_util.c492 if (cu_cpu_info == NULL || cu_cpu_info->cu_cntr_stats == NULL) in cu_cpc_init()
495 stats = cu_cpu_info->cu_cntr_stats; in cu_cpc_init()
1137 cu_cpu_info->cu_cntr_stats = kmem_zalloc(n * sizeof (cu_cntr_stats_t), in cu_cpu_init()
1139 if (cu_cpu_info->cu_cntr_stats == NULL) { in cu_cpu_init()
1237 ASSERT(cu_cpu_info->cu_cntr_stats == NULL || in cu_cpu_fini()
1239 if (cu_cpu_info->cu_cntr_stats != NULL && in cu_cpu_fini()
1241 kmem_free(cu_cpu_info->cu_cntr_stats, in cu_cpu_fini()
1243 cu_cpu_info->cu_cntr_stats = NULL; in cu_cpu_fini()