Home
last modified time | relevance | path

Searched refs:lg_cur (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dclock.c1064 spos = (avgs->lg_cur - 1) >= 0 ? avgs->lg_cur - 1 : in genloadavg()
1065 S_LOADAVG_SZ + (avgs->lg_cur - 1); in genloadavg()
1111 prev = (lavg->lg_cur - 1) >= 0 ? lavg->lg_cur - 1 : in loadavg_update()
1112 S_LOADAVG_SZ + (lavg->lg_cur - 1); in loadavg_update()
1114 lavg->lg_loads[lavg->lg_cur] = cpu_total; in loadavg_update()
1117 lavg->lg_loads[lavg->lg_cur] = cpu_total; in loadavg_update()
1123 lavg->lg_cur = (lavg->lg_cur + 1) % S_LOADAVG_SZ; in loadavg_update()
1132 loadavg.lg_loads[loadavg.lg_cur] = loadavg.lg_total; in loadavg_update()
1133 loadavg.lg_cur = (loadavg.lg_cur + 1) % S_LOADAVG_SZ; in loadavg_update()
1145 lavg->lg_loads[lavg->lg_cur] = lavg->lg_total; in loadavg_update()
[all …]
H A Dzone.c3108 lavg->lg_loads[lavg->lg_cur] = (zone_total > lavg->lg_total) ? in zone_loadavg_update()
3110 lavg->lg_cur = (lavg->lg_cur + 1) % S_LOADAVG_SZ; in zone_loadavg_update()
/titanic_41/usr/src/uts/common/sys/
H A Dloadavg.h45 int lg_cur; /* current loadavg entry */ member
/titanic_41/usr/src/uts/common/disp/
H A Dcpupart.c278 cp_default.cp_loadavg.lg_cur = 0; in cpupart_initialize_default()