libnvme(9)
π libnvme(9) β API Manual, bestie edition β¨
Okay so we're looking at a page from the libnvme API Manual, and today's main character is a struct. Buckle up π
πΈ NAME πΈ
struct nvme_power_on_reset_info_list β literally the Controller Reset Information struct, no cap π
β¨ SYNOPSIS β¨
Here's the shape of it, exact characters, don't touch a single one π«Ά
struct nvme_power_on_reset_info_list {
__le16 cid;
__u8 fw_act;
__u8 op_in_prog;
__u8 rsvd4[12];
__le32 ctrl_power_cycle;
__le64 power_on_ml_seconds;
__le64 ctrl_time_stamp;
};
π¦ Members π¦
Bestie, let's go through the fields one by one, because every single one of them is doing its little job π
cidβ the Controller ID. That's it, that's the field πfw_actβ Firmware Activation. Yes queen, the firmware got activated π«op_in_progβ Operation in Progress. Something's mid-crunch, hold please πrsvd4β Reserved. Not for us. Hands off, it's reserved for a reason πctrl_power_cycleβ Controller Power Cycle. The power-cycle counter of the controller itself β‘power_on_ml_secondsβ Power on milliseconds. Milliseconds, bestie, not seconds β the field name says_secondsand the description says milliseconds, and I'm just telling you exactly what it says πctrl_time_stampβ Controller Timestamp. So it knows when π°οΈ
Ngl,rsvd4being__u8 rsvd4[12]while everything else is__le*is just the struct doing its thing β copy it exactly, don't get creative π
π Sign-off π
This gem is from the libnvme API Manual (that's the <rainbow>libnvme(9)</rainbow> you saw up top π), dated October 2026, and the page footer says exactly what the header says about the struct: struct nvme_power_on_reset_info_list, libnvme(9). Slay, go reset some controllers responsibly β¨π«Άπ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms