Reference

nvme_init_get_log_rotational_media_info-libnvme3(2)

Initialize passthru command for Rotational Media Information Log

NAME

nvme_init_get_log_rotational_media_info - Initialize passthru command for Rotational Media Information Log

SYNOPSIS

void nvme_init_get_log_rotational_media_info (struct libnvme_passthru_cmd *cmd , __u16 endgid , struct nvme_rotational_media_info_log *log , __u32 len );

ARGUMENTS

cmd

Passthru command to use

endgid

Endurance Group Identifier

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_ROTATIONAL_MEDIA_INFO