libnvme(2)
π NAME π
enum nvme_pmrmsc β bestie this one's literally about the persistent memory region memory space control π§ it's the field that handles all of that, no cap.
β¨ SYNOPSIS β¨
enum nvme_pmrmsc {
NVME_PMRMSC_CMSE_SHIFT ,
NVME_PMRMSC_CBA_SHIFT ,
NVME_PMRMSC_CMSE_MASK
};
πΈ Constants πΈ
So these are the little enum babies that make the magic happen, ok? π
NVME_PMRMSC_CMSE_SHIFTβ the shift amount you use to get the controller memory space enable. like, that's the whole job. that's what it does πNVME_PMRMSC_CBA_SHIFTβ the shift amount to get the controller base address. different shift, different vibe, same iconic energy π¦NVME_PMRMSC_CMSE_MASKβ and here's the mask for the controller memory space enable. masking era fr fr β¨
okay and that's literally it, she's short but she's doing her job flawlessly π this is libnvme, the API Manual moment, and the page is enum nvme_pmrmsc β dated July 2026, so you know she's fresh π mwah, go forth and shift those bits bestie π«Άβ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms