Lines Matching refs:ksp

54 int ii_validate(kstat_t *ksp);
68 kstat_t *ksp; in ii_discover() local
71 for (ksp = kc->kc_chain; ksp; ksp = ksp->ks_next) { in ii_discover()
81 if (strcmp(ksp->ks_class, II_KSTAT_CLASS) != 0) in ii_discover()
84 if (kstat_read(kc, ksp, NULL) == -1) in ii_discover()
91 if (ii_validate(ksp)) in ii_discover()
107 tst_vname = ksp->ks_name; in ii_discover()
108 tst_inst = ksp->ks_instance; in ii_discover()
123 iistat->pre_set = kstat_retrieve(kc, ksp); in ii_discover()
219 kstat_t *ksp = NULL; in ii_update() local
249 ksp = kstat_lookup(kc, II_KSTAT_MODULE, -1, volname); in ii_update()
251 if ((cur->cur_set = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
268 ksp = kstat_lookup(kc, II_KSTAT_MODULE, -1, kname); in ii_update()
270 if ((cur->cur_mst = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
280 ksp = kstat_lookup(kc, II_KSTAT_MODULE, -1, kname); in ii_update()
282 if ((cur->cur_shd = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
292 ksp = kstat_lookup(kc, II_KSTAT_MODULE, -1, kname); in ii_update()
294 if ((cur->cur_bmp = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
304 ksp = kstat_lookup(kc, II_KSTAT_MODULE, -1, kname); in ii_update()
306 if (ksp == NULL) { in ii_update()
319 if ((cur->pre_ovr = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
322 if ((cur->cur_ovr = kstat_retrieve(kc, ksp)) == NULL) in ii_update()
767 ii_validate(kstat_t *ksp) in ii_validate() argument
769 if (! kstat_value(ksp, DSW_SKSTAT_MSTIO) || in ii_validate()
770 ! kstat_value(ksp, DSW_SKSTAT_SHDIO) || in ii_validate()
771 ! kstat_value(ksp, DSW_SKSTAT_BMPIO) || in ii_validate()
772 ! kstat_value(ksp, DSW_SKSTAT_OVRIO) || in ii_validate()
773 ! kstat_value(ksp, DSW_SKSTAT_FLAGS) || in ii_validate()
774 ! kstat_value(ksp, DSW_SKSTAT_MSTA) || in ii_validate()
775 ! kstat_value(ksp, DSW_SKSTAT_SETA) || in ii_validate()
776 ! kstat_value(ksp, DSW_SKSTAT_BMPA) || in ii_validate()
777 ! kstat_value(ksp, DSW_SKSTAT_OVRA) || in ii_validate()
778 ! kstat_value(ksp, DSW_SKSTAT_SHDBITS) || in ii_validate()
779 ! kstat_value(ksp, DSW_SKSTAT_COPYBITS) || in ii_validate()
780 ! kstat_value(ksp, DSW_SKSTAT_SIZE)) in ii_validate()
787 ii_vol_selected(kstat_t *ksp) in ii_vol_selected() argument
795 vn = ksp->ks_name; in ii_vol_selected()