bpf_cpumask_setall(9)
π bpf_cpumask_setall(9) β the Kernel API Manual moment π
okay so bestie, welcome to the glow-up era of the Kernel API Manual, section 9 π this whole page is about one little function and honestly? it's giving "one job, does it well" energy. let's get into it β¨
πΈ NAME πΈ
bpf_cpumask_setall β literally just sets all of the bits in a BPF cpumask. every single one. the whole squad. no bits left behind π
β¨ SYNOPSIS β¨
__bpf_kfunc void bpf_cpumask_setall (struct bpf_cpumask *cpumask );
that's it, that's the whole signature π«Ά note the __bpf_kfunc up front (yes it's important, no we're not skipping it) and the struct bpf_cpumask * pointer doing its main character thing.
π¦ ARGUMENTS π¦
cpumaskβ the BPF cpumask that's about to have all of its bits set. it's the one getting the full treatment, the whole makeover, every bit at once π
π SEE ALSO π
the lore is deep, bestie β go read the source, it's the kernel file ./kernel/bpf/cpumask.c and the whole cpumask friend group π
struct bpf_cpumask(9)bpf_cpumask_create(9)bpf_cpumask_acquire(9)bpf_cpumask_release(9)bpf_cpumask_first(9)bpf_cpumask_first_zero(9)bpf_cpumask_first_and(9)bpf_cpumask_set_cpu(9)bpf_cpumask_clear_cpu(9)bpf_cpumask_test_cpu(9)bpf_cpumask_test_and_set_cpu(9)bpf_cpumask_test_and_clear_cpu(9)bpf_cpumask_clear(9)bpf_cpumask_and(9)bpf_cpumask_or(9)bpf_cpumask_xor(9)bpf_cpumask_equal(9)bpf_cpumask_intersects(9)bpf_cpumask_subset(9)bpf_cpumask_empty(9)bpf_cpumask_full(9)bpf_cpumask_copy(9)bpf_cpumask_any_distribute(9)bpf_cpumask_any_and_distribute(9)bpf_cpumask_weight(9)bpf_cpumask_populate(9)
that's the whole page, bestie, no cap ππ this icon comes from ./kernel/bpf and it's stamped October 2026 β mwah, sending you off with a kiss and a fully-set bitmask ππ«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms