Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

nvme_identify_ctrl - Retrieves nvme identify controller

Arguments

fd File descriptor of nvme device id User space destination address to transfer the data,

Description

Sends nvme identify with CNS value NVME_IDENTIFY_CNS_CTRL. See structnvme_id_ctrl for details on the data returned.

Name

nvme_identify_ctrl - Retrieves nvme identify controller

Return

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

Synopsis

intnvme_identify_ctrl(intfd,structnvme_id_ctrl*id);

See Also