NVME_INIT_GET_LOG_HOST_DISCOVERY-LIBNVME3(2)
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 abool, and yes the spelling is exactlyallhosteβ 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
- 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