Home
last modified time | relevance | path

Searched refs:safe_kstat_data_lookup (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/power/
H A Dsysstat.c88 #define CPU_STAT(ksp, name) (((kstat_named_t *)safe_kstat_data_lookup( \
112 static void *safe_kstat_data_lookup(kstat_t *, char *);
393 load_ave = ((kstat_named_t *)safe_kstat_data_lookup( in load_ave_load()
452 ((kstat_named_t *)safe_kstat_data_lookup( in nfs_load()
465 ((kstat_named_t *)safe_kstat_data_lookup( in nfs_load()
468 ((kstat_named_t *)safe_kstat_data_lookup( in nfs_load()
481 ((kstat_named_t *)safe_kstat_data_lookup( in nfs_load()
494 ((kstat_named_t *)safe_kstat_data_lookup( in nfs_load()
618 safe_kstat_data_lookup(kstat_t *ksp, char *name) in safe_kstat_data_lookup() function
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c97 static void *safe_kstat_data_lookup(kstat_t *, char *);
338 nproc_knp = safe_kstat_data_lookup(system_misc_ksp, "nproc"); in all_stat_init()
341 file_avail_knp = safe_kstat_data_lookup(file_cache_ksp, "buf_avail"); in all_stat_init()
342 file_total_knp = safe_kstat_data_lookup(file_cache_ksp, "buf_total"); in all_stat_init()
345 oversize_alloc_knp = safe_kstat_data_lookup(kmem_oversize_ksp, in all_stat_init()
347 oversize_fail_knp = safe_kstat_data_lookup(kmem_oversize_ksp, "fail"); in all_stat_init()
351 ufs_inode_size_knp = safe_kstat_data_lookup(ufs_inode_ksp, in all_stat_init()
354 safe_kstat_data_lookup(ufs_inode_ksp, in all_stat_init()
564 safe_kstat_data_lookup(kstat_t *ksp, char *name) in safe_kstat_data_lookup() function
577 return ((int)((char *)safe_kstat_data_lookup(ksp, name) - in safe_kstat_data_index()
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.c112 safe_kstat_data_lookup(kstat_t *ksp, char *name) in safe_kstat_data_lookup() function
134 new_ksn = (kstat_named_t *)safe_kstat_data_lookup(new_ksp, name); in delta()
137 old_ksn = (kstat_named_t *)safe_kstat_data_lookup(old_ksp, name); in delta()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_proc.c151 static void *safe_kstat_data_lookup(kstat_t *, char *);
169 #define CPU_STAT(ksp, name) (((kstat_named_t *)safe_kstat_data_lookup( \
691 safe_kstat_data_lookup(kstat_t *ksp, char *name) in safe_kstat_data_lookup() function
719 boot_time_knp = safe_kstat_data_lookup(system_misc_ksp, "boot_time"); in system_stat_init()
720 avenrun_1min_knp = safe_kstat_data_lookup(system_misc_ksp, in system_stat_init()
722 avenrun_5min_knp = safe_kstat_data_lookup(system_misc_ksp, in system_stat_init()
724 avenrun_15min_knp = safe_kstat_data_lookup(system_misc_ksp, in system_stat_init()