NVME_INIT_GET_LOG_DISCOVERY-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’– NAME πŸ’–

Okay so welcome to the libnvme API manual, bestie β€” this is the page for nvme_init_get_log_discovery(9) ✨.

nvme_init_get_log_discovery β€” Initialize passthru command for Discovery. That’s the whole name vibe: it’s giving β€œset up the passthru command so we can go get that Discovery log” πŸ¦‹.

✨ SYNOPSIS ✨

void nvme_init_get_log_discovery (struct libnvme_passthru_cmd *cmd ,
       __u64 lpo , void *log , __u32 len );

This is the exact signature, no cap. Do not come for the spacing β€” it’s literally that πŸ’….

πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” Passthru command to use. This is the passthru command you’re working with 🫢.
  • lpo β€” Offset of this log to retrieve. Basically where in the log you’re starting, iykyk.
  • log β€” User address to store the discovery log. This is where the discovery log goes 🌸.
  • len β€” The allocated size for this portion of the log. The amount of room you’ve got for this chunk, periodt.

🌈 DESCRIPTION 🌈

So here’s the tea: this function initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_DISCOVERY πŸ”₯. That’s the main character move β€” it sets up the passthru command buffer for Get Log with that LID, fr fr. No extra plot twists.


That’s the page, bestie 🫢 β€” source/version vibes: libnvme API manual, date: October 2026, and the page is nvme_init_get_log_discovery(9) 🌟. Also the footer had a lil disconvme glitch in its page-name moment β€” iconic typo behavior, but we’re still obsessed πŸ’….

πŸ“¦ where this page comes from