| 1 |
.TH "nvme_identify_active_ns_list" 9 "nvme_identify_active_ns_list" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_identify_active_ns_list \- Retrieves active namespaces id list |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_identify_active_ns_list |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "__u32 nsid " "," |
| 8 |
.BI "struct nvme_ns_list *list " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "fd" 12 |
| 11 |
File descriptor of nvme device |
| 12 |
.IP "nsid" 12 |
| 13 |
Return namespaces greater than this identifier |
| 14 |
.IP "list" 12 |
| 15 |
User space destination address to transfer the data |
| 16 |
.SH "DESCRIPTION" |
| 17 |
A list of 1024 namespace IDs is returned to the host containing NSIDs in |
| 18 |
increasing order that are greater than the value specified in the Namespace |
| 19 |
Identifier (nsid) field of the command. |
| 20 |
|
| 21 |
See \fIstruct nvme_ns_list\fP for the definition of the returned structure. |
| 22 |
.SH "RETURN" |
| 23 |
The nvme command status if a response was received (see |
| 24 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |