Home
last modified time | relevance | path

Searched refs:scx_sched (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/sched/
H A Dext_internal.h958 struct scx_sched;
987 struct scx_sched *sch;
1011 struct scx_sched { struct
1083 struct scx_sched *ancestors[]; argument
1366 extern struct scx_sched __rcu *scx_root;
1380 static inline bool scx_bypassing(struct scx_sched *sch, s32 cpu) in scx_bypassing()
1394 static inline struct scx_sched *scx_task_sched(const struct task_struct *p) in scx_task_sched()
1407 static inline struct scx_sched *scx_task_sched_rcu(const struct task_struct *p) in scx_task_sched_rcu()
1419 static inline bool scx_task_on_sched(struct scx_sched *sch, in scx_task_on_sched()
1433 static inline struct scx_sched *scx_prog_sched(const struct bpf_prog_aux *aux) in scx_prog_sched()
[all …]
H A Dext.c22 struct scx_sched __rcu *scx_root;
32 .key_len = sizeof_field(struct scx_sched, ops.sub_cgroup_id),
33 .key_offset = offsetof(struct scx_sched, ops.sub_cgroup_id),
34 .head_offset = offsetof(struct scx_sched, hash_node),
69 static struct scx_sched *scx_enabling_sub_sched;
71 #define scx_enabling_sub_sched (struct scx_sched *)NULL
199 static void scx_kick_cpu(struct scx_sched *sch, s32 cpu, u64 flags);
200 static void scx_disable(struct scx_sched *sch, enum scx_exit_kind kind);
201 static bool scx_vexit(struct scx_sched *sch, enum scx_exit_kind kind,
204 static __printf(4, 5) bool scx_exit(struct scx_sched *sch, in scx_exit()
[all …]
H A Dext_idle.c755 struct scx_sched *sch = scx_root; in __scx_update_idle()
842 static int validate_node(struct scx_sched *sch, int node) in validate_node()
870 static bool check_builtin_idle_enabled(struct scx_sched *sch) in check_builtin_idle_enabled()
912 static s32 select_cpu_from_kfunc(struct scx_sched *sch, struct task_struct *p, in select_cpu_from_kfunc()
988 struct scx_sched *sch; in scx_bpf_cpu_node()
1018 struct scx_sched *sch; in scx_bpf_select_cpu_dfl()
1073 struct scx_sched *sch; in __scx_bpf_select_cpu_and()
1091 struct scx_sched *sch; in scx_bpf_select_cpu_and()
1127 struct scx_sched *sch; in scx_bpf_get_idle_cpumask_node()
1152 struct scx_sched *sch; in scx_bpf_get_idle_cpumask()
[all …]
/linux/include/linux/sched/
H A Dext.h91 struct scx_sched *sched;
174 struct scx_sched;
186 struct scx_sched __rcu *sched;