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 atenum nvme_apst_entryfor 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
- 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