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_mi_admin_identify_cns_nsid - Perform an Admin identify command using specific CNS/NSID parameters.

Arguments

ctrl Controller to process identify command cns Controller or Namespace Structure, specifying identified object nsid namespace ID data buffer for identify data response

Description

Perform an Identify command, using the CNS specifier cns, and the namespace ID nsid if required by the CNS type. Stores the identify data in data, which is expected to be a buffer of NVME_IDENTIFY_DATA_SIZE bytes. Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE.

Name

nvme_mi_admin_identify_cns_nsid - Perform an Admin identify command using specific CNS/NSID parameters.

Return

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

Synopsis

intnvme_mi_admin_identify_cns_nsid(nvme_mi_ctrl_tctrl,enumnvme_identify_cnscns,__u32nsid,void*data);

See Also