Searched refs:cgrp_weight (Results 1 – 3 of 3) sorted by relevance
79 void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight);88 static inline void scx_group_set_weight(struct task_group *tg, unsigned long cgrp_weight) {} in scx_group_set_weight() argument
9798 struct cftype *cft, u64 cgrp_weight) in cpu_weight_write_u64() argument9803 if (cgrp_weight < CGROUP_WEIGHT_MIN || cgrp_weight > CGROUP_WEIGHT_MAX) in cpu_weight_write_u64()9806 weight = sched_weight_from_cgroup(cgrp_weight); in cpu_weight_write_u64()9810 scx_group_set_weight(css_tg(css), cgrp_weight); in cpu_weight_write_u64()
263 static inline unsigned long sched_weight_from_cgroup(unsigned long cgrp_weight) in sched_weight_from_cgroup() argument265 return DIV_ROUND_CLOSEST_ULL(cgrp_weight * 1024, CGROUP_WEIGHT_DFL); in sched_weight_from_cgroup()