---
name: "nvme_mi_admin_identify"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_identify"
---

# nvme\_mi\_admin\_identify(2)

Perform an Admin identify command.

## NAME

nvme\_mi\_admin\_identify - Perform an Admin identify command.

## SYNOPSIS

**int nvme\_mi\_admin\_identify** **(nvme\_mi\_ctrl\_t ctrl** *,* **struct nvme\_identify\_args \*args** *);*

## ARGUMENTS

- ctrl

  Controller to process identify command

- args

  Identify command arguments

## DESCRIPTION

Perform an Identify command, using the Identify command parameters in *args*. Stores the identify data in -\>data, and (if set) the result from cdw0 into args-\>result.

Will return an error if the length of the response data (from the controller) is not a full *NVME\_IDENTIFY\_DATA\_SIZE*.

See: *struct nvme\_identify\_args*

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
