Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/smbsrv/smbstat/
H A Dsmbstat.c289 static kstat_t *smbstat_srv_ksp = NULL; variable
778 smbstat_srv_ksp = kstat_lookup(smbstat_ksc, SMBSRV_KSTAT_MODULE, in smbstat_srv_init()
780 if (smbstat_srv_ksp == NULL) in smbstat_srv_init()
790 smbstat_srv_ksp = NULL; in smbstat_srv_fini()
805 if ((kstat_read(smbstat_ksc, smbstat_srv_ksp, NULL) == -1) || in smbstat_srv_snapshot()
806 (smbstat_srv_ksp->ks_data_size != sizeof (curr->ss_data))) in smbstat_srv_snapshot()
808 smbstat_srv_ksp->ks_name); in smbstat_srv_snapshot()
810 curr->ss_snaptime = smbstat_srv_ksp->ks_snaptime; in smbstat_srv_snapshot()
811 bcopy(smbstat_srv_ksp->ks_data, &curr->ss_data, sizeof (curr->ss_data)); in smbstat_srv_snapshot()