DOKK / manpages / debian 12 / libnvme-dev / nvme_nvm_identify_ctrl.2.en
nvme_nvm_identify_ctrl(2) libnvme API manual nvme_nvm_identify_ctrl(2)

nvme_nvm_identify_ctrl - Identify controller data

int nvme_nvm_identify_ctrl (int fd , struct nvme_id_ctrl_nvm *id );

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

Return an identify controller data structure to the host of processing controller.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_nvm_identify_ctrl January 2023