/tools/testing/selftests/sched_ext/ |
A D | enq_select_cpu.bpf.c | 15 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 18 return prev_cpu; in BPF_STRUCT_OPS() 24 s32 cpu, prev_cpu = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS() local 27 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, 0, &found); in BPF_STRUCT_OPS()
|
A D | select_cpu_dispatch.bpf.c | 16 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 19 s32 cpu = prev_cpu; in BPF_STRUCT_OPS() 29 cpu = prev_cpu; in BPF_STRUCT_OPS()
|
A D | allowed_cpus.bpf.c | 30 struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 44 cpu = scx_bpf_select_cpu_and(p, prev_cpu, wake_flags, allowed, 0); in BPF_STRUCT_OPS() 52 return prev_cpu; in BPF_STRUCT_OPS() 58 s32 prev_cpu = scx_bpf_task_cpu(p), cpu; in BPF_STRUCT_OPS() local 72 cpu = scx_bpf_select_cpu_and(p, prev_cpu, 0, allowed, 0); in BPF_STRUCT_OPS()
|
A D | select_cpu_dispatch_bad_dsq.bpf.c | 18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 23 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | select_cpu_dfl_nodispatch.bpf.c | 31 s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, 35 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 46 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, in BPF_STRUCT_OPS()
|
A D | select_cpu_dispatch_dbl_dsp.bpf.c | 18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 24 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | ddsp_bogus_dsq_fail.bpf.c | 14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 28 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | ddsp_vtimelocal_fail.bpf.c | 14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 25 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | dsp_local_on.bpf.c | 20 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 22 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | exit.bpf.c | 21 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 28 return scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &found); in BPF_STRUCT_OPS()
|
A D | select_cpu_vtime.bpf.c | 39 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 47 cpu = prev_cpu; in BPF_STRUCT_OPS()
|
A D | maximal.bpf.c | 17 s32 BPF_STRUCT_OPS(maximal_select_cpu, struct task_struct *p, s32 prev_cpu, in BPF_STRUCT_OPS() argument 20 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | numa.bpf.c | 35 struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
/tools/sched_ext/ |
A D | scx_simple.bpf.c | 55 s32 BPF_STRUCT_OPS(simple_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 60 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &is_idle); in BPF_STRUCT_OPS()
|
A D | scx_qmap.bpf.c | 134 static s32 pick_direct_dispatch_cpu(struct task_struct *p, s32 prev_cpu) in pick_direct_dispatch_cpu() argument 139 scx_bpf_test_and_clear_cpu_idle(prev_cpu)) in pick_direct_dispatch_cpu() 140 return prev_cpu; in pick_direct_dispatch_cpu() 161 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 169 cpu = pick_direct_dispatch_cpu(p, prev_cpu); in BPF_STRUCT_OPS() 175 return prev_cpu; in BPF_STRUCT_OPS()
|
A D | scx_central.bpf.c | 91 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
|
A D | scx_flatcg.bpf.c | 317 s32 BPF_STRUCT_OPS(fcg_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument 323 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, wake_flags, &is_idle); in BPF_STRUCT_OPS()
|
/tools/sched_ext/include/scx/ |
A D | common.bpf.h | 50 s32 scx_bpf_select_cpu_dfl(struct task_struct *p, s32 prev_cpu, u64 wake_flags, bool *is_idle) __ks… 51 s32 scx_bpf_select_cpu_and(struct task_struct *p, s32 prev_cpu, u64 wake_flags,
|