logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_identify_active_ns_list - Retrieves active namespaces id 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 structnvme_ns_list for the definition of the returned structure.

Name

nvme_identify_active_ns_list - Retrieves active namespaces id list

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. May 2025 nvme_identify_active_ns_list nvme_identify_active_ns_list(2)

Synopsis

intnvme_identify_active_ns_list(intfd,__u32nsid,structnvme_ns_list*list);

See Also