---
name: "nvme_init_ns_mgmt-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_ns_mgmt-libnvme3"
---

# nvme\_init\_ns\_mgmt-libnvme3(2)

Initialize passthru command for Namespace Management

## NAME

nvme\_init\_ns\_mgmt - Initialize passthru command for Namespace Management

## SYNOPSIS

**void nvme\_init\_ns\_mgmt** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **enum nvme\_ns\_mgmt\_sel sel** *,* **\_\_u8 csi** *,* **struct nvme\_ns\_mgmt\_host\_sw\_specified \*data** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace identifier

- sel

  Type of management operation to perform

- csi

  Command Set Identifier

- data

  Host Software Specified Fields buffer

## DESCRIPTION

Initializes the passthru command buffer for the Namespace Management command.
