cfs_bandwidth
struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
init_cfs_bandwidth(&root_task_group.cfs_bandwidth, NULL);
struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
cfs_period_us = ktime_to_ns(tg->cfs_bandwidth.period);
if (tg->cfs_bandwidth.quota == RUNTIME_INF)
quota_us = tg->cfs_bandwidth.quota;
burst_us = tg->cfs_bandwidth.burst;
struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
struct cfs_bandwidth *parent_b = &tg->parent->cfs_bandwidth;
struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b)
static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg)
return &tg->cfs_bandwidth;
static int __assign_cfs_rq_runtime(struct cfs_bandwidth *cfs_b,
struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(cfs_rq->tg);
struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(cfs_rq->tg);
struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(cfs_rq->tg);
static bool distribute_cfs_runtime(struct cfs_bandwidth *cfs_b)
static int do_sched_cfs_period_timer(struct cfs_bandwidth *cfs_b, int overrun, unsigned long flags)
static int runtime_refresh_within(struct cfs_bandwidth *cfs_b, u64 min_expire)
static void start_cfs_slack_bandwidth(struct cfs_bandwidth *cfs_b)
struct cfs_bandwidth *cfs_b = tg_cfs_bandwidth(cfs_rq->tg);
static void do_sched_cfs_slack_timer(struct cfs_bandwidth *cfs_b)
struct cfs_bandwidth *cfs_b =
container_of(timer, struct cfs_bandwidth, slack_timer);
struct cfs_bandwidth *cfs_b =
container_of(timer, struct cfs_bandwidth, period_timer);
void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b, struct cfs_bandwidth *parent)
void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b)
static void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b)
struct cfs_bandwidth *cfs_b = &tg->cfs_bandwidth;
void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b, struct cfs_bandwidth *parent) {}
static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg)
static inline void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
struct cfs_bandwidth cfs_bandwidth;
extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b, struct cfs_bandwidth *parent);
extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);