nvme_init_set_features_enh_ctrl_metadata(9) libnvme API manual nvme_init_set_features_enh_ctrl_metadata(9)

nvme_init_set_features_enh_ctrl_metadata - Initialize passthru command for Enhanced Controller Metadata

void nvme_init_set_features_enh_ctrl_metadata (struct libnvme_passthru_cmd *cmd , bool sv , __u8 ea , struct nvme_host_metadata *data );

Passthru command to use
Save value across power states
Element Action (EA), see enum nvme_host_metadata_ea
Host Metadata data buffer, see struct nvme_host_metadata

Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_ENH_CTRL_METADATA

nvme_init_set_features_enh_ctrl_metadata October 2026