Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c296 static kstat_ctl_t *smbstat_ksc = NULL; variable
396 if ((smbstat_ksc = kstat_open()) == NULL) in smbstat_init()
416 (void) kstat_close(smbstat_ksc); in smbstat_fini()
676 ksp = kstat_lookup(smbstat_ksc, "cpu", i, "sys"); in smbstat_cpu_snapshot()
681 if (kstat_read(smbstat_ksc, ksp, NULL) == -1) in smbstat_cpu_snapshot()
733 kstat_lookup(smbstat_ksc, "unix", -1, SMBSRV_KSTAT_WORKERS); in smbstat_wrk_init()
756 if (kstat_read(smbstat_ksc, smbstat_wrk_ksp, NULL) == -1) in smbstat_wrk_snapshot()
804 smbstat_srv_ksp = kstat_lookup(smbstat_ksc, SMBSRV_KSTAT_MODULE, in smbstat_srv_init()
831 if ((kstat_read(smbstat_ksc, smbstat_srv_ksp, NULL) == -1) || in smbstat_srv_snapshot()