---
name: "nvme_init_identify_ctrl-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_ctrl-libnvme3"
---

# nvme\_init\_identify\_ctrl-libnvme3(2)

Initialize passthru command for NVMe Identify Controller data structure

## NAME

nvme\_init\_identify\_ctrl - Initialize passthru command for NVMe Identify Controller data structure

## SYNOPSIS

**void nvme\_init\_identify\_ctrl** **(struct libnvme\_passthru\_cmd \*cmd** *,* **struct nvme\_id\_ctrl \*id** *);*

## ARGUMENTS

- cmd

  Command data structure to initialize

- id

  User space destination address to transfer the data,

## DESCRIPTION

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