nvme\_init\_set\_features\_enh\_ctrl\_metadata(9) libnvme API manual nvme\_init\_set\_features\_enh\_ctrl\_metadata(9)

# [NAME](#NAME)

nvme\_init\_set\_features\_enh\_ctrl\_metadata - Initialize passthru command for Enhanced Controller Metadata

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_set\_features\_enh\_ctrl\_metadata** **(struct libnvme\_passthru\_cmd \*cmd ,** **bool sv ,** **\_\_u8 ea ,** **struct nvme\_host\_metadata \*data );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[sv](#sv)

Save value across power states

[ea](#ea)

Element Action (EA), see *enum nvme\_host\_metadata\_ea*

[data](#data)

Host Metadata data buffer, see *struct nvme\_host\_metadata*

# [DESCRIPTION](#DESCRIPTION)

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

---

Document: nvme_init_set_features_enh_ctrl_metadata-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
