cpu_rmap_get(9)
π cpu_rmap_get(9) β like, the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the cpu_rmap_get(9) glow-up β¨ this little icon lives in the Kernel API Manual and honestly? she's a tiny one but she MATTERS, so let's get into it π
β¨ NAME β¨
cpu_rmap_get β internal helper to get new ref on a cpu_rmap π
like, she's the friend who bumps your refcount when you need a hand. internal-only, so don't go thinking she's your main character β she's supporting cast, but she ate π«Ά
πΈ SYNOPSIS πΈ
void cpu_rmap_get (struct cpu_rmap *rmap );
that's it. that's the whole thing. no cap, she's a one-liner π returns void, so don't be out here looking for a return value, she gives you nothing back and she's iconic for it π
π¦ ARGUMENTS π¦
rmapβ the reverse-map, allocated withalloc_cpu_rmapβ¨ so like, this is astruct cpu_rmap *that you (or a friend) already got fromalloc_cpu_rmap, and now you're asking for a fresh ref on it. don't just pass her any random pointer, bestie, she has to come from there π€
π SEE ALSO π
ok so this is the part where I introduce you to the whole friend group, they all hang out and honestly they're all essential, so don't skip the roll call π§
Kernel file ./lib/cpu_rmap.c β that's the whole squad's address, literally the file to go read π
alloc_cpu_rmap(9)cpu_rmap_release(9)cpu_rmap_put(9)cpu_rmap_add(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)
like, go read them, iykyk π₯
fr fr reminder: cpu_rmap_get is described as an internal helper β so treat her accordingly, she's not the front-door API vibe π
and that's the page, bestie, you're all caught up π this little gem lives in ./lib and the version/date stamp on it is October 2026 β cpu_rmap_get(9), mwah, love that for us πππ¦
π¦ 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