/titanic_50/usr/src/uts/sun4u/sunfire/io/ |
H A D | simmstat.c | 299 char *kstatp; /* pointer to kstat data buffer */ in simmstat_kstat_update() local 302 kstatp = (char *)ksp->ks_data; in simmstat_kstat_update() 316 for (i = 0; i < SIMM_COUNT; i++, statp++, kstatp++) { in simmstat_kstat_update() 317 *kstatp = *statp; in simmstat_kstat_update()
|
H A D | fhc.c | 2068 char *kstatp; in overtemp_kstat_update() local 2071 kstatp = (char *)ksp->ks_data; in overtemp_kstat_update() 2160 bcopy(tempstat, kstatp, sizeof (struct temp_stats)); in overtemp_kstat_update() 2169 short *kstatp; in temp_override_kstat_update() local 2171 kstatp = (short *)ksp->ks_data; in temp_override_kstat_update() 2179 *over = *kstatp; in temp_override_kstat_update() 2181 *kstatp = *over; in temp_override_kstat_update()
|
/titanic_50/usr/src/uts/sun4u/montecarlo/io/ |
H A D | pcf8574_nct.c | 1211 if ((unitp->kstatp = kstat_create(I2C_PCF8574_NAME, in pcf8574_add_kstat() 1219 kstat_delete(unitp->kstatp); in pcf8574_add_kstat() 1239 if ((unitp->kstatp = kstat_create(I2C_PCF8574_NAME, in pcf8574_add_kstat() 1247 kstat_delete(unitp->kstatp); in pcf8574_add_kstat() 1279 if ((unitp->kstatp = kstat_create(I2C_PCF8574_NAME, in pcf8574_add_kstat() 1287 kstat_delete(unitp->kstatp); in pcf8574_add_kstat() 1311 unitp->kstatp->ks_private = (void *)unitp; in pcf8574_add_kstat() 1312 unitp->kstatp->ks_update = pcf8574_kstat_update; in pcf8574_add_kstat() 1314 kstat_install(unitp->kstatp); in pcf8574_add_kstat() 1426 char *kstatp; in pcf8574_kstat_update() local [all …]
|
H A D | pcf8591_nct.c | 974 char *kstatp; in pcf8591_temp_kstat_update() local 995 kstatp = (char *)ksp->ks_data; in pcf8591_temp_kstat_update() 1005 warn_temp = ((envctrl_temp_t *)kstatp)->warning_threshold; in pcf8591_temp_kstat_update() 1006 shutdown_temp = ((envctrl_temp_t *)kstatp)->shutdown_threshold; in pcf8591_temp_kstat_update() 1027 bcopy((caddr_t)&unitp->temp_kstats, kstatp, in pcf8591_temp_kstat_update()
|
/titanic_50/usr/src/uts/sun4u/javelin/io/ |
H A D | envctrltwo.c | 2624 char *kstatp; in envctrl_ps_kstat_update() local 2633 kstatp = (char *)ksp->ks_data; in envctrl_ps_kstat_update() 2641 bcopy((caddr_t)&unitp->ps_kstats, kstatp, in envctrl_ps_kstat_update() 2652 char *kstatp; in envctrl_fanstat_kstat_update() local 2654 kstatp = (char *)ksp->ks_data; in envctrl_fanstat_kstat_update() 2665 bcopy((caddr_t)&unitp->fan_kstats, kstatp, in envctrl_fanstat_kstat_update() 2676 char *kstatp; in envctrl_encl_kstat_update() local 2680 kstatp = (char *)ksp->ks_data; in envctrl_encl_kstat_update() 2694 bcopy((caddr_t)&unitp->encl_kstats, kstatp, in envctrl_encl_kstat_update() 2705 char *kstatp; in envctrl_temp_kstat_update() local [all …]
|
/titanic_50/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 1629 #define SD_UPDATE_COMMON_KSTATS(kstat_function, kstatp) \ argument 1632 if (((kstat_io_t *)(kstatp))->rcnt) { \ 1633 kstat_function((kstatp)); \ 1640 if (((kstat_io_t *)(kstatp))->wcnt) { \ 1641 kstat_function(kstatp); \ 1647 kstat_function(kstatp); \
|
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_sge.c | 3055 #define KS_UINIT(x) kstat_named_init(&kstatp->x, #x, KSTAT_DATA_ULONG) 3056 #define KS_CINIT(x) kstat_named_init(&kstatp->x, #x, KSTAT_DATA_CHAR) 3057 #define KS_U_SET(x, y) kstatp->x.value.ul = (y) 3058 #define KS_U_FROM(x, y) kstatp->x.value.ul = (y)->x 3060 (void) snprintf(kstatp->x.value.c, 16, __VA_ARGS__) 3096 struct cxgbe_port_config_kstats *kstatp; in setup_port_config_kstats() local 3111 kstatp = (struct cxgbe_port_config_kstats *)ksp->ks_data; in setup_port_config_kstats() 3144 struct cxgbe_port_info_kstats *kstatp; in setup_port_info_kstats() local 3156 kstatp = (struct cxgbe_port_info_kstats *)ksp->ks_data; in setup_port_info_kstats() 3181 struct cxgbe_port_info_kstats *kstatp = in update_port_info_kstats() local [all …]
|
H A D | t4_nexus.c | 1851 #define KS_UINIT(x) kstat_named_init(&kstatp->x, #x, KSTAT_DATA_ULONG) 1852 #define KS_CINIT(x) kstat_named_init(&kstatp->x, #x, KSTAT_DATA_CHAR) 1853 #define KS_U_SET(x, y) kstatp->x.value.ul = (y) 1855 (void) snprintf(kstatp->x.value.c, 16, __VA_ARGS__) 1881 struct t4_kstats *kstatp; in setup_kstats() local 1896 kstatp = (struct t4_kstats *)ksp->ks_data; in setup_kstats()
|
/titanic_50/usr/src/uts/sun4u/montecarlo/sys/ |
H A D | pcf8574_nct.h | 318 kstat_t *kstatp; member
|
/titanic_50/usr/src/uts/sun4u/tazmo/io/ |
H A D | envctrl.c | 3088 char *kstatp; in envctrl_ps_kstat_update() local 3097 kstatp = (char *)ksp->ks_data; in envctrl_ps_kstat_update() 3104 bcopy(&unitp->ps_kstats, kstatp, sizeof (unitp->ps_kstats)); in envctrl_ps_kstat_update() 3113 char *kstatp; in envctrl_fanstat_kstat_update() local 3115 kstatp = (char *)ksp->ks_data; in envctrl_fanstat_kstat_update() 3125 bcopy(unitp->fan_kstats, kstatp, sizeof (unitp->fan_kstats)); in envctrl_fanstat_kstat_update() 3135 char *kstatp; in envctrl_encl_kstat_update() local 3138 kstatp = (char *)ksp->ks_data; in envctrl_encl_kstat_update() 3151 bcopy(unitp->encl_kstats, kstatp, sizeof (unitp->encl_kstats)); in envctrl_encl_kstat_update()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 367 kstat_t *kstatp; member
|
/titanic_50/usr/src/uts/common/io/ |
H A D | gld.c | 898 ASSERT(mac_pvt->kstatp); in gld_unregister() 899 kstat_delete(mac_pvt->kstatp); in gld_unregister() 965 mac_pvt->kstatp = ksp; in gld_initstats() 1041 gsp = mac_pvt->kstatp->ks_data; in gld_update_kstat() 5439 (void) gld_update_kstat(mac_pvt->kstatp, KSTAT_READ); in gld_get_statistics() 5453 bcopy(mac_pvt->kstatp->ks_data, in gld_get_statistics() 5904 ASSERT(pvt->kstatp != NULL); in gld_check_assertions()
|
H A D | gldutil.c | 93 ((gld_mac_pvt_t *)macinfo->gldm_mac_pvt)->kstatp->ks_data; in gld_init_ether() 986 ((gld_mac_pvt_t *)macinfo->gldm_mac_pvt)->kstatp->ks_data; in gld_init_fddi() 1303 ((gld_mac_pvt_t *)macinfo->gldm_mac_pvt)->kstatp->ks_data; in gld_init_tr()
|