NVME_MI_ADMIN_GET_LOG_SIMPLE(2)
β¨ NAME β¨
nvme_mi_admin_get_log_simple β the lil helper bestie for Get Log Page that keeps it simple, no NSID drama, no RAE requirements π
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_log_simple (nvme_mi_ctrl_t ctrl , enum
nvme_cmd_get_log_lid lid , __u32 len , void *log );
π ARGUMENTS π
ctrlβ the Controller you're querying, aka your main character π«Άlidβ the Log identifier, like which log are we even pulling herelenβ length of the log buffer, so like, how much room we gotlogβ pointer for the resulting log data, where the tea gets dropped π
π¦ DESCRIPTION π¦
okay so real quick β this function Performs a Get Log Page Admin command for a specific log ID lid, using NVME_NSID_ALL for the namespace identifier, and rae set to false.
that's it. that's the whole vibe. you don't gotta think about namespace IDs, you don't gotta think about rae, it's just handled. lowkey iconic of it β¨
π₯ RETURN π₯
It gives you back the nvme command status if a response was received (peep enum nvme_status_field for the deets π) β or -1 with errno set otherwise. so like, if you get -1, go check errno, she's trying to tell you something π
July 2026 π libnvme API manual β that's the versionage and the date bestie, no cap, fr fr. go forth and get those logs slay ππ
π¦ 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