bpf_cpumask_setall(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 πŸ‘‡


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