libnvme(2)
β¨ NAME β¨
okay so bestie, this is enum nvme_cmbswtp β aka the field that tells you the controller memory buffer sustained write throughput. yes it's a mouthful, no we don't make the rules π
This page lives in the libnvme manual, section 2 (iykyk), so if you ever need to cite it: that's the vibe.
π¦ SYNOPSIS π¦
enum nvme_cmbswtp {
NVME_CMBSWTP_CMBSWTU_SHIFT ,
NVME_CMBSWTP_CMBSWTV_SHIFT ,
NVME_CMBSWTP_CMBSWTU_MASK ,
NVME_CMBSWTP_CMBSWTV_MASK ,
NVME_CMBSWTP_CMBSWTU_B ,
NVME_CMBSWTP_CMBSWTU_1K ,
NVME_CMBSWTP_CMBSWTU_1M ,
NVME_CMBSWTP_CMBSWTU_1G
};
π CONSTANTS π
the whole squad, one by one, no skips:
NVME_CMBSWTP_CMBSWTU_SHIFTβ the shift amount you need to pull out the CMB sustained write throughput units. shifting is the moment β¨NVME_CMBSWTP_CMBSWTV_SHIFTβ the shift amount you need to pull out the CMB sustained write throughput value. same energy, different snack.NVME_CMBSWTP_CMBSWTU_MASKβ the mask that grabs you the CMB sustained write throughput units. masking = the glamour of bitwise ops.NVME_CMBSWTP_CMBSWTU_MASK... no wait π βNVME_CMBSWTP_CMBSWTV_MASKβ the mask that grabs you the CMB sustained write throughput value itself. iconic, separate from the units one.NVME_CMBSWTP_CMBSWTU_Bβ Bytes/second granularity πNVME_CMBSWTP_CMBSWTU_1Kβ 1 KiB/second granularity πΈNVME_CMBSWTP_CMBSWTU_1Mβ 1 MiB/second granularity πNVME_CMBSWTP_CMBSWTU_1Gβ 1 GiB/second granularity π
not me alphabetically listing them and lowkey double-checking the mask names three times π the units family isCMBSWTU, the value family isCMBSWTVβ one letter apart, forever beefing.
and that's the whole page, bestie π«Ά we ate. this was libnvme, manual section 2, documented back in July 2026 β go forth and decode your throughput units responsibly π
π¦ 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