nvme_init_get_log_error-libnvme3(2)

nvme_init_get_log_error-libnvme32

Initialize passthru command for error information

Usage

void nvme_init_get_log_error (struct libnvme_passthru_cmd *cmd , unsigned int nr_entries , struct nvme_error_log_page *err_log );

Arguments

cmd

Passthru command to use

nr_entries

Number of error log entries allocated

err_log

Array of error logs of size 'entries'

Overview

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

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.