libnvme(2)
π NAME π
okay bestie, listen up β this is libnvme, the API manual, and we're about to meet the absolute icon that is struct nvme_format_nvm_compln_event πβ¨
it's literally the Format NVM Completion Event Data struct. that's its whole job. it holds the data that shows up when a Format NVM command finishes doing its thing. no cap. π
β¨ SYNOPSIS β¨
the way she's built, fr fr:
struct nvme_format_nvm_compln_event {
__le32 nsid;
__u8 smallest_fpi;
__u8 format_nvm_status;
__le16 compln_info;
__le32 status_field;
};
likeβ¦ look at that layout. every field placed with intention. main character energy only. π
π¦ Members π¦
nsidβ the Namespace Identifier. it's a__le32. she tells you which namespace this whole event is about. your fave, basically. πΈsmallest_fpiβ the Smallest Format Progress Indicator. it's a__u8. yes it's tiny. no we don't disrespect it. progress is progress. π«Άformat_nvm_statusβ the Format NVM Status. it's a__u8. this is the vibe check on how the format went. πcompln_infoβ the Completion Information. it's a__le16. the little extra tea that comes along with the completion. βπstatus_fieldβ the Status Field. it's a__le32. the big status moment. it ate and left no crumbs. π₯
π quick reminder bestie: every one of these fields is stored exactly as declared up there.__le32,__u8,__u8,__le16,__le32β in that order, no reordering, no "improving" it. the struct said what it said. periodt. π
that's the whole page, and honestly? iconic. slayed. πβ
this was libnvme(2) β the API manual β dishing out struct nvme_format_nvm_compln_event for you, dated July 2026. mwah, go format something (responsibly). πππ§
π¦ 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