nvme_mi_adm...ed_log_pages(2)
β¨ NAME β¨
nvme_mi_admin_get_log_supported_log_pages β bestie, this one pulls up the NVMe supported log pages π
Like, this page lives in the libnvme API manual, section 2, and we're gonna get you all the way through it. No cap.
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_log_supported_log_pages (nvme_mi_ctrl_t ctrl ,
bool rae , struct nvme_supported_log_pages *log );
okay so that's the whole vibe, three little things go in and an int comes out π
π ARGUMENTS π
ctrlβ the Controller we're querying, like hi bestie tell me everything πraeβ Retain asynchronous events. yep, that's the whole personality of this one π¦logβ Array of LID supported and Effects data structures. this is where all the tea gets poured π
π RETURN π
It hands you back the nvme command status if a response was received (peep enum nvme_status_field for that, iykyk), or literally -1 with errno set otherwise. π
fr fr, if you get a-1, go checkerrnobefore you spiral, okay? it's giving helpful actually.
that's the whole page, no filler, we ate π
source + version: libnvme API manual, and this lil drop is dated July 2026 β¨
mwah, go log something iconic π
π¦ 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