cpu_rmap_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 with alloc_cpu_rmap ✨ so like, this is a struct cpu_rmap * that you (or a friend) already got from alloc_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 πŸ“–

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