/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | battery.c | 136 (void) kstat_read(kc, ksp, NULL); in pt_battery_stat_snapshot() 159 (void) kstat_read(kc, ksp, NULL); in pt_battery_stat_snapshot() 186 (void) kstat_read(kc, ksp, NULL); in pt_battery_stat_snapshot() 208 (void) kstat_read(kc, ksp, NULL); in pt_battery_stat_snapshot() 232 (void) kstat_read(kc, ksp, NULL); in pt_battery_stat_snapshot()
|
H A D | turbo.c | 84 (void) kstat_read(kc, ksp, NULL); in pt_turbo_init() 133 if (kstat_read(kc, ksp, NULL) == -1) { in pt_turbo_snapshot()
|
H A D | cpufreq.c | 197 (void) kstat_read(kc, ksp, NULL); in pt_cpufreq_stat_prepare() 412 if (kstat_read(kc, ksp, NULL) == -1) { in pt_cpufreq_snapshot_cpu()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | sysstat.c | 259 if (kstat_read(kc, disk->ks, in diskinfo_load() 315 kstat_read(kc, ksp, NULL) != -1) in cpu_stats_init() 336 if (kstat_read(kc, cpu_stats_list[i], NULL) == -1) in cpu_stats_load() 390 if (kstat_read(kc, load_ave_ksp, NULL) == -1) { in load_ave_load() 444 if (kstat_read(kc, nfs_client2_kstat, NULL) == -1) { in nfs_load() 457 if (kstat_read(kc, nfs_client3_kstat, NULL) == -1) { in nfs_load() 473 if (kstat_read(kc, nfs_server2_kstat, NULL) == -1) { in nfs_load() 486 if (kstat_read(kc, nfs_server3_kstat, NULL) == -1) { in nfs_load() 557 if (conskbd_ksp == NULL || kstat_read(kc, conskbd_ksp, NULL) == -1 || in conskbd_idle_time() 579 if (consms_ksp == NULL || kstat_read(kc, consms_ksp, NULL) == -1 || in consms_idle_time()
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | fssnapsup.c | 180 (void) kstat_read(kslib, kshigh, NULL); in fssnap_show_status() 190 if (kstat_read(kslib, mnt, NULL) == -1) in fssnap_show_status() 222 if (kstat_read(kslib, num, NULL) == -1) in fssnap_display_info() 261 if (kstat_read(kslib, mnt, NULL) == -1) { in fssnap_display_info() 317 (kstat_read(kslib, back, NULL) == -1) || in fssnap_display_info()
|
/illumos-gate/usr/src/man/man3kstat/ |
H A D | Makefile | 25 kstat_read.3kstat 35 kstat_write.3kstat := LINKSRC = kstat_read.3kstat
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 58 if (kstat_read(kc, ksp, NULL) == -1) in kstat_lookup_read() 222 if (kstat_read(kc, ksp, NULL) == -1) in acquire_intrs() 252 if (kstat_read(kc, ksp, &ss->s_sys.ss_sysinfo) == -1) in acquire_sys() 258 if (kstat_read(kc, ksp, &ss->s_sys.ss_vminfo) == -1) in acquire_sys() 264 if (kstat_read(kc, ksp, &ss->s_sys.ss_nc) == -1) in acquire_sys() 270 if (kstat_read(kc, ksp, NULL) == -1) in acquire_sys()
|
H A D | dsr.c | 465 if (kstat_read(kc, ksp, &mik) == -1) in cur_hostname()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3kstat.inc | 24 file path=usr/share/man/man3kstat/kstat_read.3kstat 25 link path=usr/share/man/man3kstat/kstat_write.3kstat target=kstat_read.3kstat
|
/illumos-gate/usr/src/cmd/busstat/ |
H A D | busstat.c | 284 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in print_evt() 315 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in print_evt() 636 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in add_dev_node() 786 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in modify_evt_node() 906 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in set_evt() 914 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in set_evt() 1001 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in read_evts() 1062 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in read_r_evt_node() 1188 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in read_w_evt_node()
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sadc.c | 382 kstat_read(kc, ksp, NULL) != -1) in all_stat_init() 385 kstat_read(kc, ksp, NULL) != -1) in all_stat_init() 445 if (kstat_read(kc, cpu_stat_list[i], (void *) &cs) == -1) in all_stat_load() 476 if (kstat_read(kc, kmem_cache_list[i], NULL) == -1) in all_stat_load() 542 kid_t kstat_chain_id = kstat_read(kc, ksp, data); in safe_kstat_read() 663 if (kstat_read(kc, iodev->ksp, (void *) &iodev->kios) == -1) in iodevinfo_load()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.c | 669 kid_t kstat_chain_id = kstat_read(kctl, ksp, data); in safe_kstat_read() 744 kstat_read(kc, ksp, NULL) != -1) { in system_stat_init() 748 "vm")) != NULL && kstat_read(kc, ksp, NULL) != -1) in system_stat_init() 781 if (kstat_read(kc, &cpu_stats_list[i].sys, NULL) == -1 || in system_stat_load() 782 kstat_read(kc, &cpu_stats_list[i].vm, NULL) == -1) in system_stat_load() 899 if (kstat_read(kc, disk->ks, (void *)&disk->kios) == -1) in diskinfo_load() 986 if (kstat_read(kc, ksp, NULL) == -1) in init_net() 1060 if (kstat_read(kc, net->ks, NULL) == -1) in netinfo_load()
|
/illumos-gate/usr/src/lib/libkstat/ |
H A D | kstat.h | 49 extern kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
|
/illumos-gate/usr/src/lib/libkstat/common/ |
H A D | kstat.c | 105 kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data) in kstat_read() function 245 kcid = kstat_read(kc, &k0, NULL); in kstat_chain_update()
|
H A D | mapfile-vers | 57 kstat_read;
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 774 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 788 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 802 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 816 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 830 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | memstat.c | 164 if (kstat_read(kc, kst, NULL) == -1)
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_cpu.c | 199 kstat_read (kc, ksp, NULL); in devinfo_cpu_add()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 209 if (kstat_read(kc, ksp, NULL) == -1) { in Sun_sasGetPhyStatistics()
|
/illumos-gate/usr/src/cmd/smbsrv/smbstat/ |
H A D | smbstat.c | 681 if (kstat_read(smbstat_ksc, ksp, NULL) == -1) in smbstat_cpu_snapshot() 756 if (kstat_read(smbstat_ksc, smbstat_wrk_ksp, NULL) == -1) in smbstat_wrk_snapshot() 831 if ((kstat_read(smbstat_ksc, smbstat_srv_ksp, NULL) == -1) || in smbstat_srv_snapshot()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 381 if (kstat_read(kc, ksp, &mik) == -1) in is_v4_mount()
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 775 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 787 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats() 799 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_kstat.c | 213 if (kstat_read(kc, ksp, NULL) == -1) { in update_sdata_list()
|
/illumos-gate/usr/src/cmd/fm/schemes/cpu/ |
H A D | cpu.c | 107 if (kstat_read(kc, ksp, NULL) == -1) { in cpu_get_serialid_kstat()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpitime.c | 418 if (kstat_read(kslib, ksnum, NULL) == -1) { in is_fssnap_dump()
|