bpf_cpumask_clear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bpf_cpumask_clear β€” bestie edition

okay so real talk, this is bpf_cpumask_clear(9) straight out of the Kernel API Manual, and it is genuinely one of the simplest little icons in the whole BPF cpumask family. no cap. she just… clears stuff ✨


🌸 NAME 🌸

bpf_cpumask_clear β€” clears, like, all of the bits in a BPF cpumask. every single one. gone. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

__bpf_kfunc void bpf_cpumask_clear (struct bpf_cpumask *cpumask );

yep that's the whole signature, copy it exactly, she's sensitive about her whitespace 🫢


πŸ’– ARGUMENTS πŸ’–

  • cpumask β€” the BPF cpumask that's getting cleared. that's it. that's the argument. she's the main character here and she is about to be empty 🌸

✨ SEE ALSO ✨

the whole friend group, fr fr. all of these live in the kernel file ./kernel/bpf/cpumask.c:

lowkey go read bpf_cpumask_setall(9) right after this one, she's the exact opposite energy and together they're a whole vibe check πŸ”₯

mwah πŸ’œ that's the page! this lil beauty ships from ./kernel/bpf and is dated October 2026, so go forth and clear those bits bestie, you're gonna slay πŸ¦‹βœ¨

πŸ“¦ where this page comes from