libnvme(9)
π 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms