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_ns_descs - Retrieves namespace descriptor list

Arguments

fd File descriptor of nvme device nsid The namespace id to retrieve descriptors descs User space destination address to transfer the data

Description

A list of Namespace Identification Descriptor structures is returned to the host for the namespace specified in the Namespace Identifier (NSID) field if it is an active NSID. The data returned is in the form of an array of 'struct nvme_ns_id_desc'. See structnvme_ns_id_desc for the definition of the returned structure.

Name

nvme_identify_ns_descs - Retrieves namespace descriptor list

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_descs nvme_identify_ns_descs(2)

Synopsis

intnvme_identify_ns_descs(intfd,__u32nsid,structnvme_ns_id_desc*descs);

See Also