nvme\_init\_identify\_allocated\_ns(9) libnvme API manual nvme\_init\_identify\_allocated\_ns(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Command data structure to initialize

[nsid](#nsid)

Namespace to identify

[ns](#ns)

User space destination address to transfer the data

# [DESCRIPTION](#DESCRIPTION)

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

nvme\_init\_identify\_allocated\_ns October 2026

---

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