NVME_MI_ADMIN_GET_ENDGID_LOG(2)
π nvme_mi_admin_get_endgid_log(2) π
okay so bestie, welcome to the libnvme API manual</> β¨ this one's a lil helper function and she is so specific about what she wants, but don't worry, we're gonna get through it together π«Ά
β¨ NAME β¨
nvme_mi_admin_get_endgid_log β Helper for Get Endurance Group ID Log Page functions π
πΈ SYNOPSIS πΈ
int nvme_mi_admin_get_endgid_log (nvme_mi_ctrl_t ctrl , bool rae , enum
nvme_cmd_get_log_lid lid , __u16 endgid , __u32 len , void *log );
π ARGUMENTS π
ctrlβ the Controller to query, like who are we even talking to rn πraeβ Retain Asynchronous Events, she's keeping the receipts πlidβ Log identifier, which log are we pulling bestieendgidβ Endurance Group ID, the specific squad member we're checking on πlenβ length of log buffer, how much room we're giving it πlogβ pointer for resulting log data, where the tea gets poured π΅
π¦ DESCRIPTION π¦
So what she does is literally: she Performs a Get Log Page Admin command for a specific log ID lid and endurance group ID endgid. That's the whole vibe. π«
Log data is expected to be len bytes, and is stored in log on success β no cap, it just slides right in there. π«Ά
The rae flag is passed as-is to the Get Log Page command, and it's specific to the Log Page requested. Like, she doesn't touch it, she doesn't interpret it, she just hands it over. Periodt. π
β RETURN β
She returns The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise. So either you get the status, or you get -1 and errno is like "not me having to explain what went wrong" π
heads up babes: if you see that-1, go checkerrnofr fr, she's not gonna spell it out for you any other way π
okay that's the whole page, you ate that bestie π this was the nvme_mi_admin_get_endgid_log(2) page from the libnvme API manual</>, dated July 2026 β mwah, love her, see you in the next manpage πβ¨π¦
π¦ 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