rpmb_dev_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

rpmb_dev_register β€” bestie, this is the one that registers an RPMB partition with the RPMB subsystem ✨

(oh and hi, you're in the Kernel API Manual, section 9, welcome 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

struct rpmb_dev * rpmb_dev_register (struct device *dev , struct rpmb_descr *descr );

🌸 ARGUMENTS 🌸

  • dev β€” the storage device of the rpmb device, like that's its whole thing πŸ’–
  • descr β€” the RPMB device description, aka the lil info packet about the device πŸŽ€

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the vibe here is: while you're registering the RPMB partition, you extract the device information you need while the resources you need are actually available. that's it, that's the whole deal ✨ lowkey iconic that it's this short ngl πŸ’…


⭐ RETURN ⭐

you get back a pointer to a struct rpmb_dev πŸ₯³ β€” or an ERR_PTR if it failed 😭 (so yes, always check it, no cap, ERR_PTR is the "it did not slay" signal πŸ’€)


🌈 SEE ALSO 🌈

go read those too, iykyk β€” the whole little RPMB friend group lives in there 🧚

and that's the page!! πŸ’œ it's from ./drivers/misc, the October 2026 edition β€” mwah, go register something and slay πŸ“βœ¨

πŸ“¦ where this page comes from