Scroll to navigation

nvme_mi_admin_identify(2) libnvme API manual nvme_mi_admin_identify(2)

NAME

nvme_mi_admin_identify - Perform an Admin identify command.

SYNOPSIS

int nvme_mi_admin_identify (nvme_mi_ctrl_t ctrl , struct nvme_identify_args *args );

ARGUMENTS

Controller to process identify command
Identify command arguments

DESCRIPTION

Perform an Identify command, using the Identify command parameters in args. Stores the identify data in ->data, and (if set) the result from cdw0 into args->result.

Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE.

See: struct nvme_identify_args

RETURN

0 on success, non-zero on failure

nvme_mi_admin_identify October 2022