nvme_mi_adm...lloc_ns_list(2)
π« nvme_mi_adm...lloc_ns_list(2) π«
okay bestie, welcome to the libnvme API manual β¨ section 2, and today's main character is literally the page you're on β nvme_mi_adm...lloc_ns_list(2), aka the place where we talk about the function below. she's giving log page retrieval, she's giving group-chat energy, and she is not about to let you miss a single detail. π
β¨ NAME β¨
nvme_mi_admin_get_log_changed_alloc_ns_list β Retrieve Changed Allocated Namespace List Log πΈ
like. that's the whole vibe. you're retrieving the Changed Allocated Namespace List Log. no cap. π¦
β¨ SYNOPSIS β¨
int nvme_mi_admin_get_log_changed_alloc_ns_list (nvme_mi_ctrl_t ctrl ,
bool rae , __u32 len , struct nvme_ns_list *log );
okay so she takes four arguments and hands you back an int. slay. π
β¨ ARGUMENTS β¨
ctrlβ the Controller you're querying π this is who you're literally talking to.raeβ Retain asynchronous events. yes that's the whole description, the original said it in four words and so do I, we're all about economy here π«Άlenβ the allocated length of the log page. how much room did you give her? that much. πlogβ the user address to store the log page. she's gonna drop the goods right there π
β¨ RETURN β¨
you get the nvme command status if a response was received β peep enum nvme_status_field for the deets π₯
or, and listen, -1 with errno set otherwise π that's the "it went sideways" branch, respect it.
fr fr:-1means check yourerrno, bestie. the function told you something happened but the actual tea is in errno. π
and that's the whole page!! short, iconic, no filler. periodt. π
this lil manual page is from the libnvme API manual, dated July 2026 β and the top-line source/version tag it was flying under was nvme_mi_admin_get_log_changed_alloc_ns_list nvme_mi_adm...lloc_ns_list(2) π bye bestie, go fetch that log π π§
π¦ 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