Home
last modified time | relevance | path

Searched refs:cgrp_weight (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/sched/
H A Dext.h81 void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight);
91 static inline void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight) {} in scx_group_set_weight() argument
H A Dsched.h258 static inline unsigned long sched_weight_from_cgroup(unsigned long cgrp_weight) in sched_weight_from_cgroup() argument
260 return DIV_ROUND_CLOSEST_ULL(cgrp_weight * 1024, CGROUP_WEIGHT_DFL); in sched_weight_from_cgroup()
H A Dcore.c10129 struct cftype *cft, u64 cgrp_weight) in cpu_weight_write_u64() argument
10134 if (cgrp_weight < CGROUP_WEIGHT_MIN || cgrp_weight > CGROUP_WEIGHT_MAX) in cpu_weight_write_u64()
10137 weight = sched_weight_from_cgroup(cgrp_weight); in cpu_weight_write_u64()
10141 scx_group_set_weight(css_tg(css), cgrp_weight); in cpu_weight_write_u64()