---
name: "nvme_mi_admin_identify_nsid_ctrl_list"
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_nsid_ctrl_list"
---

# nvme\_mi\_admin\_identify\_nsid\_ctrl\_list(2)

Perform an Admin identify for a controller list with specific namespace ID

## NAME

nvme\_mi\_admin\_identify\_nsid\_ctrl\_list - Perform an Admin identify for a controller list with specific namespace ID

## SYNOPSIS

**int nvme\_mi\_admin\_identify\_nsid\_ctrl\_list** **(nvme\_mi\_ctrl\_t ctrl** *,* **\_\_u32 nsid** *,* **\_\_u16 cntid** *,* **struct nvme\_ctrl\_list \*list** *);*

## ARGUMENTS

- ctrl

  Controller to process identify command

- nsid

  Namespace identifier

- cntid

  Controller ID to specify list start

- list

  List data to populate

## DESCRIPTION

Perform an Identify command, for the controller list for *nsid*, starting with IDs greater than or equal to *cntid*.

Will return an error if the length of the response data (from the controller) is not a full *NVME\_IDENTIFY\_DATA\_SIZE*, so *id* will be fully populated on success.

See: *struct nvme\_ctrl\_list*

## RETURN

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