libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… NAME πŸ’…

enum nvme_pmrswtp β€” okay so this is the enum, and it's literally the field that indicates the persistent memory region sustained write throughput. That's it, that's the whole vibe 🫢


✨ SYNOPSIS ✨

enum nvme_pmrswtp {
    NVME_PMRSWTP_PMRSWTU_SHIFT ,
    NVME_PMRSWTP_PMRSWTV_SHIFT ,
    NVME_PMRSWTP_PMRSWTU_MASK ,
    NVME_PMRSWTP_PMRSWTV_MASK ,
    NVME_PMRSWTP_PMRSWTU_BPS ,
    NVME_PMRSWTP_PMRSWTU_KBPS ,
    NVME_PMRSWTP_PMRSWTU_MBPS ,
    NVME_PMRSWTP_PMRSWTU_GBPS

};

🌸 Constants 🌸

Not me about to list every single one of these, because bestie we do not skip βœ‹ Here's the whole squad, no cap:

  • NVME_PMRSWTP_PMRSWTU_SHIFT β€” the shift amount you use to get the PMR sustained write throughput units πŸ”₯
  • NVME_PMRSWTP_PMRSWTV_SHIFT β€” the shift amount you use to get the PMR sustained write throughput ⭐
  • NVME_PMRSWTP_PMRSWTU_MASK β€” the mask that gets you the PMR sustained write throughput units πŸŽ€
  • NVME_PMRSWTP_PMRSWTV_MASK β€” the mask that gets you the PMR sustained write throughput πŸ¦‹
  • NVME_PMRSWTP_PMRSWTU_BPS β€” literally just bytes per second πŸ’œ
  • NVME_PMRSWTP_PMRSWTU_KBPS β€” 1 KiB / s, one kibibyte every second, iconic πŸ’…
  • NVME_PMRSWTP_PMRSWTU_MBPS β€” 1 MiB / s, now we're mebibyte-ing 🧚
  • NVME_PMRSWTP_PMRSWTU_GBPS β€” 1 GiB / s, gibibytes per second, main character energy πŸ‘‘
Lowkey important: two of these are shifts, two are masks, and the last four are straight-up units for the throughput. Keep 'em straight and you're golden πŸ“

Okay that's the whole page, and yes it's short β€” sometimes a manpage is just a little enum living its best life πŸ’–

Big sign-off energy: this one's from the libnvme(9) API Manual, dated October 2026. Slay, go read the other pages, ily πŸ˜­πŸ’œ

πŸ“¦ where this page comes from