Home
last modified time | relevance | path

Searched refs:scx_bpf_task_cpu (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/sched_ext/
H A Ddequeue_remote.bpf.c104 tctx->enq_cpu = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS()
118 scx_bpf_kick_cpu(scx_bpf_task_cpu(p), SCX_KICK_IDLE); in BPF_STRUCT_OPS()
141 scx_bpf_task_cpu(p), tctx->enqueue_seq); in BPF_STRUCT_OPS()
191 if (scx_bpf_task_cpu(p) != cpu) in BPF_STRUCT_OPS()
221 scx_bpf_task_cpu(p), tctx->enqueue_seq); in BPF_STRUCT_OPS()
225 if (tctx->enq_cpu >= 0 && tctx->enq_cpu != scx_bpf_task_cpu(p)) in BPF_STRUCT_OPS()
H A Dnuma.bpf.c52 s32 task_cpu = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS()
87 int node = __COMPAT_scx_bpf_cpu_node(scx_bpf_task_cpu(p)); in BPF_STRUCT_OPS()
H A Dselect_cpu_dfl.bpf.c28 bpf_cpumask_test_cpu(scx_bpf_task_cpu(p), idle_mask)) { in BPF_STRUCT_OPS()
H A Ddsp_local_on.bpf.c49 target = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS()
H A Dallowed_cpus.bpf.c92 s32 prev_cpu = scx_bpf_task_cpu(p), cpu; in BPF_STRUCT_OPS()
/linux/tools/sched_ext/
H A Dscx_central.bpf.c159 (is_migration_disabled(p) && scx_bpf_task_cpu(p) != cpu)) { in dispatch_to_cpu()
283 s32 cpu = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS()
291 s32 cpu = scx_bpf_task_cpu(p); in BPF_STRUCT_OPS()
H A Dscx_cpu0.bpf.c54 if (scx_bpf_task_cpu(p) != 0) { in BPF_STRUCT_OPS()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h100 s32 scx_bpf_task_cpu(const struct task_struct *p) __ksym;
/linux/kernel/sched/ext/
H A Dext.c10619 __bpf_kfunc s32 scx_bpf_task_cpu(const struct task_struct *p) in scx_bpf_task_cpu() function
10926 BTF_ID_FLAGS(func, scx_bpf_task_cpu, KF_RCU)
10965 BTF_ID_FLAGS(func, scx_bpf_task_cpu, KF_RCU)