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 bestie
  • endgid β€” 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 check errno fr 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