Searched refs:lg_cur (Results 1 – 4 of 4) sorted by relevance
1064 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 …]
3108 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()
45 int lg_cur; /* current loadavg entry */ member
278 cp_default.cp_loadavg.lg_cur = 0; in cpupart_initialize_default()