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 check errno before 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