Searched refs:knm (Results 1 – 1 of 1) sorted by relevance
136 kstat_named_t *knm; in kstat_value() local138 if ((knm = kstat_data_lookup(ksp, name)) == NULL) in kstat_value()141 switch (knm->data_type) { in kstat_value()143 return (knm->value.c); in kstat_value()145 return (&knm->value.i32); in kstat_value()147 return (&knm->value.ui32); in kstat_value()149 return (&knm->value.i64); in kstat_value()151 return (&knm->value.ui64); in kstat_value()153 return (KSTAT_NAMED_STR_PTR(knm)); in kstat_value()