nvme_init_get_log_smart(9) libnvme API manual nvme_init_get_log_smart(9)

nvme_init_get_log_smart - Initialize passthru command for SMART / Health Information

void nvme_init_get_log_smart (struct libnvme_passthru_cmd *cmd , __u32 nsid , struct nvme_smart_log *smart_log );

Passthru command to use
Optional namespace identifier
User address to store the smart log

Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_SMART.

nvme_init_get_log_smart October 2026