Lines Matching refs:ksnp
233 kstat_named_t *ksnp; in Java_com_sun_solaris_service_kstat_Kstat_getValue() local
251 ksnp = kstat_data_lookup(ksp, (char *)name); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
252 if (ksnp == NULL) in Java_com_sun_solaris_service_kstat_Kstat_getValue()
254 switch (ksnp->data_type) { in Java_com_sun_solaris_service_kstat_Kstat_getValue()
256 valueObj = makeLong(env, ksnp->value.c[0]); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
259 valueObj = makeLong(env, ksnp->value.i32); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
262 valueObj = makeLong(env, ksnp->value.ui32); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
265 valueObj = makeLong(env, ksnp->value.i64); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
268 valueObj = makeUnsignedInt64(env, ksnp->value.ui64); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
272 KSTAT_NAMED_STR_PTR(ksnp)); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
275 valueObj = makeDouble(env, ksnp->value.f); in Java_com_sun_solaris_service_kstat_Kstat_getValue()
278 valueObj = makeDouble(env, ksnp->value.d); in Java_com_sun_solaris_service_kstat_Kstat_getValue()