nvme_init_g...ve_discovery(9)

πŸ“¦ version 3.2, in arch rolling

✨ NAME ✨

nvme_init_get_log_ave_discovery β€” the little function that initializes a passthru command for AVE Discovery πŸ’…

okay so real talk, this page is from the libnvme API manual, and the running header lowkey truncates the name to nvme_init_g...ve_discovery(9) β€” iykyk, headers be like that sometimes πŸ™ˆ


🌸 SYNOPSIS 🌸

void nvme_init_get_log_ave_discovery (struct libnvme_passthru_cmd *cmd ,
       struct nvme_ave_discovery_log *log , __u32 len );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” the passthru command you're using, bestie 🫢
  • log β€” the user address where the log page gets stored ✨
  • len β€” the allocated length of the log page, no cap πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function initializes the passthru command buffer for the Get Log command, and it uses the LID value NVME_LOG_LID_AVE_DISCOVERY. that's the vibe. it's giving β€œset up the command and let it slay” πŸ’–πŸ”₯


made with πŸ’– from the libnvme API manual, dated October 2026 β€” source/version noted, periodt. bye bestie! 🫢✨

πŸ“¦ where this page comes from