libnvme(2)

πŸ’– libnvme(2) β€” API Manual ✨

okay bestie, welcome to the libnvme API manual, page two, no cap πŸ’… this one is short and sweet but it's important, because it's about a struct that lets your NVMe drive decide its own naptime. Let's get into it 🫢


🌸 NAME 🌸

struct nvme_feat_auto_pst β€” Autonomous Power State Transition, aka your drive's lil self-care schedule πŸ›Œβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct nvme_feat_auto_pst {
    __le64 apst_entry[32];
 };

there she is. the whole vibe. 32 little slots of __le64 goodness, and yes the braces are formatted exactly like that, don't @ me 😭


πŸŽ€ Members πŸŽ€

  • apst_entry β€” this is the actual list of entries, and the manpage points you at enum nvme_apst_entry for the deets on what goes in them πŸ‘€ see also energy, fr fr. it's an array of 32 of them, so the struct is basically 32 opportunities for your drive to say "not right now, I'm resting" 😌
lowkey remember: this page doesn't define the values itself, it literally just says see enum nvme_apst_entry β€” so go read that one, bestie, iykyk πŸ“–πŸ’–

that's the whole page, she's a short queen πŸ‘‘ and that's on Autonomous Power State Transition being iconic πŸ’«

signing off from struct nvme_feat_auto_pst, in the libnvme manual, dated July 2026 🌸 mwah, go drink some water and then go read that enum πŸ’œ

πŸ“¦ where this page comes from