Searched refs:cnt_ksp (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/busstat/ |
H A D | busstat.c | 234 kstat_t *cnt_ksp; in print_evt() local 275 if ((cnt_ksp = kstat_lookup(kc, device, inst_num, "counters")) in print_evt() 282 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in print_evt() 288 cnt_data = (kstat_named_t *)cnt_ksp->ks_data; in print_evt() 296 if (cnt_ksp->ks_ndata <= 1) { in print_evt() 302 for (i = 1; i < cnt_ksp->ks_ndata; i++) { in print_evt() 308 pgmname, cnt_ksp->ks_module); in print_evt() 621 kstat_t *cnt_ksp; in add_dev_node() local 626 if ((cnt_ksp = kstat_lookup(kc, dev_name, in add_dev_node() 634 if (kstat_read(kc, cnt_ksp, NULL) == FAIL) { in add_dev_node() [all …]
|
H A D | busstat.h | 139 kstat_t *cnt_ksp; /* "counters" kstat pointer */ member
|