Reference

nvme_init_get_log_error-libnvme3(2)

Initialize passthru command for Error Information

NAME

nvme_init_get_log_error - Initialize passthru command for Error Information

SYNOPSIS

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'

DESCRIPTION

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