Lines Matching refs:scale
51 * of work done for us on behalf of the root cg and are being asked to scale
110 /* Last time we adjusted the scale of everybody. */
122 /* Cookie to tell if we need to scale up or down. */
320 * We scale the qd down faster than we scale up, so we need to use this helper
324 * Each group has their own local copy of the last scale cookie they saw, so if
325 * the global scale cookie goes up or down they know which way they need to go
333 unsigned long scale = scale_amount(qd, up);
342 if (scale + old > DEFAULT_SCALE_COOKIE)
348 atomic_add(scale, &lat_info->scale_cookie);
360 atomic_sub(scale, &lat_info->scale_cookie);
373 unsigned long scale = scale_amount(qd, up);
384 old += scale;
395 /* Check our parent and see if the scale cookie has changed. */
440 * scale down event.
552 /* Everything is ok and we don't need to adjust the scale. */
698 * We scaled down but don't have a scale_grp, scale up and carry
707 * It's been 5 seconds since our last scale event, clear the
708 * scale grp in case the group that needed the scale down isn't