Lines Matching refs:scale
51 * of work done for us on behalf of the root cg and are being asked to scale
111 /* Last time we adjusted the scale of everybody. */
123 /* Cookie to tell if we need to scale up or down. */
321 * We scale the qd down faster than we scale up, so we need to use this helper
325 * Each group has their own local copy of the last scale cookie they saw, so if
326 * the global scale cookie goes up or down they know which way they need to go
334 unsigned long scale = scale_amount(qd, up);
343 if (scale + old > DEFAULT_SCALE_COOKIE)
349 atomic_add(scale, &lat_info->scale_cookie);
361 atomic_sub(scale, &lat_info->scale_cookie);
370 * at a time so we can scale down queue depth quickly from default unlimited
376 unsigned long scale = scale_amount(qd, up);
387 old += scale;
398 /* Check our parent and see if the scale cookie has changed. */
438 * scale down event.
550 /* Everything is ok and we don't need to adjust the scale. */
696 * We scaled down but don't have a scale_grp, scale up and carry
705 * It's been 5 seconds since our last scale event, clear the
706 * scale grp in case the group that needed the scale down isn't