bpf_cpumask_equal(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ bpf_cpumask_equal(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the bpf_cpumask_equal(9) page β€” it's short, it's sweet, and it's literally just checking if two cpumasks are twinning. πŸ’…

🌸 NAME

bpf_cpumask_equal β€” check two cpumasks for equality. It's giving β€œare we the same, or are we different?” main character energy. ✨

πŸ¦‹ SYNOPSIS

__bpf_kfunc bool bpf_cpumask_equal (const struct cpumask *src1 , const
       struct cpumask *src2 );

πŸŽ€ ARGUMENTS

  • src1 β€” the first input. Your first little cpumask bestie. πŸ’–
  • src2 β€” the second input. The other one being compared. 🫢

✨ RETURN

  • true β€” src1 and src2 have the same bits set. slay, they match. βœ…
  • false β€” src1 and src2 differ in at least one bit. not me spotting a difference. ❌

πŸ’œ DESCRIPTION

okay so the lore is simple: struct bpf_cpumask pointers may be safely passed to src1 and src2. no cap, that's the whole vibe check. 🧚

🌈 SEE ALSO

Kernel file ./kernel/bpf/cpumask.c β€” and the whole cpumask friend group:


mwah πŸ’‹ this lil page comes from ./kernel/bpf, dated October 2026, and it's literally titled bpf_cpumask_equal(9) β€” see you in the group chat, bestie 🫢🌺

πŸ“¦ where this page comes from