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

# nvme\_identify\_active\_ns\_list\_csi(2)

Active namespace ID list associated with a specified I/O command set

## NAME

nvme\_identify\_active\_ns\_list\_csi - Active namespace ID list associated with a specified I/O command set

## SYNOPSIS

**int nvme\_identify\_active\_ns\_list\_csi** **(int fd** *,* **\_\_u32 nsid** *,* **enum nvme\_csi csi** *,* **struct nvme\_ns\_list \*ns\_list** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- nsid

  Return namespaces greater than this identifier

- csi

  Command Set Identifier

- ns\_list

  User space destination address to transfer the data

## DESCRIPTION

A list of 1024 namespace IDs is returned to the host containing active NSIDs in increasing order that are greater than the value specified in the Namespace Identifier (nsid) field of the command and matching the I/O Command Set specified in the *csi* argument.

See *struct nvme\_ns\_list* for the definition of the returned structure.

## RETURN

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