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

# [NAME](#NAME)

nvme\_init\_identify - Initialize passthru command for NVMe Identify

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_identify** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u32 nsid ,** **enum nvme\_csi csi ,** **enum nvme\_identify\_cns cns ,** **void \*data ,** **\_\_u32 len );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Command data structure to initialize

[nsid](#nsid)

Namespace identifier

[csi](#csi)

Command Set Identifier

[cns](#cns)

The Controller or Namespace structure, see *enum* nvme\_identify\_cns

[data](#data)

User space destination address to transfer the data

[len](#len)

Length of provided user buffer to hold the data in bytes

# [DESCRIPTION](#DESCRIPTION)

Prepare the *cmd* data structure for the NVMe Identify command.

nvme\_init\_identify October 2026

---

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