cpumask_full(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 cpumask_full β€” the vibe check for "is literally every CPU in here?" πŸ‘‘

okay so bestie, we're in the Kernel API Manual (cpumask_full(9)) and this little function is about to ask the most main-character question of all: is this mask, like, completely full? πŸ’…


✨ NAME ✨

cpumask_full β€” the one where *srcp == 0xFFFFFFFF... 🫢


πŸŽ€ SYNOPSIS πŸŽ€

bool cpumask_full (const struct cpumask *srcp );

πŸ’– ARGUMENTS πŸ’–

  • srcp β€” the cpumask to that all cpus < nr_cpu_ids are set. πŸ‘€ (yes, that's the manpage's wording and we're keeping it, it's giving "trust me bro it's the cpumask" energy)

⭐ RETURN ⭐

  • true if srcp is full (has all bits set), else false πŸ’€

like... that's it. that's the whole function. it ate and left no crumbs. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

the whole cpumask friend group showed up, and they're all linked from the kernel file ./include/linux/cpumask.h 🌈 β€” like, the entire group chat fr fr:

ok that's literally everyone, no cap. go say hi. 🫢

and that's the whole page bestie β€” this one came straight out of the kernel sources at ./include/linux, part of the Kernel API Manual, dated October 2026, and it's filed under cpumask_full(9). slay. πŸ’œβœ¨

πŸ“¦ where this page comes from