cpumask_and(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ cpumask_and(9) ✨

Hey bestie, welcome to the Kernel API Manual πŸ’– okay so this one is lowkey iconic β€” it's giving "bitwise AND but make it cpumask" energy, and honestly? Obsessed.


🌸 NAME 🌸

cpumask_and β€” literally just *dstp = *src1p & *src2p, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool cpumask_and (struct cpumask *dstp , const struct cpumask *src1p ,
const struct cpumask *src2p );

πŸŽ€ ARGUMENTS πŸŽ€

  • dstp β€” the cpumask result, aka where the magic lands, bestie πŸ’…
  • src1p β€” the first input, the main character of this bitwise moment ✨
  • src2p β€” the second input, showing up for the AND party 🫢

πŸ”₯ RETURN πŸ”₯

Returns false if *dstp is empty β€” like, literally empty, nothing there, a whole vibe void 😭 β€” else it returns true. Slay.

No cap: the return value is your vibe check on whether the destination mask actually has anything in it.

🌈 SEE ALSO 🌈

Bestie, buckle up, this list is LONG and honestly iconic. Kernel file ./include/linux/cpumask.h brings you the whole cpumask cinematic universe πŸ‘‘


Okay that's the whole page, bestie β€” go forth and AND those masks like the icon you are πŸ’œβœ¨

Source path: ./include/linux Β· Date: October 2026 Β· Manual: cpumask_and(9) β€” mwah, bye! πŸ’‹πŸŽ€

πŸ“¦ where this page comes from