include/linux/cgroup-defs.h
637
struct scx_sched __rcu *scx_sched;
include/linux/sched/ext.h
174
struct scx_sched;
include/linux/sched/ext.h
186
struct scx_sched __rcu *sched;
include/linux/sched/ext.h
91
struct scx_sched *sched;
kernel/sched/ext/arena.c
108
void *scx_arena_alloc(struct scx_sched *sch, size_t size)
kernel/sched/ext/arena.c
131
void scx_arena_free(struct scx_sched *sch, void *kern_va, size_t size)
kernel/sched/ext/arena.c
28
s32 scx_arena_pool_init(struct scx_sched *sch)
kernel/sched/ext/arena.c
57
void scx_arena_pool_destroy(struct scx_sched *sch)
kernel/sched/ext/arena.c
71
static int scx_arena_grow(struct scx_sched *sch, u32 page_cnt)
kernel/sched/ext/arena.h
13
struct scx_sched;
kernel/sched/ext/arena.h
15
s32 scx_arena_pool_init(struct scx_sched *sch);
kernel/sched/ext/arena.h
16
void scx_arena_pool_destroy(struct scx_sched *sch);
kernel/sched/ext/arena.h
17
void *scx_arena_alloc(struct scx_sched *sch, size_t size);
kernel/sched/ext/arena.h
18
void scx_arena_free(struct scx_sched *sch, void *kern_va, size_t size);
kernel/sched/ext/cid.c
294
struct scx_sched *sch;
kernel/sched/ext/cid.c
353
struct scx_sched *sch;
kernel/sched/ext/cid.c
375
struct scx_sched *sch;
kernel/sched/ext/cid.c
668
struct scx_sched *sch;
kernel/sched/ext/cid.c
83
s32 scx_cid_init(struct scx_sched *sch)
kernel/sched/ext/cid.h
122
static inline s32 scx_cid_to_cpu(struct scx_sched *sch, s32 cid)
kernel/sched/ext/cid.h
137
static inline s32 scx_cpu_to_cid(struct scx_sched *sch, s32 cpu)
kernel/sched/ext/cid.h
287
static inline s32 scx_cpu_ret(struct scx_sched *sch, s32 cpu_or_cid)
kernel/sched/ext/cid.h
38
struct scx_sched;
kernel/sched/ext/cid.h
67
s32 scx_cid_init(struct scx_sched *sch);
kernel/sched/ext/cid.h
79
static inline bool cid_valid(struct scx_sched *sch, s32 cid)
kernel/sched/ext/ext.c
10011
struct scx_sched *sch;
kernel/sched/ext/ext.c
10065
struct scx_sched *sch;
kernel/sched/ext/ext.c
10212
struct scx_sched *sch;
kernel/sched/ext/ext.c
10242
struct scx_sched *sch;
kernel/sched/ext/ext.c
10269
struct scx_sched *sch;
kernel/sched/ext/ext.c
10293
struct scx_sched *sch;
kernel/sched/ext/ext.c
10321
struct scx_sched *sch = rcu_dereference(scx_root);
kernel/sched/ext/ext.c
10397
static void scx_read_events(struct scx_sched *sch, struct scx_event_stats *events)
kernel/sched/ext/ext.c
104
static struct scx_sched *scx_enabling_sub_sched;
kernel/sched/ext/ext.c
1040
static void scx_read_events(struct scx_sched *sch,
kernel/sched/ext/ext.c
10430
struct scx_sched *sch;
kernel/sched/ext/ext.c
10469
struct scx_sched *sch;
kernel/sched/ext/ext.c
106
#define scx_enabling_sub_sched (struct scx_sched *)NULL
kernel/sched/ext/ext.c
1093
bool scx_cpu_valid(struct scx_sched *sch, s32 cpu, const char *where)
kernel/sched/ext/ext.c
1116
static int ops_sanitize_err(struct scx_sched *sch, const char *ops_name, s32 err)
kernel/sched/ext/ext.c
1211
static void schedule_dsq_reenq(struct scx_sched *sch, struct scx_dispatch_q *dsq,
kernel/sched/ext/ext.c
1278
struct scx_sched *root = rcu_dereference_sched(scx_root);
kernel/sched/ext/ext.c
1416
static void refill_task_slice_dfl(struct scx_sched *sch, struct task_struct *p)
kernel/sched/ext/ext.c
1441
static void call_task_dequeue(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
1453
static void local_dsq_post_enq(struct scx_sched *sch, struct scx_dispatch_q *dsq,
kernel/sched/ext/ext.c
1513
static void dispatch_enqueue(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
1730
static struct scx_dispatch_q *find_dsq_for_dispatch(struct scx_sched *sch,
kernel/sched/ext/ext.c
1761
static void mark_direct_dispatch(struct scx_sched *sch,
kernel/sched/ext/ext.c
1813
static void direct_dispatch(struct scx_sched *sch, struct task_struct *p,
kernel/sched/ext/ext.c
1881
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
2020
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
2070
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
2146
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
2200
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
2211
struct scx_sched *sch = scx_task_sched(from);
kernel/sched/ext/ext.c
2243
static void move_local_task_to_local_dsq(struct scx_sched *sch,
kernel/sched/ext/ext.c
2323
static bool task_can_run_on_remote_rq(struct scx_sched *sch,
kernel/sched/ext/ext.c
245
static void scx_kick_cpu(struct scx_sched *sch, s32 cpu, u64 flags);
kernel/sched/ext/ext.c
246
static void scx_disable(struct scx_sched *sch, enum scx_exit_kind kind);
kernel/sched/ext/ext.c
2461
static struct rq *move_task_between_dsqs(struct scx_sched *sch,
kernel/sched/ext/ext.c
248
__printf(5, 6) bool __scx_exit(struct scx_sched *sch,
kernel/sched/ext/ext.c
2515
static bool consume_dispatch_q(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
2562
static bool consume_global_dsq(struct scx_sched *sch, struct rq *rq)
kernel/sched/ext/ext.c
2584
static void dispatch_to_local_dsq(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
2680
static void finish_dispatch(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
2748
static void flush_dispatch_buf(struct scx_sched *sch, struct rq *rq)
kernel/sched/ext/ext.c
2783
scx_dispatch_sched(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
285
static struct scx_sched *scx_next_descendant_pre(struct scx_sched *pos,
kernel/sched/ext/ext.c
286
struct scx_sched *root)
kernel/sched/ext/ext.c
288
struct scx_sched *next;
kernel/sched/ext/ext.c
2888
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
2968
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
298
next = list_first_entry_or_null(&pos->children, struct scx_sched, sibling);
kernel/sched/ext/ext.c
3038
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
3078
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
312
static struct scx_sched *scx_find_sub_sched(u64 cgroup_id)
kernel/sched/ext/ext.c
318
static void scx_set_task_sched(struct task_struct *p, struct scx_sched *sch)
kernel/sched/ext/ext.c
323
static inline struct scx_sched *scx_next_descendant_pre(struct scx_sched *pos, struct scx_sched *root) { return pos ? NULL : root; }
kernel/sched/ext/ext.c
324
static inline void scx_set_task_sched(struct task_struct *p, struct scx_sched *sch) {}
kernel/sched/ext/ext.c
3243
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
33
struct scx_sched __rcu *scx_root;
kernel/sched/ext/ext.c
3312
struct scx_sched *sch_a = scx_task_sched(a);
kernel/sched/ext/ext.c
3313
struct scx_sched *sch_b = scx_task_sched(b);
kernel/sched/ext/ext.c
3333
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
334
static bool scx_is_descendant(struct scx_sched *sch, struct scx_sched *ancestor)
kernel/sched/ext/ext.c
3395
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
3416
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
3465
struct scx_sched *sch;
kernel/sched/ext/ext.c
3476
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
3517
struct scx_sched *root;
kernel/sched/ext/ext.c
354
static struct scx_dispatch_q *find_global_dsq(struct scx_sched *sch, s32 cpu)
kernel/sched/ext/ext.c
3542
struct scx_sched *sch = scx_task_sched(curr);
kernel/sched/ext/ext.c
3583
static int __scx_init_task(struct scx_sched *sch, struct task_struct *p, bool fork)
kernel/sched/ext/ext.c
359
static struct scx_dispatch_q *find_user_dsq(struct scx_sched *sch, u64 dsq_id)
kernel/sched/ext/ext.c
3637
static void __scx_enable_task(struct scx_sched *sch, struct task_struct *p)
kernel/sched/ext/ext.c
3669
static void scx_enable_task(struct scx_sched *sch, struct task_struct *p)
kernel/sched/ext/ext.c
3675
static void scx_disable_task(struct scx_sched *sch, struct task_struct *p)
kernel/sched/ext/ext.c
3703
static void __scx_disable_and_exit_task(struct scx_sched *sch,
kernel/sched/ext/ext.c
372
static struct scx_dispatch_q *bypass_dsq(struct scx_sched *sch, s32 cpu)
kernel/sched/ext/ext.c
3738
static void scx_sub_init_cancel_task(struct scx_sched *sch, struct task_struct *p)
kernel/sched/ext/ext.c
3749
static void scx_disable_and_exit_task(struct scx_sched *sch,
kernel/sched/ext/ext.c
377
static struct scx_dispatch_q *bypass_enq_target_dsq(struct scx_sched *sch, s32 cpu)
kernel/sched/ext/ext.c
3832
struct scx_sched *sch = kargs->cset->dfl_cgrp->scx_sched;
kernel/sched/ext/ext.c
3834
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
3966
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
3995
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
4057
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
4113
static u32 reenq_local(struct scx_sched *sch, struct rq *rq, u64 reenq_flags)
kernel/sched/ext/ext.c
413
static bool bypass_dsp_enabled(struct scx_sched *sch)
kernel/sched/ext/ext.c
4133
struct scx_sched *task_sch = scx_task_sched(p);
kernel/sched/ext/ext.c
4184
struct scx_sched *sch;
kernel/sched/ext/ext.c
4238
struct scx_sched *sch = dsq->sched;
kernel/sched/ext/ext.c
43
.key_len = sizeof_field(struct scx_sched, ops.sub_cgroup_id),
kernel/sched/ext/ext.c
4355
struct scx_sched *sch = scx_task_sched(p);
kernel/sched/ext/ext.c
4396
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
44
.key_offset = offsetof(struct scx_sched, ops.sub_cgroup_id),
kernel/sched/ext/ext.c
4425
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
4437
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
4485
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
45
.head_offset = offsetof(struct scx_sched, hash_node),
kernel/sched/ext/ext.c
4506
struct scx_sched *sch = scx_root;
kernel/sched/ext/ext.c
4524
struct scx_sched *sch;
kernel/sched/ext/ext.c
4540
struct scx_sched *sch;
kernel/sched/ext/ext.c
4557
struct scx_sched *sch;
kernel/sched/ext/ext.c
4610
static struct cgroup *sch_cgroup(struct scx_sched *sch)
kernel/sched/ext/ext.c
4616
static void set_cgroup_sched(struct cgroup *cgrp, struct scx_sched *sch)
kernel/sched/ext/ext.c
4622
rcu_assign_pointer(pos->scx_sched, sch);
kernel/sched/ext/ext.c
4625
static inline struct cgroup *sch_cgroup(struct scx_sched *sch) { return NULL; }
kernel/sched/ext/ext.c
4626
static inline void set_cgroup_sched(struct cgroup *cgrp, struct scx_sched *sch) {}
kernel/sched/ext/ext.c
4673
struct scx_sched *sch)
kernel/sched/ext/ext.c
4739
static void destroy_dsq(struct scx_sched *sch, u64 dsq_id)
kernel/sched/ext/ext.c
4779
static void scx_cgroup_exit(struct scx_sched *sch)
kernel/sched/ext/ext.c
4803
static int scx_cgroup_init(struct scx_sched *sch)
kernel/sched/ext/ext.c
4846
static void scx_cgroup_exit(struct scx_sched *sch) {}
kernel/sched/ext/ext.c
4847
static int scx_cgroup_init(struct scx_sched *sch) { return 0; }
kernel/sched/ext/ext.c
4912
static s32 scx_set_cmask_scratch_alloc(struct scx_sched *sch)
kernel/sched/ext/ext.c
4936
static void scx_set_cmask_scratch_free(struct scx_sched *sch)
kernel/sched/ext/ext.c
4957
struct scx_sched *sch = container_of(rcu_work, struct scx_sched, rcu_work);
kernel/sched/ext/ext.c
5019
struct scx_sched *sch = container_of(kobj, struct scx_sched, kobj);
kernel/sched/ext/ext.c
5028
struct scx_sched *sch = container_of(kobj, struct scx_sched, kobj);
kernel/sched/ext/ext.c
5041
struct scx_sched *sch = container_of(kobj, struct scx_sched, kobj);
kernel/sched/ext/ext.c
5068
ATTRIBUTE_GROUPS(scx_sched);
kernel/sched/ext/ext.c
5078
const struct scx_sched *sch;
kernel/sched/ext/ext.c
5088
sch = container_of(kobj, struct scx_sched, kobj);
kernel/sched/ext/ext.c
511
static inline void scx_call_op_set_cpumask(struct scx_sched *sch, struct rq *rq,
kernel/sched/ext/ext.c
5132
struct scx_sched *sch;
kernel/sched/ext/ext.c
5163
struct scx_sched *sch;
kernel/sched/ext/ext.c
5264
static u32 bypass_lb_cpu(struct scx_sched *sch, s32 donor,
kernel/sched/ext/ext.c
5368
static void bypass_lb_node(struct scx_sched *sch, int node)
kernel/sched/ext/ext.c
5447
struct scx_sched *sch = container_of(timer, struct scx_sched, bypass_lb_timer);
kernel/sched/ext/ext.c
5462
static bool inc_bypass_depth(struct scx_sched *sch)
kernel/sched/ext/ext.c
5477
static bool dec_bypass_depth(struct scx_sched *sch)
kernel/sched/ext/ext.c
5492
static void enable_bypass_dsp(struct scx_sched *sch)
kernel/sched/ext/ext.c
5494
struct scx_sched *host = scx_parent(sch) ?: sch;
kernel/sched/ext/ext.c
5539
static void disable_bypass_dsp(struct scx_sched *sch)
kernel/sched/ext/ext.c
5587
static void scx_bypass(struct scx_sched *sch, bool bypass)
kernel/sched/ext/ext.c
5589
struct scx_sched *pos;
kernel/sched/ext/ext.c
5758
struct scx_sched *sch;
kernel/sched/ext/ext.c
5776
static s32 scx_link_sched(struct scx_sched *sch)
kernel/sched/ext/ext.c
5783
struct scx_sched *parent = scx_parent(sch);
kernel/sched/ext/ext.c
5825
static void scx_unlink_sched(struct scx_sched *sch)
kernel/sched/ext/ext.c
5846
static void scx_disable_dump(struct scx_sched *sch)
kernel/sched/ext/ext.c
5852
static void scx_log_sched_disable(struct scx_sched *sch)
kernel/sched/ext/ext.c
5875
static void drain_descendants(struct scx_sched *sch)
kernel/sched/ext/ext.c
5886
static void scx_fail_parent(struct scx_sched *sch,
kernel/sched/ext/ext.c
5889
struct scx_sched *parent = scx_parent(sch);
kernel/sched/ext/ext.c
5916
static void scx_sub_disable(struct scx_sched *sch)
kernel/sched/ext/ext.c
5918
struct scx_sched *parent = scx_parent(sch);
kernel/sched/ext/ext.c
6081
static inline void drain_descendants(struct scx_sched *sch) { }
kernel/sched/ext/ext.c
6082
static inline void scx_sub_disable(struct scx_sched *sch) { }
kernel/sched/ext/ext.c
6085
static void scx_root_disable(struct scx_sched *sch)
kernel/sched/ext/ext.c
6250
static bool scx_claim_exit(struct scx_sched *sch, enum scx_exit_kind kind)
kernel/sched/ext/ext.c
6285
struct scx_sched *pos;
kernel/sched/ext/ext.c
6296
struct scx_sched *sch = container_of(work, struct scx_sched, disable_work);
kernel/sched/ext/ext.c
6317
static void scx_disable(struct scx_sched *sch, enum scx_exit_kind kind)
kernel/sched/ext/ext.c
6332
static void scx_flush_disable_work(struct scx_sched *sch)
kernel/sched/ext/ext.c
6454
static void scx_dump_task(struct scx_sched *sch, struct seq_buf *s, struct scx_dump_ctx *dctx,
kernel/sched/ext/ext.c
6458
struct scx_sched *task_sch = scx_task_sched(p);
kernel/sched/ext/ext.c
6509
static void scx_dump_cpu(struct scx_sched *sch, struct seq_buf *s,
kernel/sched/ext/ext.c
6604
static void scx_dump_state(struct scx_sched *sch, struct scx_exit_info *ei,
kernel/sched/ext/ext.c
6697
struct scx_sched *sch = container_of(irq_work, struct scx_sched, disable_irq_work);
kernel/sched/ext/ext.c
6706
bool scx_vexit(struct scx_sched *sch,
kernel/sched/ext/ext.c
6771
static struct scx_sched_pnode *alloc_pnode(struct scx_sched *sch, int node)
kernel/sched/ext/ext.c
6809
static struct scx_sched *scx_alloc_and_add_sched(struct scx_enable_cmd *cmd,
kernel/sched/ext/ext.c
6811
struct scx_sched *parent)
kernel/sched/ext/ext.c
6814
struct scx_sched *sch;
kernel/sched/ext/ext.c
7031
static int check_hotplug_seq(struct scx_sched *sch,
kernel/sched/ext/ext.c
7055
static int validate_ops(struct scx_sched *sch, const struct sched_ext_ops *ops)
kernel/sched/ext/ext.c
7120
struct scx_sched *sch;
kernel/sched/ext/ext.c
7495
static struct scx_sched *find_parent_sched(struct cgroup *cgrp)
kernel/sched/ext/ext.c
7497
struct scx_sched *parent = cgrp->scx_sched;
kernel/sched/ext/ext.c
7498
struct scx_sched *pos;
kernel/sched/ext/ext.c
7538
struct scx_sched *parent, *sch;
kernel/sched/ext/ext.c
7818
rcu_assign_pointer(cgrp->scx_sched, parent->scx_sched);
kernel/sched/ext/ext.c
7822
if (cgrp->scx_sched && cgrp->scx_sched->cgrp == cgrp)
kernel/sched/ext/ext.c
7823
scx_exit(cgrp->scx_sched, SCX_EXIT_UNREG_KERN,
kernel/sched/ext/ext.c
7993
struct scx_sched *sch;
kernel/sched/ext/ext.c
8111
struct scx_sched *sch = rcu_dereference_protected(ops->priv, true);
kernel/sched/ext/ext.c
8313
struct scx_sched *sch;
kernel/sched/ext/ext.c
8336
struct scx_sched *sch;
kernel/sched/ext/ext.c
8477
struct scx_sched *sch;
kernel/sched/ext/ext.c
8515
struct scx_sched *sch;
kernel/sched/ext/ext.c
8601
static bool scx_vet_enq_flags(struct scx_sched *sch, u64 dsq_id, u64 *enq_flags)
kernel/sched/ext/ext.c
8618
static bool scx_dsq_insert_preamble(struct scx_sched *sch, struct task_struct *p,
kernel/sched/ext/ext.c
8645
static void scx_dsq_insert_commit(struct scx_sched *sch, struct task_struct *p,
kernel/sched/ext/ext.c
8716
struct scx_sched *sch;
kernel/sched/ext/ext.c
8746
static bool scx_dsq_insert_vtime(struct scx_sched *sch, struct task_struct *p,
kernel/sched/ext/ext.c
8808
struct scx_sched *sch;
kernel/sched/ext/ext.c
8826
struct scx_sched *sch;
kernel/sched/ext/ext.c
8867
struct scx_sched *sch;
kernel/sched/ext/ext.c
8965
struct scx_sched *sch;
kernel/sched/ext/ext.c
8985
struct scx_sched *sch;
kernel/sched/ext/ext.c
9031
struct scx_sched *sch;
kernel/sched/ext/ext.c
9186
struct scx_sched *parent, *child;
kernel/sched/ext/ext.c
9244
struct scx_sched *sch;
kernel/sched/ext/ext.c
9284
struct scx_sched *sch;
kernel/sched/ext/ext.c
9362
struct scx_sched *sch;
kernel/sched/ext/ext.c
9385
struct scx_sched *sch;
kernel/sched/ext/ext.c
9396
static void scx_kick_cpu(struct scx_sched *sch, s32 cpu, u64 flags)
kernel/sched/ext/ext.c
9459
struct scx_sched *sch;
kernel/sched/ext/ext.c
9478
struct scx_sched *sch;
kernel/sched/ext/ext.c
9502
struct scx_sched *sch;
kernel/sched/ext/ext.c
9549
struct scx_sched *sch;
kernel/sched/ext/ext.c
9572
struct scx_sched *sch;
kernel/sched/ext/ext.c
9659
struct scx_sched *sch;
kernel/sched/ext/ext.c
9698
struct scx_sched *sch;
kernel/sched/ext/ext.c
9739
static s32 __bstr_format(struct scx_sched *sch, u64 *data_buf, char *line_buf,
kernel/sched/ext/ext.c
9777
static s32 bstr_format(struct scx_sched *sch, struct scx_bstr_buf *buf,
kernel/sched/ext/ext.c
9802
struct scx_sched *sch;
kernel/sched/ext/ext.c
9827
struct scx_sched *sch;
kernel/sched/ext/ext.c
9855
struct scx_sched *sch;
kernel/sched/ext/ext.c
9909
struct scx_sched *sch;
kernel/sched/ext/ext.c
9929
struct scx_sched *sch;
kernel/sched/ext/ext.c
9960
struct scx_sched *sch;
kernel/sched/ext/ext.c
9980
struct scx_sched *sch;
kernel/sched/ext/idle.c
1016
struct scx_sched *sch;
kernel/sched/ext/idle.c
1071
struct scx_sched *sch;
kernel/sched/ext/idle.c
1089
struct scx_sched *sch;
kernel/sched/ext/idle.c
1125
struct scx_sched *sch;
kernel/sched/ext/idle.c
1150
struct scx_sched *sch;
kernel/sched/ext/idle.c
1183
struct scx_sched *sch;
kernel/sched/ext/idle.c
1212
struct scx_sched *sch;
kernel/sched/ext/idle.c
1262
struct scx_sched *sch;
kernel/sched/ext/idle.c
1303
struct scx_sched *sch;
kernel/sched/ext/idle.c
1344
struct scx_sched *sch;
kernel/sched/ext/idle.c
1389
struct scx_sched *sch;
kernel/sched/ext/idle.c
1437
struct scx_sched *sch;
kernel/sched/ext/idle.c
753
struct scx_sched *sch = scx_root;
kernel/sched/ext/idle.c
840
static int validate_node(struct scx_sched *sch, int node)
kernel/sched/ext/idle.c
868
static bool check_builtin_idle_enabled(struct scx_sched *sch)
kernel/sched/ext/idle.c
910
static s32 select_cpu_from_kfunc(struct scx_sched *sch, struct task_struct *p,
kernel/sched/ext/idle.c
986
struct scx_sched *sch;
kernel/sched/ext/internal.h
1054
struct scx_sched;
kernel/sched/ext/internal.h
1083
struct scx_sched *sch;
kernel/sched/ext/internal.h
1212
struct scx_sched *ancestors[];
kernel/sched/ext/internal.h
1225
static inline void *scx_arena_to_kaddr(struct scx_sched *sch, const void *bpf_ptr)
kernel/sched/ext/internal.h
1235
static inline void *scx_kaddr_to_arena(struct scx_sched *sch, const void *kaddr)
kernel/sched/ext/internal.h
1523
extern struct scx_sched __rcu *scx_root;
kernel/sched/ext/internal.h
1535
bool scx_cpu_valid(struct scx_sched *sch, s32 cpu, const char *where);
kernel/sched/ext/internal.h
1537
__printf(5, 0) bool scx_vexit(struct scx_sched *sch, enum scx_exit_kind kind,
kernel/sched/ext/internal.h
1540
__printf(5, 6) bool __scx_exit(struct scx_sched *sch, enum scx_exit_kind kind,
kernel/sched/ext/internal.h
1652
static __always_inline bool scx_kf_arg_task_ok(struct scx_sched *sch,
kernel/sched/ext/internal.h
1664
static inline bool scx_bypassing(struct scx_sched *sch, s32 cpu)
kernel/sched/ext/internal.h
1678
static inline struct scx_sched *scx_task_sched(const struct task_struct *p)
kernel/sched/ext/internal.h
1691
static inline struct scx_sched *scx_task_sched_rcu(const struct task_struct *p)
kernel/sched/ext/internal.h
1703
static inline bool scx_task_on_sched(struct scx_sched *sch,
kernel/sched/ext/internal.h
1717
static inline struct scx_sched *scx_prog_sched(const struct bpf_prog_aux *aux)
kernel/sched/ext/internal.h
1720
struct scx_sched *root;
kernel/sched/ext/internal.h
1751
static inline struct scx_sched *scx_parent(struct scx_sched *sch)
kernel/sched/ext/internal.h
1759
static inline struct scx_sched *scx_task_sched(const struct task_struct *p)
kernel/sched/ext/internal.h
1766
static inline struct scx_sched *scx_task_sched_rcu(const struct task_struct *p)
kernel/sched/ext/internal.h
1771
static inline bool scx_task_on_sched(struct scx_sched *sch,
kernel/sched/ext/internal.h
1777
static inline struct scx_sched *scx_prog_sched(const struct bpf_prog_aux *aux)
kernel/sched/ext/internal.h
1782
static inline struct scx_sched *scx_parent(struct scx_sched *sch) { return NULL; }