cpu_rmap_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 with alloc_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