libnvme(2)
β¨ libnvme(2) β API Manual β¨
okay bestie, welcome to the libnvme era π this is section 2 of the manual, the API corner of the world, and today's main character is a lil struct that just wants to tell you how many endurance groups there are. no cap.
πΈ NAME πΈ
struct nvme_id_endurance_group_list β Endurance Group List π¦
like. it's literally a list. of endurance groups. the name ate and left no crumbs.
β¨ SYNOPSIS β¨
struct nvme_id_endurance_group_list {
__le16 num;
__le16 identifier[NVME_ID_ENDURANCE_GROUP_LIST_MAX];
};
that's the whole vibe right there π two little members living their best life.
π Members π
numβ Number of Identifiers π’ fr fr, that's what it holds, that's literally its whole job.identifierβ Endurance Group Identifier π the actual IDs themselves, chillin' in an array.
lowkey important: both of these are__le16, so they're little-endian, and the array is capped atNVME_ID_ENDURANCE_GROUP_LIST_MAXentries. nothing extra, nothing invented, just the facts bestie π«Ά
anyway, that's the page!! this little guy came from the libnvme(2) manual, dated July 2026, filed under struct nvme_id_endurance_group_list. slay, bye, drink water ππ§π
π¦ 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