libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’œ libnvme β€” enum nvme_cmbebs

ok so bestie, this page is from the API Manual for libnvme, and it's literally all about one little enum called enum nvme_cmbebs πŸ’… don't worry, it's way less scary than it sounds.


✨ NAME ✨

enum nvme_cmbebs β€” this field indicates the controller memory buffer elasticity buffer size πŸŽ€


🌸 SYNOPSIS 🌸

enum nvme_cmbebs {
    NVME_CMBEBS_CMBSZU_SHIFT ,
    NVME_CMBEBS_RBB_SHIFT ,
    NVME_CMBEBS_CMBWBZ_SHIFT ,
    NVME_CMBEBS_CMBSZU_MASK ,
    NVME_CMBEBS_RBB_MASK ,
    NVME_CMBEBS_CMBWBZ_MASK ,
    NVME_CMBEBS_CMBSZU_B ,
    NVME_CMBEBS_CMBSZU_1K ,
    NVME_CMBEBS_CMBSZU_1M ,
    NVME_CMBEBS_CMBSZU_1G

};

πŸ¦‹ Constants 🌈

okay here's the whole squad, one by one, no gatekeeping 🫢

  • NVME_CMBEBS_CMBSZU_SHIFT β€” the shift amount you use to get the CMB elasticity buffer size units ✨
  • NVME_CMBEBS_RBB_SHIFT β€” the shift amount you use to get the read bypass behavior πŸ‘‘
  • NVME_CMBEBS_CMBWBZ_SHIFT β€” the shift amount you use to get the CMB elasiticity buffer size base πŸ’«
  • NVME_CMBEBS_CMBSZU_MASK β€” the mask you use to get the CMB elasticity buffer size units πŸŽ€
  • NVME_CMBEBS_RBB_MASK β€” the mask you use to get the read bypass behavior πŸ”₯
  • NVME_CMBEBS_CMBWBZ_MASK β€” the mask you use to get the CMB elasiticity buffer size base 🌸
  • NVME_CMBEBS_CMBSZU_B β€” bytes granularity, like, the teeniest unit πŸ“
  • NVME_CMBEBS_CMBSZU_1K β€” 1 KiB granularity ⭐
  • NVME_CMBEBS_CMBSZU_1M β€” 1 MiB granularity πŸ’–
  • NVME_CMBEBS_CMBSZU_1G β€” 1 GiB granularity, big main character energy πŸ‘‘

heads up bestie: NVME_CMBEBS_CMBWBZ_SHIFT and NVME_CMBEBS_CMBWBZ_MASK describe the size base while the others describe the size units β€” don't mix them up, iykyk πŸ™ˆ

and that's the whole page, no cap πŸ’… this was enum nvme_cmbebs from the libnvme API Manual, dated October 2026 β€” mwah, go slay your buffer sizes πŸ§šπŸ’œ

πŸ“¦ where this page comes from