Scroll to navigation

nvme_init_manage_export_ns_associate(2) libnvme API manual nvme_init_manage_export_ns_associate(2)

NAME

nvme_init_manage_export_ns_associate - Initialize passthru command for Manage Exported Namespace - Associate Namespace

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

Passthru command to use
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.
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
Exported NVM Subsystem Identifier (ESUBID), used if esubidv is set
Associate Namespace data buffer, see struct nvme_associate_ns_data

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