Home
last modified time | relevance | path

Searched refs:prev_cpu (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/sched_ext/
A Denq_select_cpu.bpf.c15 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 Dselect_cpu_dispatch.bpf.c16 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 Dallowed_cpus.bpf.c30 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 Dselect_cpu_dispatch_bad_dsq.bpf.c18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
23 return prev_cpu; in BPF_STRUCT_OPS()
A Dselect_cpu_dfl_nodispatch.bpf.c31 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 Dselect_cpu_dispatch_dbl_dsp.bpf.c18 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
24 return prev_cpu; in BPF_STRUCT_OPS()
A Dddsp_bogus_dsq_fail.bpf.c14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
28 return prev_cpu; in BPF_STRUCT_OPS()
A Dddsp_vtimelocal_fail.bpf.c14 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
25 return prev_cpu; in BPF_STRUCT_OPS()
A Ddsp_local_on.bpf.c20 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
22 return prev_cpu; in BPF_STRUCT_OPS()
A Dexit.bpf.c21 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 Dselect_cpu_vtime.bpf.c39 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
47 cpu = prev_cpu; in BPF_STRUCT_OPS()
A Dmaximal.bpf.c17 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 Dnuma.bpf.c35 struct task_struct *p, s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
/tools/sched_ext/
A Dscx_simple.bpf.c55 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 Dscx_qmap.bpf.c134 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 Dscx_central.bpf.c91 s32 prev_cpu, u64 wake_flags) in BPF_STRUCT_OPS() argument
A Dscx_flatcg.bpf.c317 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 Dcommon.bpf.h50 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,

Completed in 52 milliseconds