nvme\_init\_manage\_export\_ns\_associate(9) libnvme API manual nvme\_init\_manage\_export\_ns\_associate(9)

# [NAME](#NAME)

nvme\_init\_manage\_export\_ns\_associate - Initialize passthru command for Manage Exported Namespace - Associate Namespace

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_manage\_export\_ns\_associate** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u8 andsf ,** **bool esubidv ,** **\_\_u16 esubid ,** **struct nvme\_associate\_ns\_data \*data );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[andsf](#andsf)

Associate Namespace Data Structure Format (ANDSF): the bit number in the Exported Namespace Data Structure Formats Supported (ENDSFS) field (Identify Controller data structure) that defines the format of *data*. Bit 1 selects the format defined by *struct nvme\_associate\_ns\_data*.

[esubidv](#esubidv)

Exported NVM Subsystem Identifier Valid (ESUBIDV): if set, *esubid* identifies the target Exported NVM Subsystem; otherwise the target is identified by the ENSNQN field in *data*

[esubid](#esubid)

Exported NVM Subsystem Identifier (ESUBID), used if *esubidv* is set

[data](#data)

Associate Namespace data buffer, see *struct* *nvme\_associate\_ns\_data*

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Manage Exported Namespace command with SEL value NVME\_MANAGE\_EXPORT\_NS\_SEL\_ASSOCIATE.

nvme\_init\_manage\_export\_ns\_associate October 2026

---

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