Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/busstat/
H A Dbusstat.c236 kstat_t *cnt_ksp; in print_evt() local
277 if ((cnt_ksp = kstat_lookup(kc, device, inst_num, "counters")) in print_evt()
284 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in print_evt()
290 cnt_data = (kstat_named_t *)cnt_ksp->ks_data; in print_evt()
298 if (cnt_ksp->ks_ndata <= 1) { in print_evt()
304 for (i = 1; i < cnt_ksp->ks_ndata; i++) { in print_evt()
310 pgmname, cnt_ksp->ks_module); in print_evt()
623 kstat_t *cnt_ksp; in add_dev_node() local
628 if ((cnt_ksp = kstat_lookup(kc, dev_name, in add_dev_node()
636 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in add_dev_node()
[all …]
H A Dbusstat.h136 kstat_t *cnt_ksp; /* "counters" kstat pointer */ member