NAME

nvme_mi_admin_get_nsid_log - Helper for Get Log Page functions

SYNOPSIS

int nvme_mi_admin_get_nsid_log (nvme_mi_ctrl_t ctrl , bool rae , enum nvme_cmd_get_log_lid lid , __u32 nsid , __u32 len , void *log );

ARGUMENTS

ctrl
Controller to query
rae
Retain Asynchronous Events
lid
Log identifier
nsid
Namespace ID
len
length of log buffer
log
pointer for resulting log data

DESCRIPTION

Performs a Get Log Page Admin command for a specific log ID lid and namespace ID nsid. Log data is expected to be len bytes, and is stored in log on success. The rae flag is passed as-is to the Get Log Page command, and is specific to the Log Page requested.

RETURN

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Questions & Answers

Helpful answers and articles about nvme_mi_admin_get_nsid_log you may found on these sites:
Stack Overflow Server Fault Super User Unix & Linux Ask Ubuntu Network Engineering DevOps Raspberry Pi Webmasters Google Search