Home
last modified time | relevance | path

Searched refs:kstat_read (Results 1 – 25 of 70) sorted by relevance

123

/titanic_50/usr/src/lib/libprtdiag/common/
H A Dkstat.c95 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
129 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
190 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
203 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
219 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) == -1)) { in read_platform_kstats()
293 if ((ksp != NULL) && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
306 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
323 } else if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
339 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
354 if (kstat_read(kc, ksp, NULL) == -1) { in read_platform_kstats()
/titanic_50/usr/src/cmd/powertop/common/
H A Dbattery.c136 (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 Dturbo.c84 (void) kstat_read(kc, ksp, NULL); in pt_turbo_init()
133 if (kstat_read(kc, ksp, NULL) == -1) { in pt_turbo_snapshot()
H A Dcpufreq.c197 (void) kstat_read(kc, ksp, NULL); in pt_cpufreq_stat_prepare()
412 if (kstat_read(kc, ksp, NULL) == -1) { in pt_cpufreq_snapshot_cpu()
/titanic_50/usr/src/cmd/power/
H A Dsysstat.c260 if (kstat_read(kc, disk->ks, in diskinfo_load()
316 kstat_read(kc, ksp, NULL) != -1) in cpu_stats_init()
337 if (kstat_read(kc, cpu_stats_list[i], NULL) == -1) in cpu_stats_load()
391 if (kstat_read(kc, load_ave_ksp, NULL) == -1) { in load_ave_load()
445 if (kstat_read(kc, nfs_client2_kstat, NULL) == -1) { in nfs_load()
458 if (kstat_read(kc, nfs_client3_kstat, NULL) == -1) { in nfs_load()
474 if (kstat_read(kc, nfs_server2_kstat, NULL) == -1) { in nfs_load()
487 if (kstat_read(kc, nfs_server3_kstat, NULL) == -1) { in nfs_load()
558 if (conskbd_ksp == NULL || kstat_read(kc, conskbd_ksp, NULL) == -1 || in conskbd_idle_time()
580 if (consms_ksp == NULL || kstat_read(kc, consms_ksp, NULL) == -1 || in consms_idle_time()
/titanic_50/usr/src/lib/libkstat/
H A Dkstat.h51 extern kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
59 extern kid_t kstat_read();
/titanic_50/usr/src/cmd/fs.d/
H A Dfssnapsup.c182 (void) kstat_read(kslib, kshigh, NULL); in fssnap_show_status()
192 if (kstat_read(kslib, mnt, NULL) == -1) in fssnap_show_status()
224 if (kstat_read(kslib, num, NULL) == -1) in fssnap_display_info()
263 if (kstat_read(kslib, mnt, NULL) == -1) { in fssnap_display_info()
319 (kstat_read(kslib, back, NULL) == -1) || in fssnap_display_info()
/titanic_50/usr/src/man/man3kstat/
H A DMakefile25 kstat_read.3kstat
35 kstat_write.3kstat := LINKSRC = kstat_read.3kstat
/titanic_50/usr/src/cmd/stat/common/
H A Dacquire.c58 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()
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-library.man3kstat.inc21 file path=usr/share/man/man3kstat/kstat_read.3kstat
25 link path=usr/share/man/man3kstat/kstat_write.3kstat target=kstat_read.3kstat
/titanic_50/usr/src/cmd/busstat/
H A Dbusstat.c282 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in print_evt()
313 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in print_evt()
634 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in add_dev_node()
784 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in modify_evt_node()
904 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in set_evt()
912 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in set_evt()
999 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in read_evts()
1060 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in read_r_evt_node()
1186 if (kstat_read(kc, pic_ksp, NULL) == FAIL) { in read_w_evt_node()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclkstat.c148 kstat_read(kc, ksp, NULL) != -1 && in kstat_name_lookup()
155 if (kstat_read(kc, ksp, NULL) == -1) in kstat_name_lookup()
409 if (kstat_read(kc, ksp, NULL) == -1) { in parallel_port_state()
/titanic_50/usr/src/cmd/sa/
H A Dsadc.c382 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()
/titanic_50/usr/src/cmd/rpcsvc/
H A Drstat_proc.c671 kid_t kstat_chain_id = kstat_read(kctl, ksp, data); in safe_kstat_read()
746 kstat_read(kc, ksp, NULL) != -1) { in system_stat_init()
750 "vm")) != NULL && kstat_read(kc, ksp, NULL) != -1) in system_stat_init()
783 if (kstat_read(kc, &cpu_stats_list[i].sys, NULL) == -1 || in system_stat_load()
784 kstat_read(kc, &cpu_stats_list[i].vm, NULL) == -1) in system_stat_load()
901 if (kstat_read(kc, disk->ks, (void *)&disk->kios) == -1) in diskinfo_load()
988 if (kstat_read(kc, ksp, NULL) == -1) in init_net()
1062 if (kstat_read(kc, net->ks, NULL) == -1) in netinfo_load()
/titanic_50/usr/src/lib/libkstat/common/
H A Dkstat.c104 kstat_read(kstat_ctl_t *kc, kstat_t *ksp, void *data) in kstat_read() function
244 kcid = kstat_read(kc, &k0, NULL); in kstat_chain_update()
H A Dllib-lkstat42 kid_t kstat_read(kstat_ctl_t *, kstat_t *, void *);
H A Dmapfile-vers57 kstat_read;
/titanic_50/usr/src/cmd/sendmail/libsm/
H A Dmemstat.c166 if (kstat_read(kc, kst, NULL) == -1)
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c786 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
800 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
814 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
828 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
842 if (ksp != NULL && (kstat_read(kc, ksp, NULL) != -1)) { in read_platform_kstats()
/titanic_50/usr/src/cmd/fm/modules/sun4u/USII-io-diagnosis/
H A Diod_main.c122 if (kstat_read(kc, ksp, NULL) == -1) { in iod_cpu_check_support()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dunix.c90 if (kstat_read(kc, ksp, NULL) == -1) { in unixpr()
/titanic_50/usr/src/cmd/avs/dsstat/
H A Dcommon.c83 kstat_read(kc, ksp, NULL) == -1) in kstat_retrieve()
/titanic_50/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_cpu.c201 kstat_read (kc, ksp, NULL); in devinfo_cpu_add()
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/
H A Dmontecarlo.c578 if (kstat_read(kc, ksp_leddata, NULL) == -1) { in do_scsb_kstat()
602 if (kstat_read(kc, ksp_state, NULL) == -1) { in do_scsb_kstat()
640 if (kstat_read(kc, ksp_topo, NULL) == -1) { in do_scsb_kstat()
901 if (kstat_read(kc, ksp_ps, NULL) == -1) { in do_pcf8574_kstat()
929 if (kstat_read(kc, ksp_fan, NULL) == -1) { in do_pcf8574_kstat()
971 if (kstat_read(kc, ksp_temp, NULL) == -1) { in do_pcf8591_kstat()
1125 if (kstat_read(kc, ksp_disk, NULL) == -1) { in scsi_disk_status()
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_cpu_arch.c170 kstat_read(kc, ksp, NULL) == -1) { in cmd_cpu_getfrustr_by_id()

123