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