Home
last modified time | relevance | path

Searched refs:bpf_cpumask_test_cpu (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dnested_trust_common.h9 bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym;
H A Dcpumask_failure.c148 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG()
174 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG()
H A Dnested_trust_success.c24 bpf_cpumask_test_cpu(0, task->cpus_ptr); in BPF_PROG()
H A Dverifier_kfunc_prog_types.c134 bpf_cpumask_test_cpu(0, (const struct cpumask *)ref); in cpumask_kfunc_load_test()
H A Dcpumask_common.h40 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak;
/linux/Documentation/bpf/
H A Dcpumasks.rst234 if (!bpf_cpumask_test_cpu(0, cast(cpumask)))
239 if (bpf_cpumask_test_cpu(0, cast(cpumask)))
244 if (bpf_cpumask_test_cpu(0, task->cpus_ptr))
313 if (!bpf_cpumask_test_cpu(0, (const struct cpumask *)dst1))
317 if (!bpf_cpumask_test_cpu(1, (const struct cpumask *)dst1))
355 bpf_cpumask_test_cpu bpf_cpumask_weight
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dfl.bpf.c28 bpf_cpumask_test_cpu(scx_bpf_task_cpu(p), idle_mask)) { in BPF_STRUCT_OPS()
H A Dnuma.bpf.c28 idle = bpf_cpumask_test_cpu(cpu, idle_cpumask); in is_cpu_idle()
H A Dallowed_cpus.bpf.c24 !bpf_cpumask_test_cpu(cpu, allowed)) in validate_idle_cpu()
/linux/tools/sched_ext/
H A Dscx_qmap.bpf.c338 if (bpf_cpumask_test_cpu(this_cpu, p->cpus_ptr)) in dispatch_highpri()
656 if (bpf_cpumask_test_cpu(cpu, online)) in print_cpus()
658 else if (bpf_cpumask_test_cpu(cpu, possible)) in print_cpus()
721 if (!bpf_cpumask_test_cpu(i, online)) in monitor_cpuperf()
H A Dscx_central.bpf.c154 if (!bpf_cpumask_test_cpu(cpu, p->cpus_ptr)) { in dispatch_to_cpu()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h345 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym;