bpf_cpumask_...nd_clear_cpu(9)
π¦ bpf_cpumask_...nd_clear_cpu(9) π¦
okay so bestie, welcome to the Kernel API Manual β this page is all about bpf_cpumask_test_and_clear_cpu, and it's giving "atomic little vibe check on a BPF cpumask" energy. no cap, every detail is right here. π
β¨ NAME β¨
bpf_cpumask_test_and_clear_cpu β atomically test and clear a CPU in a BPF cpumask. periodt. π
πΈ SYNOPSIS πΈ
__bpf_kfunc bool bpf_cpumask_test_and_clear_cpu (u32 cpu , struct bpf_cpumask *cpumask );
π ARGUMENTS π
cpuβ the CPU being cleared and queried for. yes, both at once, main character energy. π₯cpumaskβ the BPF cpumask being cleared and queried for containing a CPU. π«Ά
π RETURN π
trueβcpuis set in thecpumask. βfalseβcpuwas not set in thecpumask, orcpuis invalid. π
π SEE ALSO π
Kernel file ./kernel/bpf/cpumask.c and these iconique friends:
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_setall(9)bpf_cpumask_clear(9)bpf_cpumask_and(9)bpf_cpumask_or(9)bpf_cpumask_xor(9)bpf_cpumask_equal(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)
okay bye bestie! π«Ά this page comes from ./kernel/bpf, dated October 2026, and its manual page name is bpf_cpumask_...nd_clear_cpu(9). slay, go test and clear those CPUs atomically. πβ¨
π¦ 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