/linux/tools/testing/selftests/sched_ext/ |
H A D | maximal.bpf.c | 17 s32 BPF_STRUCT_OPS(maximal_select_cpu, struct task_struct *p, s32 prev_cpu, in BPF_STRUCT_OPS() function 23 void BPF_STRUCT_OPS(maximal_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS() function 28 void BPF_STRUCT_OPS(maximal_dequeue, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS() function 31 void BPF_STRUCT_OPS(maximal_dispatch, s32 cpu, struct task_struct *prev) in BPF_STRUCT_OPS() function 36 void BPF_STRUCT_OPS(maximal_runnable, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS() function 39 void BPF_STRUCT_OPS(maximal_running, struct task_struct *p) in BPF_STRUCT_OPS() function 42 void BPF_STRUCT_OPS(maximal_stopping, struct task_struct *p, bool runnable) in BPF_STRUCT_OPS() function 45 void BPF_STRUCT_OPS(maximal_quiescent, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS() function 48 bool BPF_STRUCT_OPS(maximal_yield, struct task_struct *from, in BPF_STRUCT_OPS() function 54 bool BPF_STRUCT_OPS(maximal_core_sched_before, struct task_struct *a, in BPF_STRUCT_OPS() function [all …]
|
H A D | exit.bpf.c | 20 s32 BPF_STRUCT_OPS(exit_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 31 void BPF_STRUCT_OPS(exit_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS() function 39 void BPF_STRUCT_OPS(exit_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS() function 47 void BPF_STRUCT_OPS(exit_enable, struct task_struct *p) in BPF_STRUCT_OPS() function 53 s32 BPF_STRUCT_OPS(exit_init_task, struct task_struct *p, in BPF_STRUCT_OPS() function 62 void BPF_STRUCT_OPS(exit_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | select_cpu_vtime.bpf.c | 38 s32 BPF_STRUCT_OPS(select_cpu_vtime_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 54 void BPF_STRUCT_OPS(select_cpu_vtime_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS() function 60 void BPF_STRUCT_OPS(select_cpu_vtime_running, struct task_struct *p) in BPF_STRUCT_OPS() function 66 void BPF_STRUCT_OPS(select_cpu_vtime_stopping, struct task_struct *p, in BPF_STRUCT_OPS() function 72 void BPF_STRUCT_OPS(select_cpu_vtime_enable, struct task_struct *p) in BPF_STRUCT_OPS() function
|
H A D | dsp_local_on.bpf.c | 19 s32 BPF_STRUCT_OPS(dsp_local_on_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 25 void BPF_STRUCT_OPS(dsp_local_on_enqueue, struct task_struct *p, in BPF_STRUCT_OPS() function 34 void BPF_STRUCT_OPS(dsp_local_on_dispatch, s32 cpu, struct task_struct *prev) in BPF_STRUCT_OPS() function 55 void BPF_STRUCT_OPS(dsp_local_on_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | maybe_null.bpf.c | 12 void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) in BPF_STRUCT_OPS() function 15 void BPF_STRUCT_OPS(maybe_null_success_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS() function 21 bool BPF_STRUCT_OPS(maybe_null_success_yield, struct task_struct *from, in BPF_STRUCT_OPS() function
|
H A D | init_enable_count.bpf.c | 31 void BPF_STRUCT_OPS(cnt_exit_task, struct task_struct *p) in BPF_STRUCT_OPS() function 36 void BPF_STRUCT_OPS(cnt_enable, struct task_struct *p) in BPF_STRUCT_OPS() function 41 void BPF_STRUCT_OPS(cnt_disable, struct task_struct *p) in BPF_STRUCT_OPS() function
|
H A D | select_cpu_dfl_nodispatch.bpf.c | 34 s32 BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 52 void BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_enqueue, struct task_struct *p, in BPF_STRUCT_OPS() function 73 s32 BPF_STRUCT_OPS(select_cpu_dfl_nodispatch_init_task, in BPF_STRUCT_OPS() function
|
H A D | maybe_null_fail_dsp.bpf.c | 12 void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) in BPF_STRUCT_OPS() function 15 void BPF_STRUCT_OPS(maybe_null_fail_dispatch, s32 cpu, struct task_struct *p) in BPF_STRUCT_OPS() function
|
H A D | maybe_null_fail_yld.bpf.c | 12 void BPF_STRUCT_OPS(maybe_null_running, struct task_struct *p) in BPF_STRUCT_OPS() function 15 bool BPF_STRUCT_OPS(maybe_null_fail_yield, struct task_struct *from, in BPF_STRUCT_OPS() function
|
H A D | select_cpu_dispatch_bad_dsq.bpf.c | 17 s32 BPF_STRUCT_OPS(select_cpu_dispatch_bad_dsq_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 26 void BPF_STRUCT_OPS(select_cpu_dispatch_bad_dsq_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | select_cpu_dispatch_dbl_dsp.bpf.c | 17 s32 BPF_STRUCT_OPS(select_cpu_dispatch_dbl_dsp_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 27 void BPF_STRUCT_OPS(select_cpu_dispatch_dbl_dsp_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | ddsp_vtimelocal_fail.bpf.c | 13 s32 BPF_STRUCT_OPS(ddsp_vtimelocal_fail_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 28 void BPF_STRUCT_OPS(ddsp_vtimelocal_fail_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | ddsp_bogus_dsq_fail.bpf.c | 13 s32 BPF_STRUCT_OPS(ddsp_bogus_dsq_fail_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function 31 void BPF_STRUCT_OPS(ddsp_bogus_dsq_fail_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | enq_select_cpu_fails.bpf.c |
|
H A D | prog_run.bpf.c | 24 void BPF_STRUCT_OPS(prog_run_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
H A D | select_cpu_dispatch.bpf.c | 15 s32 BPF_STRUCT_OPS(select_cpu_dispatch_select_cpu, struct task_struct *p, in BPF_STRUCT_OPS() function
|
H A D | select_cpu_dfl.bpf.c | 22 void BPF_STRUCT_OPS(select_cpu_dfl_enqueue, struct task_struct *p, in BPF_STRUCT_OPS() function
|
H A D | create_dsq.bpf.c | 13 void BPF_STRUCT_OPS(create_dsq_exit_task, struct task_struct *p, in BPF_STRUCT_OPS() function
|
H A D | hotplug.bpf.c | 15 void BPF_STRUCT_OPS(hotplug_exit, struct scx_exit_info *ei) in BPF_STRUCT_OPS() function
|
/linux/tools/sched_ext/ |
H 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() function 345 void BPF_STRUCT_OPS(fcg_enqueue, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS() function 507 void BPF_STRUCT_OPS(fcg_runnable, struct task_struct *p, u64 enq_flags) in BPF_STRUCT_OPS() function 516 void BPF_STRUCT_OPS(fcg_running, struct task_struct *p) in BPF_STRUCT_OPS() function 539 void BPF_STRUCT_OPS(fcg_stopping, struct task_struct *p, bool runnable) in BPF_STRUCT_OPS() function 577 void BPF_STRUCT_OPS(fcg_quiescent, struct task_struct *p, u64 deq_flags) in BPF_STRUCT_OPS() function 586 void BPF_STRUCT_OPS(fcg_cgroup_set_weight, struct cgroup *cgrp, u32 weight) in BPF_STRUCT_OPS() function 727 void BPF_STRUCT_OPS(fcg_dispatch, s32 cpu, struct task_struct *prev) in BPF_STRUCT_OPS() function 805 s32 BPF_STRUCT_OPS(fcg_init_task, struct task_struct *p, in BPF_STRUCT_OPS() function 901 void BPF_STRUCT_OPS(fcg_cgroup_exit, struct cgroup *cgrp) in BPF_STRUCT_OPS() function [all …]
|
/linux/tools/sched_ext/include/scx/ |
H A D | common.bpf.h | 176 #define BPF_STRUCT_OPS( global() macro
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1109 BPF_STRUCT_OPS, enumerator
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1109 BPF_STRUCT_OPS, enumerator
|