---
name: "nvme_init_manage_export_ns-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_manage_export_ns-libnvme3"
---

# nvme\_init\_manage\_export\_ns-libnvme3(2)

Initialize passthru command for Manage Exported Namespace

## NAME

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

## 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

- cmd

  Passthru command to use

- sel

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

- mos

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

- 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

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

- data

  Pointer to data buffer

- len

  Length of *data*

## DESCRIPTION

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