Home
last modified time | relevance | path

Searched refs:kstat_lookup (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/powertop/common/
H A Dbattery.c71 if (kstat_lookup(kc, kstat_batt_mod[1], 0, NULL)) in pt_battery_mod_lookup()
74 if (kstat_lookup(kc, kstat_batt_mod[2], 0, NULL)) in pt_battery_mod_lookup()
128 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
151 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
178 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
200 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
224 ksp = kstat_lookup(kc, kstat_batt_mod[kstat_batt_idx], 0, in pt_battery_stat_snapshot()
H A Dturbo.c77 ksp = kstat_lookup(kc, "turbo", 0, NULL); in pt_turbo_init()
125 ksp = kstat_lookup(kc, "turbo", g_cpu_table[cpu], NULL); in pt_turbo_snapshot()
H A Dcpufreq.c189 ksp = kstat_lookup(kc, "cpu_info", g_cpu_table[g_observed_cpu], NULL); in pt_cpufreq_stat_prepare()
405 ksp = kstat_lookup(kc, "cpu_info", g_cpu_table[cpu], NULL); in pt_cpufreq_snapshot_cpu()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c517 rpc_clts_client_kstat = kstat_lookup(kc, "unix", 0, "rpc_clts_client"); in setup()
518 rpc_clts_server_kstat = kstat_lookup(kc, "unix", 0, "rpc_clts_server"); in setup()
519 rpc_cots_client_kstat = kstat_lookup(kc, "unix", 0, "rpc_cots_client"); in setup()
520 rpc_cots_server_kstat = kstat_lookup(kc, "unix", 0, "rpc_cots_server"); in setup()
521 rpc_rdma_client_kstat = kstat_lookup(kc, "unix", 0, "rpc_rdma_client"); in setup()
522 rpc_rdma_server_kstat = kstat_lookup(kc, "unix", 0, "rpc_rdma_server"); in setup()
523 nfs_client_kstat = kstat_lookup(kc, "nfs", 0, "nfs_client"); in setup()
524 nfs4_client_kstat = kstat_lookup(kc, "nfs", 0, "nfs4_client"); in setup()
525 nfs_server_v2_kstat = kstat_lookup(kc, "nfs", 2, "nfs_server"); in setup()
526 nfs_server_v3_kstat = kstat_lookup(kc, "nfs", 3, "nfs_server"); in setup()
[all …]
/illumos-gate/usr/src/cmd/fs.d/
H A Dfssnapsup.c114 kshigh = kstat_lookup(kslib, SNAP_NAME, 0, FSSNAP_KSTAT_HIGHWATER); in fssnap_show_status()
185 mnt = kstat_lookup(kslib, SNAP_NAME, i, FSSNAP_KSTAT_MNTPT); in fssnap_show_status()
218 num = kstat_lookup(kslib, SNAP_NAME, snapnum, FSSNAP_KSTAT_NUM); in fssnap_display_info()
254 mnt = kstat_lookup(kslib, SNAP_NAME, snapnum, in fssnap_display_info()
314 back = kstat_lookup(kslib, SNAP_NAME, snapnum, in fssnap_display_info()
/illumos-gate/usr/src/man/man3kstat/
H A DMakefile23 kstat_lookup.3kstat \
31 kstat_data_lookup.3kstat := LINKSRC = kstat_lookup.3kstat
/illumos-gate/usr/src/cmd/power/
H A Dsysstat.c381 if ((load_ave_ksp = kstat_lookup(kc, "unix", 0, "system_misc")) == in load_ave_init()
418 nfs_client2_kstat = kstat_lookup(kc, "nfs", 0, "rfsreqcnt_v2"); in nfs_init()
419 nfs_client3_kstat = kstat_lookup(kc, "nfs", 0, "rfsreqcnt_v3"); in nfs_init()
420 nfs_server2_kstat = kstat_lookup(kc, "nfs", 0, "rfsproccnt_v2"); in nfs_init()
421 nfs_server3_kstat = kstat_lookup(kc, "nfs", 0, "rfsproccnt_v3"); in nfs_init()
545 conskbd_ksp = kstat_lookup(kc, "conskbd", 0, "activity"); in conskbd_init()
567 consms_ksp = kstat_lookup(kc, "consms", 0, "activity"); in consms_init()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3kstat.inc21 target=kstat_lookup.3kstat
22 file path=usr/share/man/man3kstat/kstat_lookup.3kstat
/illumos-gate/usr/src/cmd/stat/common/
H A Dacquire.c55 kstat_t *ksp = kstat_lookup(kc, module, instance, name); in kstat_lookup_read()
249 if ((ksp = kstat_lookup(kc, "unix", 0, "sysinfo")) == NULL) in acquire_sys()
255 if ((ksp = kstat_lookup(kc, "unix", 0, "vminfo")) == NULL) in acquire_sys()
261 if ((ksp = kstat_lookup(kc, "unix", 0, "dnlcstats")) == NULL) in acquire_sys()
267 if ((ksp = kstat_lookup(kc, "unix", 0, "system_misc")) == NULL) in acquire_sys()
/illumos-gate/usr/src/lib/libkstat/
H A Dkstat.h52 extern kstat_t *kstat_lookup(kstat_ctl_t *, const char *, int,
/illumos-gate/usr/src/cmd/fm/schemes/cpu/
H A Dcpu.c80 ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL); in cpu_cpuid_present()
102 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) { in cpu_get_serialid_kstat()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c771 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
785 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
799 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
813 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
827 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c112 kst = kstat_lookup(kc, "unix", 0,
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c189 ksp = kstat_lookup (kc, "cpu_info", cpu_id, NULL); in devinfo_cpu_add()
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drstat_proc.c680 kstat_t *ksp = kstat_lookup(kctl, ks_module, ks_instance, ks_name); in safe_kstat_lookup()
747 if ((ksp = kstat_lookup(kc, "cpu", ksp->ks_instance, in system_stat_init()
979 if (((ksp = kstat_lookup(kc, "link", 0, namebuf)) in init_net()
980 == NULL) && ((ksp = kstat_lookup(kc, NULL, -1, in init_net()
/illumos-gate/usr/src/lib/libkstat/common/
H A Dmapfile-vers55 kstat_lookup;
H A Dkstat.c302 kstat_lookup(kstat_ctl_t *kc, const char *ks_module, int ks_instance, in kstat_lookup() function
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c198 ksp = kstat_lookup(kc, NULL, -1, kstat_name); in Sun_sasGetPhyStatistics()
/illumos-gate/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c676 ksp = kstat_lookup(smbstat_ksc, "cpu", i, "sys"); in smbstat_cpu_snapshot()
733 kstat_lookup(smbstat_ksc, "unix", -1, SMBSRV_KSTAT_WORKERS); in smbstat_wrk_init()
804 smbstat_srv_ksp = kstat_lookup(smbstat_ksc, SMBSRV_KSTAT_MODULE, in smbstat_srv_init()
/illumos-gate/usr/src/cmd/busstat/
H A Dbusstat.c277 if ((cnt_ksp = kstat_lookup(kc, device, inst_num, "counters")) in print_evt()
628 if ((cnt_ksp = kstat_lookup(kc, dev_name, in add_dev_node()
1445 if ((p_ksp = kstat_lookup(kc, dev_name, inst_num, pic)) == NULL) { in find_pic_kstat()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c772 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
784 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
796 ksp = kstat_lookup(kc, ENVCTRL_MODULE_NAME, INSTANCE_0, in read_platform_kstats()
/illumos-gate/usr/src/cmd/sa/
H A Dsadc.c335 ufs_inode_ksp = kstat_lookup(kc, "ufs", 0, "inode_cache"); in all_stat_init()
553 kstat_t *ksp = kstat_lookup(kc, ks_module, ks_instance, ks_name); in safe_kstat_lookup()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpitime.c412 ksnum = kstat_lookup(kslib, SNAP_NAME, snapnum, FSSNAP_KSTAT_NUM); in is_fssnap_dump()
/illumos-gate/usr/src/cmd/fuser/
H A Dfuser.c147 (ksp = kstat_lookup(kc, "unix", 0, "var")) == NULL || in get_f_user_buf()
/illumos-gate/usr/src/cmd/pools/poold/libjkstat/
H A Djkstat.c204 ksp = kstat_lookup(kctl, (char *)module, instance, (char *)name); in Java_com_sun_solaris_service_kstat_KstatCtl_lookup()

12