libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” enum nvme_id_ctrl_rpmbs

okay bestie, welcome to the libnvme manual, section 9 β€” yes, that section 9, the kernel/API one πŸŽ€. This page is literally just about one lil enum, but she's important, so let's give her the main character energy she deserves ✨.


🌸 NAME 🌸

enum nvme_id_ctrl_rpmbs β€” this field is the one that tells you if the controller supports one or more Replay Protected Memory Blocks, straight out of &struct nvme_id_ctrl.rpmbs. no cap, that's the whole vibe check πŸ’–


✨ SYNOPSIS ✨

enum nvme_id_ctrl_rpmbs {
    NVME_CTRL_RPMBS_NR_UNITS ,
    NVME_CTRL_RPMBS_AUTH_METHOD ,
    NVME_CTRL_RPMBS_TOTAL_SIZE ,
    NVME_CTRL_RPMBS_ACCESS_SIZE

};

copy it exactly like that, bestie β€” the trailing spaces before the commas are part of the original, don't come for me πŸ™ˆ


πŸŽ€ Constants πŸŽ€

these are your four masks, and each one is giving "I have exactly one job" πŸ‘‘

  • NVME_CTRL_RPMBS_NR_UNITS β€” the mask that gets you the value of the Number of RPMB Units πŸ¦‹
  • NVME_CTRL_RPMBS_AUTH_METHOD β€” the mask that gets you the value of the Authentication Method πŸ”₯
  • NVME_CTRL_RPMBS_TOTAL_SIZE β€” the mask that gets you the value of Total Size ⭐
  • NVME_CTRL_RPMBS_ACCESS_SIZE β€” the mask that gets you the value of Access Size πŸ’œ
fr fr, these are masks β€” you're not reading the value directly, you're masking it out. iykyk πŸ’…

that's the whole page, honestly. short and iconic, just like her 🫢

sign-off time: this was October 2026, page enum nvme_id_ctrl_rpmbs, living in libnvme(9) β€” the API Manual section. mwah, go forth and mask responsibly 😭🌸

πŸ“¦ where this page comes from