Lines Matching refs:idle_idx
7649 int idletime, removed, idle_idx;
7659 * idle_idx. Start at upper end of array and work backwards.
7666 idle_idx = (sizeof (idletime_tab) / sizeof (int)) - 1;
7667 if (ifs->ifs_fr_ticks > idletime_tab[idle_idx]) {
7668 idletime = idletime_tab[idle_idx];
7670 while ((idle_idx > 0) &&
7671 (ifs->ifs_fr_ticks < idletime_tab[idle_idx]))
7672 idle_idx--;
7675 idletime_tab[idle_idx]) *
7676 idletime_tab[idle_idx];
7679 while (idle_idx >= 0) {
7724 idletime -= idletime_tab[idle_idx];
7725 if (idletime < idletime_tab[idle_idx]) {
7726 if (idle_idx != 0) {
7727 idletime = idletime_tab[idle_idx] -
7728 idletime_tab[idle_idx - 1];
7729 idle_idx--;