Home
last modified time | relevance | path

Searched refs:tempstat (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dfhc.c1968 temp_trend(struct temp_stats *tempstat) in temp_trend() argument
1980 if (tempstat == NULL) in temp_trend()
1983 curr_index = (L2_INDEX(tempstat->index) - 1) % L2_SZ; in temp_trend()
1984 curr_temp = tempstat->l2[curr_index]; in temp_trend()
1989 if (tempstat->l2[prev_index] == NA_TEMP) in temp_trend()
2001 delta = curr_temp - tempstat->l2[PREV_L2_INDEX(curr_index)]; in temp_trend()
2009 prev_temp = tempstat->l2[prev_index]; in temp_trend()
2024 prev_temp = tempstat->l2[prev_index]; in temp_trend()
2067 struct temp_stats *tempstat; in overtemp_kstat_update() local
2072 tempstat = (struct temp_stats *)ksp->ks_private; in overtemp_kstat_update()
[all …]
H A Denviron.c366 init_temp_arrays(&softsp->tempstat); in environ_init()
440 update_temp(list->pdip, &list->tempstat, in environ_overtemp_poll()
476 tksp->ks_private = (void *) &softsp->tempstat; in environ_add_temp_kstats()
493 ttsp->ks_private = (void *) &softsp->tempstat.override; in environ_add_temp_kstats()
H A Dsysctrl.c742 init_temp_arrays(&softsp->tempstat); in sysctrl_attach()
3002 tksp->ks_private = (void *)&softsp->tempstat; in sysctrl_add_kstats()
3013 ttsp->ks_private = (void *)&softsp->tempstat.override; in sysctrl_add_kstats()
3126 update_temp(list->pdip, &list->tempstat, in sysctrl_overtemp_poll()
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dkstat.c207 (void) memcpy(&bdp->tempstat, ksp->ks_data, in read_platform_kstats()
208 sizeof (bdp->tempstat)); in read_platform_kstats()
210 if (sizeof (bdp->tempstat) > ksp->ks_data_size) in read_platform_kstats()
211 bdp->tempstat.trend = TREND_UNKNOWN; in read_platform_kstats()
310 (void) memcpy(&sys_kstat->tempstat, ksp->ks_data, in read_platform_kstats()
311 sizeof (sys_kstat->tempstat)); in read_platform_kstats()
313 if (sizeof (sys_kstat->tempstat) > ksp->ks_data_size) in read_platform_kstats()
314 sys_kstat->tempstat.trend = TREND_UNKNOWN; in read_platform_kstats()
/titanic_41/usr/src/lib/libtnfctl/
H A Dprb_child.c226 prb_status_t tempstat; in sync_child() local
280 tempstat = prb_proc_reopen(childpid, proc_pp); in sync_child()
282 if (tempstat) { in sync_child()
285 return (tempstat); in sync_child()
H A Dopen.c428 prb_status_t prbstat, tempstat; in step_to_end_of_exec() local
465 tempstat = prb_proc_reopen(pid, &proc_p); in step_to_end_of_exec()
466 if (tempstat) { in step_to_end_of_exec()
468 return (_tnfctl_map_to_errcode(tempstat)); in step_to_end_of_exec()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c1616 log_printf("%s", temp_state_msg[bksp->tempstat.state], 0); in disp_env_status()
1618 if (bksp->tempstat.state != 0) in disp_env_status()
1622 curr_temp = bksp->tempstat.l1[bksp->tempstat.index % L1_SZ]; in disp_env_status()
1626 log_printf(" %2d ", bksp->tempstat.min, 0); in disp_env_status()
1629 log_printf(" %2d ", bksp->tempstat.max, 0); in disp_env_status()
1632 if (bksp->tempstat.version < 2) in disp_env_status()
1635 log_printf("%s\n", temp_trend_msg[bksp->tempstat.trend], 0); in disp_env_status()
1641 log_printf("%s", temp_state_msg[kstats->tempstat.state], 0); in disp_env_status()
1643 if (kstats->tempstat.state != 0) in disp_env_status()
1647 curr_temp = kstats->tempstat.l1[kstats->tempstat.index % L1_SZ]; in disp_env_status()
[all …]
/titanic_41/usr/src/lib/libprtdiag/inc/
H A Dpdevinfo_sun4u.h71 struct temp_stats tempstat; member
120 struct temp_stats tempstat; member
/titanic_41/usr/src/uts/sun4u/sunfire/sys/
H A Denviron.h57 struct temp_stats tempstat; /* in memory storage of temperature */ member
H A Dsysctrl.h430 struct temp_stats tempstat; /* in memory storage of temperature */ member
/titanic_41/usr/src/cmd/awk/
H A Dlib.c418 int i, tempstat; in refldbld() local
436 tempstat = pfa->initstat; in refldbld()
454 pfa->initstat = tempstat; in refldbld()
H A Drun.c1210 int n, tempstat; in split() local
1241 tempstat = pfa->initstat; in split()
1266 pfa->initstat = tempstat; in split()
1801 int mflag, tempstat, num; in gsub() local
1817 tempstat = pfa->initstat; in gsub()
1896 pfa->initstat = tempstat; in gsub()