Home
last modified time | relevance | path

Searched refs:bpf_cpumask_weight (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcpumask_success.c720 if (bpf_cpumask_weight(cast(local)) != 0) { in BPF_PROG()
726 if (bpf_cpumask_weight(cast(local)) != 1) { in BPF_PROG()
736 if (bpf_cpumask_test_cpu(1, cast(local)) && bpf_cpumask_weight(cast(local)) != 2) { in BPF_PROG()
742 if (bpf_cpumask_weight(cast(local)) != 0) { in BPF_PROG()
Dcpumask_common.h63 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym __weak;
/linux-6.12.1/kernel/bpf/
Dcpumask.c420 __bpf_kfunc u32 bpf_cpumask_weight(const struct cpumask *cpumask) in bpf_cpumask_weight() function
452 BTF_ID_FLAGS(func, bpf_cpumask_weight, KF_RCU)
/linux-6.12.1/tools/sched_ext/include/scx/
Dcommon.bpf.h318 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym;
/linux-6.12.1/Documentation/bpf/
Dcpumasks.rst355 bpf_cpumask_test_cpu bpf_cpumask_weight