---
name: "nvme_init_identify_allocated_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_identify_allocated_ns-libnvme3"
---

# nvme\_init\_identify\_allocated\_ns-libnvme3(2)

Initialize passthru command for allocated Namespace ID list

## NAME

nvme\_init\_identify\_allocated\_ns - Initialize passthru command for allocated Namespace ID list

## SYNOPSIS

**void nvme\_init\_identify\_allocated\_ns** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **struct nvme\_id\_ns \*ns** *);*

## ARGUMENTS

- cmd

  Command data structure to initialize

- nsid

  Namespace to identify

- ns

  User space destination address to transfer the data

## DESCRIPTION

Initializes the passthru command buffer for the Identify command with CNS value NVME\_IDENTIFY\_CNS\_ALLOCATED\_NS.
