Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A Dcpumask_common.h63 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym __weak;
/linux/kernel/bpf/
H A Dcpumask.c418 __bpf_kfunc u32 bpf_cpumask_weight(const struct cpumask *cpumask) in bpf_cpumask_weight() function
450 BTF_ID_FLAGS(func, bpf_cpumask_weight, KF_RCU)
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h345 u32 bpf_cpumask_weight(const struct cpumask *cpumask) __ksym;
/linux/Documentation/bpf/
H A Dcpumasks.rst355 bpf_cpumask_test_cpu bpf_cpumask_weight