Lines Matching refs:quota

9784 	u64 period, quota, burst;  in tg_set_cfs_bandwidth()  local
9789 quota = RUNTIME_INF; in tg_set_cfs_bandwidth()
9791 quota = (u64)quota_us * NSEC_PER_USEC; in tg_set_cfs_bandwidth()
9802 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
9806 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
9807 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
9817 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
9862 if (tg->cfs_bandwidth.quota == RUNTIME_INF) in tg_get_cfs_quota()
9865 quota_us = tg->cfs_bandwidth.quota; in tg_get_cfs_quota()
9883 u64 period, quota; member
9893 u64 quota, period; in normalize_cfs_quota() local
9897 quota = d->quota; in normalize_cfs_quota()
9900 quota = tg_get_cfs_quota(tg); in normalize_cfs_quota()
9904 if (quota == RUNTIME_INF || quota == -1) in normalize_cfs_quota()
9907 return to_ratio(period, quota); in normalize_cfs_quota()
9914 s64 quota = 0, parent_quota = -1; in tg_cfs_schedulable_down() local
9917 quota = RUNTIME_INF; in tg_cfs_schedulable_down()
9921 quota = normalize_cfs_quota(tg, d); in tg_cfs_schedulable_down()
9932 if (quota == RUNTIME_INF) in tg_cfs_schedulable_down()
9933 quota = parent_quota; in tg_cfs_schedulable_down()
9935 quota = min(quota, parent_quota); in tg_cfs_schedulable_down()
9937 if (quota == RUNTIME_INF) in tg_cfs_schedulable_down()
9938 quota = parent_quota; in tg_cfs_schedulable_down()
9939 else if (parent_quota != RUNTIME_INF && quota > parent_quota) in tg_cfs_schedulable_down()
9943 cfs_b->hierarchical_quota = quota; in tg_cfs_schedulable_down()
9948 static int __cfs_schedulable(struct task_group *tg, u64 period, u64 quota) in __cfs_schedulable() argument
9953 .quota = quota, in __cfs_schedulable()
9956 if (quota != RUNTIME_INF) { in __cfs_schedulable()
9958 do_div(data.quota, NSEC_PER_USEC); in __cfs_schedulable()
10412 long period, long quota) in cpu_period_quota_print() argument
10414 if (quota < 0) in cpu_period_quota_print()
10417 seq_printf(sf, "%ld", quota); in cpu_period_quota_print()