nvme_identify_ns - Retrieves nvme identify namespace
Contents
Arguments
fd File descriptor of nvme device
nsid Namespace to identify
ns User space destination address to transfer the data
Description
If the Namespace Identifier (NSID) field specifies an active NSID, then the Identify Namespace data
structure is returned to the host for that specified namespace.
If the controller supports the Namespace Management capability and the NSID field is set to
NVME_NSID_ALL, then the controller returns an Identify Namespace data structure that specifies
capabilities that are common across namespaces for this controller.
See structnvme_id_ns for details on the structure returned.
Name
nvme_identify_ns - Retrieves nvme identify namespace
Return
The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set
otherwise.
August 2025 nvme_identify_ns nvme_identify_ns(2)
Synopsis
intnvme_identify_ns(intfd,__u32nsid,structnvme_id_ns*ns);
