---
name: "nvme_mi_admin_identify_secondary_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_secondary_ctrl_list"
---

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

Perform an Admin identify for a secondary controller list.

## NAME

nvme\_mi\_admin\_identify\_secondary\_ctrl\_list - Perform an Admin identify for a secondary controller list.

## SYNOPSIS

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

## ARGUMENTS

- ctrl

  Controller to process identify command

- cntid

  Controller ID to specify list start

- list

  List data to populate

## DESCRIPTION

Perform an Identify command, for the secondary controllers associated with the current primary controller. Only entries with IDs greater than or equal to *cntid* are returned.

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

See: *struct nvme\_secondary\_ctrl\_list*

## RETURN

0 on success, non-zero on failure
