nvme_init_g...urance_group(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’– nvme_init_get_log_endurance_group(9) πŸ’–

okay so bestie, welcome to the libnvme API manual β€” this one's a little function with a big name and honestly she's serving exactly what she needs to serve. let's get into it πŸŽ€


✨ NAME ✨

nvme_init_get_log_endurance_group β€” the girl whose whole job is to Initialize passthru command for Endurance Group Information. that's it, that's her whole personality, and she's iconic for it πŸ’…


🌸 SYNOPSIS 🌸

void nvme_init_get_log_endurance_group (struct libnvme_passthru_cmd *cmd
, __u16 endgid , struct nvme_endurance_group_log *log );

lowkey obsessed with how she returns void β€” no drama, no return value, she just does the thing and leaves πŸ¦‹


🫢 ARGUMENTS 🫢

  • cmd β€” the Passthru command to use. like, this is the vessel, the main character of the operation, hand her over and she gets set up πŸ’–
  • endgid β€” Starting group identifier to return in the list. type is __u16, so she's a little baby integer, but she's got range 🌈
  • log β€” User address to store the endurance log. this is where the good stuff lands, so make sure it's pointing somewhere real, ngl πŸ™ˆ

⭐ DESCRIPTION ⭐

so here's the vibe: this function Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_ENDURANCE_GROUP. that's the whole meal. she sets up the passthru command buffer, she uses that specific LID value, and she does it flawlessly. no cap πŸ”₯

like, think of it as the pre-game β€” you hand her the cmd, the endgid, and the log address, and she makes sure everything's staged correctly before the actual Get Log goes down. periodt πŸ’€βœ¨


ngl there are no OPTIONS, no SEE ALSO, no extra lore on this page β€” she's a short queen and we respect her for it πŸ‘‘

and that's the whole page, bestie! this cutie dropped in the libnvme API manual, dated October 2026 β€” so yeah, she's fresh, she's documented, she's nvme_init_get_log_endurance_group(9) and she ate πŸ’…πŸ’–πŸŽ€

πŸ“¦ where this page comes from