libnvme(2)
π NAME π
ok so bestie, this is enum nvme_pmrebs β it's giving persistent memory region elasticity buffer size energy β¨ like literally that's the whole vibe of this enum, that's what it is.
πΈ SYNOPSIS πΈ
enum nvme_pmrebs {
NVME_PMREBS_PMRSZU_SHIFT ,
NVME_PMREBS_RBB_SHIFT ,
NVME_PMREBS_PMRWBZ_SHIFT ,
NVME_PMREBS_PMRSZU_MASK ,
NVME_PMREBS_RBB_MASK ,
NVME_PMREBS_PMRWBZ_MASK ,
NVME_PMREBS_PMRSZU_B ,
NVME_PMREBS_PMRSZU_1K ,
NVME_PMREBS_PMRSZU_1M ,
NVME_PMREBS_PMRSZU_1G
};
like. look at her. ten constants, all of them important, none of them skippable π
β¨ Constants β¨
okay so these are the constants, and bestie I'm not skipping a single one, we're going all the way down the list fr fr π
NVME_PMREBS_PMRSZU_SHIFTβ this is the shift amount you use to get the PMR elasticity buffer size units πNVME_PMREBS_RBB_SHIFTβ the shift amount that gets you the read bypass behavior π¦NVME_PMREBS_PMRWBZ_SHIFTβ shift amount to get the PMR elasticity buffer size base, slay πNVME_PMREBS_PMRSZU_MASKβ the mask that gets you the PMR elasticity buffer size units β¨NVME_PMREBS_RBB_MASKβ the mask that gets you the read bypass behavior πNVME_PMREBS_PMRWBZ_MASKβ the mask to get the PMR elasticity buffer size base, periodt π«NVME_PMREBS_PMRSZU_Bβ Bytes πNVME_PMREBS_PMRSZU_1Kβ 1 KiB π§NVME_PMREBS_PMRSZU_1Mβ 1 MiB πΈNVME_PMREBS_PMRSZU_1Gβ 1 GiB π
lowkey a whole unit ladder in one enum. bytes, kibibytes, mebibytes, gibibytes β the PMR elasticity buffer size units really said "we contain multitudes" ππ
and that's the whole page bestie, no cap, every single constant accounted for π«Ά this was enum nvme_pmrebs from the libnvme API Manual β page libnvme(2), dated July 2026, and yes the footer literally just repeats libnvme(2) again because she's iconic like that π
β¨
π¦ 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