libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” API Manual ✨

okay so bestie, we're diving into the libnvme API manual today and the main character of this page is enum nvme_id_ctrl_nvm_kpiocap β€” yes, that's a whole mouthful, we stan anyway 🫢


🌸 NAME 🌸

enum nvme_id_ctrl_nvm_kpiocap β€” literally the Key Per I/O Capabilities enum. that's it, that's the vibe ✨


πŸŽ€ SYNOPSIS πŸŽ€

here's the whole thing, copied exactly, no cap:

enum nvme_id_ctrl_nvm_kpiocap {
    NVME_ID_CTRL_NVM_KPIOCAP_KPIOS_SHIFT ,
    NVME_ID_CTRL_NVM_KPIOCAP_KPIOS_MASK ,
    NVME_ID_CTRL_NVM_KPIOCAP_KPIOSC_SHIFT ,
    NVME_ID_CTRL_NVM_KPIOCAP_KPIOSC_MASK

};

like… four constants, zero drama πŸ’€


⭐ Constants ⭐ (the iconic four)

  • NVME_ID_CTRL_NVM_KPIOCAP_KPIOS_SHIFT β€” the shift amount you use to get Key Per I/O Supported (KPIOS) out of whatever you're digging through πŸ”
  • NVME_ID_CTRL_NVM_KPIOCAP_KPIOS_MASK β€” the mask for KPIOS, so you can isolate those bits like a boss πŸ’…
  • NVME_ID_CTRL_NVM_KPIOCAP_KPIOSC_SHIFT β€” the shift amount for Key Per I/O Scope (KPIOSC) β€” yes it's KPIOS with a C on the end, don't let the naming jump-scare you 😭
  • NVME_ID_CTRL_NVM_KPIOCAP_KPIOSC_MASK β€” the mask for KPIOSC. masking queen πŸ‘‘
lowkey the whole page is just shift amounts and masks. shift = move the bits, mask = keep the bits. that's the entire lore, iykyk 🧚

and that's the page, bestie β€” go forth and mask those keys per I/O πŸŒˆπŸ’–

October 2026 Β· enum nvme_id_ctrl_nvm_kpiocap Β· libnvme(9) β€” mwah, that's the footer, see u next manpage πŸŽ€β­

πŸ“¦ where this page comes from