nvme_identify_active_ns_list - Man Page

Retrieves active namespaces id list

Synopsis

int nvme_identify_active_ns_list (int fd , __u32 nsid , struct nvme_ns_list *list );

Arguments

fd

File descriptor of nvme device

nsid

Return namespaces greater than this identifier

list

User space destination address to transfer the data

Description

A list of 1024 namespace IDs is returned to the host containing NSIDs in increasing order that are greater than the value specified in the Namespace Identifier (nsid) field of the command.

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.

Info

November 2024 libnvme API manual