libnvme(9)
π 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_SHIFTandNVME_CMBEBS_CMBWBZ_MASKdescribe 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
- 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