Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcpumask_success.c167 if (!bpf_cpumask_test_cpu(0, cast(cpumask))) { in BPF_PROG()
173 if (bpf_cpumask_test_cpu(0, cast(cpumask))) { in BPF_PROG()
339 if (!bpf_cpumask_test_cpu(0, cast(dst1))) { in BPF_PROG()
343 if (!bpf_cpumask_test_cpu(1, cast(dst1))) { in BPF_PROG()
530 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG()
736 if (bpf_cpumask_test_cpu(1, cast(local)) && bpf_cpumask_weight(cast(local)) != 2) { in BPF_PROG()
763 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask1); in BPF_PROG()
764 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask2); in BPF_PROG()
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()
Dnested_trust_common.h9 bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym;
Dnested_trust_failure.c30 bpf_cpumask_test_cpu(0, task->user_cpus_ptr); in BPF_PROG()
Dnested_trust_success.c24 bpf_cpumask_test_cpu(0, task->cpus_ptr); in BPF_PROG()
Dverifier_kfunc_prog_types.c134 bpf_cpumask_test_cpu(0, (const struct cpumask *)ref); in cpumask_kfunc_load_test()
Dcpumask_common.h40 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym __weak;
/linux-6.12.1/Documentation/bpf/
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
Dkfuncs.rst387 to bpf_cpumask_test_cpu().
/linux-6.12.1/tools/testing/selftests/sched_ext/
Dselect_cpu_dfl.bpf.c28 bpf_cpumask_test_cpu(scx_bpf_task_cpu(p), idle_mask)) { in BPF_STRUCT_OPS()
/linux-6.12.1/tools/sched_ext/
Dscx_qmap.bpf.c338 if (bpf_cpumask_test_cpu(this_cpu, p->cpus_ptr)) in dispatch_highpri()
636 if (bpf_cpumask_test_cpu(cpu, online)) in print_cpus()
638 else if (bpf_cpumask_test_cpu(cpu, possible)) in print_cpus()
701 if (!bpf_cpumask_test_cpu(i, online)) in monitor_cpuperf()
Dscx_central.bpf.c159 if (!bpf_cpumask_test_cpu(cpu, p->cpus_ptr)) { in dispatch_to_cpu()
/linux-6.12.1/kernel/bpf/
Dcpumask.c180 __bpf_kfunc bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) in bpf_cpumask_test_cpu() function
436 BTF_ID_FLAGS(func, bpf_cpumask_test_cpu, KF_RCU)
/linux-6.12.1/tools/sched_ext/include/scx/
Dcommon.bpf.h298 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym;