nvme_init_g...urance_group(9)
π 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
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms