cpu_rmap_add(9)
π NAME π
okay so bestie, welcome to cpu_rmap_add(9) from the Kernel API Manual β this one is literally about adding an object to a rmap, no cap β¨
β¨ SYNOPSIS β¨
int cpu_rmap_add (struct cpu_rmap *rmap , void *obj );
π ARGUMENTS π
rmapβ the CPU rmap, and it's one that was allocated withalloc_cpu_rmapπobjβ the object you're adding to the rmap π«Ά
πΈ DESCRIPTION πΈ
it returns the index of the object, or -ENOSPC if no free entry was found π that's the whole return vibe, fr fr
π¦ SEE ALSO π¦
the kernel file ./lib/cpu_rmap.c is right there, and these besties are all linked up: alloc_cpu_rmap(9), cpu_rmap_release(9), cpu_rmap_get(9), cpu_rmap_put(9), cpu_rmap_update(9), free_irq_cpu_rmap(9), irq_cpu_rmap_notify(9), irq_cpu_rmap_release(9), irq_cpu_rmap_remove(9), irq_cpu_rmap_add(9) π
mwah π this page lives under ./lib, dated October 2026, and it's literally cpu_rmap_add(9) β bye 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