cpumask_or_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cpumask_or_equal β€” a Kernel API Manual moment, bestie ✨

okay so real talk, we're in the Kernel API Manual and today's main character is cpumask_or_equal(9). it's short, it's sweet, it does exactly one (1) thing, and honestly? iconic. πŸŽ€


🌸 NAME 🌸

cpumask_or_equal β€” literally just *src1p | *src2p == *src3p. that's it. that's the whole vibe check. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool cpumask_or_equal (const struct cpumask *src1p , const struct cpumask *src2p , const struct cpumask *src3p );

like, bool in, bool out, three cpumask pointers, no drama. 🫢


πŸ’œ ARGUMENTS πŸ’œ

  • src1p β€” the first input. yeah. that's the whole description. she's a mystery but she's doing her best. πŸŽ€
  • src2p β€” the second input. the OR partner-in-crime. πŸ”₯
  • src3p β€” the third input. the one everybody gets compared to. πŸ‘‘

⭐ RETURN ⭐

true if first cpumask ORed with second cpumask == third cpumask, otherwise false.

that's it, that's the answer. no cap. πŸ’…


🌈 SEE ALSO 🌈

all of this lives in the Kernel file ./include/linux/cpumask.h, and the squad is extensive β€” not me listing all of them, but here we go, every single one, because we don't gatekeep: 🧚

bestie that's like sixty functions. i counted. i'm not okay but i did it for you. πŸ˜­πŸ’–

okay that's the page!! huge thank you to ./include/linux for hosting, October 2026 for the timestamp, and cpumask_or_equal(9) for being the moment. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from