Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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()
762 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask1); in BPF_PROG()
763 bpf_cpumask_test_cpu(0, (const struct cpumask *)mask2); in BPF_PROG()
876 bit = bpf_cpumask_test_cpu(i, (const struct cpumask *)mask); in BPF_PROG()
H A Dnested_trust_common.h9 bool bpf_cpumask_test_cpu(unsigned int cpu, const struct cpumask *cpumask) __ksym;
H A Dcpumask_failure.c152 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG()
178 bpf_cpumask_test_cpu(0, (const struct cpumask *)local); in BPF_PROG()
H A Dnested_trust_failure.c30 bpf_cpumask_test_cpu(0, task->user_cpus_ptr); 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/tools/testing/selftests/sched_ext/
H A Dallowed_cpus.bpf.c31 cpu_is_idle = bpf_cpumask_test_cpu(cpu, idle); in validate_local_idle_state()
53 if (!bpf_cpumask_test_cpu(cpu, allowed)) in validate_selected_cpu()
57 if (!bpf_cpumask_test_cpu(cpu, p->cpus_ptr)) in validate_selected_cpu()
H A Dnuma.bpf.c36 cpu_is_idle = bpf_cpumask_test_cpu(cpu, idle_cpumask); in validate_local_idle_state()
76 if (cpu < 0 && !bpf_cpumask_test_cpu(task_cpu, p->cpus_ptr)) 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()
/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
H A Dkfuncs.rst540 to bpf_cpumask_test_cpu().
/linux/kernel/bpf/
H A Dcpumask.c195 __bpf_kfunc bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) in bpf_cpumask_test_cpu() function
486 BTF_ID_FLAGS(func, bpf_cpumask_test_cpu, KF_RCU)
/linux/tools/sched_ext/
H A Dscx_central.bpf.c158 if (!bpf_cpumask_test_cpu(cpu, p->cpus_ptr) || in dispatch_to_cpu()
/linux/tools/sched_ext/include/scx/
H A Dcid.bpf.h769 if (!bpf_cpumask_test_cpu(cpu, cpumask)) in cmask_from_cpumask()
H A Dcommon.bpf.h442 bool bpf_cpumask_test_cpu(u32 cpu, const struct cpumask *cpumask) __ksym;