Reference

nvme_init_get_log_power_measurement-libnvme3(2)

Initialize passthru command for Power Measurement

NAME

nvme_init_get_log_power_measurement - Initialize passthru command for Power Measurement

SYNOPSIS

void nvme_init_get_log_power_measurement (struct libnvme_passthru_cmd *cmd , struct nvme_power_meas_log *log , __u32 len );

ARGUMENTS

cmd

Passthru command to use

log

User address to store the log page

len

The allocated length of the log page

DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_POWER_MEASUREMENT