cpumask_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is cpumask_size(9), straight out of the Kernel API Manual, and it is literally the function that calculates the size to allocate for a struct cpumask in bytes. πŸ’… no cap.


✨ SYNOPSIS ✨

unsigned int cpumask_size (void );

that's the whole signature, bestie β€” yes, with that exact space situation. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. literally none. zero. the void is voiding. πŸ¦‹

πŸ”₯ RETURN πŸ”₯

  • size to allocate for a struct cpumask in bytes. that's it, that's the return value. πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/cpumask.h says hi, and here's the whole friend group:


mwah πŸ’‹ β€” source/version is ./include/linux, date is October 2026, and the page is cpumask_size(9). bye bestie, go allocate exactly the right amount of bytes. πŸŽ€βœ¨

πŸ“¦ where this page comes from