libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” like, the API manual bestie πŸ’…

okay so this is a page straight out of the libnvme manual (section 9, we're fancy), and it's honestly serving very niche-but-iconic energy ✨


🌸 NAME 🌸

enum nvme_power_measurement_type β€” the power measurement types, aka the whole vibe check on how we're measuring power ⚑


πŸ¦‹ SYNOPSIS πŸ¦‹

enum nvme_power_measurement_type {
    NVME_PMT_NSS_TOTAL_POWER ,
    NVME_PMT_RSVD_MIN ,
    NVME_PMT_RSVD_MAX ,
    NVME_PMT_VS_MIN ,
    NVME_PMT_VS_MAX

};

like, that's the whole enum. five constants, no notes, she's literally right there πŸ‘‘


πŸŽ€ Constants πŸŽ€

these are the members of the enum, and each one has main character energy in its own little way:

  • NVME_PMT_NSS_TOTAL_POWER β€” the total power of the NVM subsystem. the big picture, the whole sum, the it-girl of power numbers πŸ’–
  • NVME_PMT_RSVD_MIN β€” the reserved minimum value. not for us, bestie, it's reserved πŸ™ˆ
  • NVME_PMT_RSVD_MAX β€” the reserved maximum value. same deal, reserved, hands off 🫢
  • NVME_PMT_VS_MIN β€” the Vendor Specific minimum value. vendor's choice, vendor's rules, iykyk 🧚
  • NVME_PMT_VS_MAX β€” the Vendor Specific maximum value. the top end of the vendor-specific situation, slay ✨
fr fr the reserved ones and the vendor-specific ones are exactly what they say on the tin β€” don't go reading extra meaning into them πŸ’€

okay that's the whole page, no cap πŸ’œ big thanks to the libnvme manual, October 2026 edition β€” mwah, we love a well-documented enum πŸŽ€βœ¨β­

πŸ“¦ where this page comes from