---
name: "nvme_init_identify_iocs_ind_id_alloc_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_iocs_ind_id_alloc_ns-libnvme3"
---

# nvme\_init\_identify\_iocs\_ind\_id\_alloc\_ns-libnvme3(2)

Initialize passthru command for I/O Command Set Independent Identify Namespace data structure for an Allocated Namespace ID

## NAME

nvme\_init\_identify\_iocs\_ind\_id\_alloc\_ns - Initialize passthru command for I/O Command Set Independent Identify Namespace data structure for an Allocated Namespace ID

## SYNOPSIS

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

## ARGUMENTS

- cmd

  Command data structure to initialize

- nsid

  Allocated namespace identifier

- ns

  I/O Command Set Independent Identify Namespace data structure

## DESCRIPTION

Initializes the passthru command buffer for the Identify command with CNS value NVME\_IDENTIFY\_CNS\_IOCS\_IND\_ID\_ALLOC\_NS.
