NVME_INIT_GET_LOG_HOST_DISCOVERY-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

nvme_init_get_log_host_discovery(9) πŸ’–

okay so bestie, you're in the libnvme API manual and this page is all about nvme_init_get_log_host_discovery β€” a little setup gremlin for the Get Log command. it's giving β€œprep the passthru buffer” energy, and honestly? iconic. ✨

🌸 NAME 🌸

nvme_init_get_log_host_discovery β€” initialize passthru command for Host Discover

✨ SYNOPSIS ✨

void nvme_init_get_log_host_discovery (struct libnvme_passthru_cmd *cmd
, bool allhoste , struct nvme_host_discovery_log *log , __u32 len );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmd β€” the passthru command to use. this is the command buffer getting set up, bestie 🫢
  • allhoste β€” all host entries. it's a bool, and yes the spelling is exactly allhoste β€” no cap, we keep it πŸ’…
  • log β€” the user address to store the log page. highkey important: it's where the log page goes πŸ’–
  • len β€” the allocated length of the log page. the size of the space you're giving it, periodt ✨

πŸ’… DESCRIPTION πŸ’…

This initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_HOST_DISCOVERY.

That's the whole vibe: set up the command buffer for the Host Discover log. the function is void, so there's no return value to obsess over β€” it just does the setup and dips 😌


mwah πŸ’‹ β€” from your libnvme API manual, dated October 2026, page nvme_init_get_log_host_discovery(9). go off, bestie 🌈

πŸ“¦ where this page comes from