Lines Matching refs:quota
160 * each time a cfs_rq requests quota.
163 * to consumption or the quota being specified to be smaller than the slice)
4835 * Replenish runtime according to assigned quota. We use sched_clock_cpu
4843 if (cfs_b->quota != RUNTIME_INF) {
4844 cfs_b->runtime = cfs_b->quota;
4863 if (cfs_b->quota == RUNTIME_INF) {
4895 /* dock delta_exec before expiring quota (as it could span periods) */
5206 if (cfs_b->quota == RUNTIME_INF) {
5258 /* a cfs_rq won't donate quota below this amount */
5260 /* minimum remaining period time to redistribute slack quota */
5266 * Are we near the end of the current quota period?
5277 /* if the call-back is running a quota refresh is already occurring */
5282 /* is a quota refresh about to occur? */
5295 /* if there's a quota refresh soon don't bother with slack */
5320 if (cfs_b->quota != RUNTIME_INF) {
5365 if (cfs_b->quota != RUNTIME_INF && cfs_b->runtime > slice) {
5382 * When a group wakes up we want to make sure that its quota is not already
5481 * Precision loss in the quota/period ratio can cause __cfs_schedulable
5487 cfs_b->quota *= 0x2;
5492 div_u64(cfs_b->quota, NSEC_PER_USEC));
5497 div_u64(cfs_b->quota, NSEC_PER_USEC));
5516 cfs_b->quota = RUNTIME_INF;
5579 cfs_rq->runtime_enabled = cfs_b->quota != RUNTIME_INF;
5603 * there's some valid quota amount