Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dext.h79 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
H A Dcore.c9798 struct cftype *cft, u64 cgrp_weight) in cpu_weight_write_u64() argument
9803 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()
H A Dsched.h263 static inline unsigned long sched_weight_from_cgroup(unsigned long cgrp_weight) in sched_weight_from_cgroup() argument
265 return DIV_ROUND_CLOSEST_ULL(cgrp_weight * 1024, CGROUP_WEIGHT_DFL); in sched_weight_from_cgroup()