---
name: "nvme_mi_admin_identify_partial"
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_partial"
---

# nvme\_mi\_admin\_identify\_partial(2)

Perform an Admin identify command, and retrieve partial response data.

## NAME

nvme\_mi\_admin\_identify\_partial - Perform an Admin identify command, and retrieve partial response data.

## SYNOPSIS

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

## ARGUMENTS

- ctrl

  Controller to process identify command

- args

  Identify command arguments

- offset

  offset of identify data to retrieve from response

- size

  size of identify data to return

## DESCRIPTION

Perform an Identify command, using the Identify command parameters in *args*. The *offset* and *size* arguments allow the caller to retrieve part of the identify response. See NVMe-MI section 6.2 for the semantics (and some handy diagrams) of the offset & size parameters.

Will return an error if the length of the response data (from the controller) did not match *size*.

Unless you're performing a vendor-unique identify command, You'll probably want to use one of the identify helpers (nvme\_mi\_admin\_identify, nvme\_mi\_admin\_identify\_cns\_nsid, or nvme\_mi\_admin\_identify\_\<type\>) instead of this. If the type of your identify command is standardized but not yet supported by libnvme-mi, please contact the maintainers.

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.
