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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_manage\_export\_ns** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u8 sel ,** **\_\_u8 mos ,** **bool esubidv ,** **\_\_u16 esubid ,** **void \*data ,** **\_\_u32 len );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[sel](#sel)

Select (SEL): management operation to perform, see *enum* *nvme\_manage\_export\_ns\_sel*

[mos](#mos)

Management Operation Specific (MOS): specific to *sel*

[esubidv](#esubidv)

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

[esubid](#esubid)

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

[data](#data)

Pointer to data buffer

[len](#len)

Length of *data*

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Manage Exported Namespace command.

nvme\_init\_manage\_export\_ns October 2026

---

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