NAME
nvme_init_get_log_lockdown - Initialize passthru command for Command and Feature Lockdown
SYNOPSIS
void nvme_init_get_log_lockdown (struct libnvme_passthru_cmd *cmd , __u8 cnscp , __u16 cntlid , struct nvme_lockdown_log *lockdown_log );
ARGUMENTS
- cmd
-
Passthru command to use
- cnscp
-
Contents and Scope of Command and Feature Identifier Lists, see enum nvme_lockdown_log_lsp. Set the NVME_LOCKDOWN_LOG_LSP_ELPF bit to request the Controller-scoped Enhanced log page format instead of the original format.
- cntlid
-
Controller Identifier: scopes the returned log page to the specified controller if the ELPF bit is set in cnscp. Ignored otherwise.
- lockdown_log
-
Buffer to store the lockdown log
DESCRIPTION
Initializes the passthru command buffer for the Get Log command with LID value NVME_LOG_LID_CMD_AND_FEAT_LOCKDOWN