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: -1 means check your errno, 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