Searched refs:ksnp (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/pools/poold/libjkstat/ |
H A D | jkstat.c | 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() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdssubr.c | 68 rds_increment_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) in rds_increment_kstat() argument 72 ksnp->value.ul += num; in rds_increment_kstat() 78 rds_decrement_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) in rds_decrement_kstat() argument 82 ksnp->value.ul -= num; in rds_decrement_kstat() 88 rds_set_kstat(kstat_named_t *ksnp, boolean_t lock, ulong_t num) in rds_set_kstat() argument 92 ksnp->value.ul = num; in rds_set_kstat() 98 rds_get_kstat(kstat_named_t *ksnp, boolean_t lock) in rds_get_kstat() argument 104 value = ksnp->value.ul; in rds_get_kstat()
|