Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_get_log_args - Arguments for the NVMe Admin Get Log command

SYNOPSIS

struct nvme_get_log_args {
__u64 lpo;
__u32 *result;
void *log;
int args_size;
int fd;
__u32 timeout;
enum nvme_cmd_get_log_lid lid;
__u32 len;
__u32 nsid;
enum nvme_csi csi;
__u16 lsi;
__u8 lsp;
__u8 uuidx;
bool rae;
bool ot;
};

Members

Log page offset for partial log transfers
The command completion result from CQE dword0
User space destination address to transfer the data
Length of the structure
File descriptor of nvme device
Timeout in ms
Log page identifier, see enum nvme_cmd_get_log_lid for known values
Length of provided user buffer to hold the log data in bytes
Namespace identifier, if applicable
Command set identifier, see enum nvme_csi for known values
Log Specific Identifier
Log specific field
UUID selection, if supported
Retain asynchronous events
Offset Type; if set lpo specifies the index into the list of data structures, otherwise lpo specifies the byte offset into the log page.
struct nvme_get_log_args December 2025