bpf_cpumask_equal(9)
π 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βsrc1andsrc2have the same bits set. slay, they match. βfalseβsrc1andsrc2differ 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:
struct bpf_cpumask(9)bpf_cpumask_create(9)bpf_cpumask_acquire(9)bpf_cpumask_release(9)bpf_cpumask_first(9)bpf_cpumask_first_zero(9)bpf_cpumask_first_and(9)bpf_cpumask_set_cpu(9)bpf_cpumask_clear_cpu(9)bpf_cpumask_test_cpu(9)bpf_cpumask_test_and_set_cpu(9)bpf_cpumask_test_and_clear_cpu(9)bpf_cpumask_setall(9)bpf_cpumask_clear(9)bpf_cpumask_and(9)bpf_cpumask_or(9)bpf_cpumask_xor(9)bpf_cpumask_intersects(9)bpf_cpumask_subset(9)bpf_cpumask_empty(9)bpf_cpumask_full(9)bpf_cpumask_copy(9)bpf_cpumask_any_distribute(9)bpf_cpumask_any_and_distribute(9)bpf_cpumask_weight(9)bpf_cpumask_populate(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms