Debian Codegraph @

doc/man/nvme_mi_admin_identify_cns_nsid.2

raw
1 .TH "nvme_mi_admin_identify_cns_nsid" 9 "nvme_mi_admin_identify_cns_nsid" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_admin_identify_cns_nsid \- Perform an Admin identify command using specific CNS/NSID parameters.
4 .SH SYNOPSIS
5 .B "int" nvme_mi_admin_identify_cns_nsid
6 .BI "(nvme_mi_ctrl_t ctrl " ","
7 .BI "enum nvme_identify_cns cns " ","
8 .BI "__u32 nsid " ","
9 .BI "void *data " ");"
10 .SH ARGUMENTS
11 .IP "ctrl" 12
12 Controller to process identify command
13 .IP "cns" 12
14 Controller or Namespace Structure, specifying identified object
15 .IP "nsid" 12
16 namespace ID
17 .IP "data" 12
18 buffer for identify data response
19 .SH "DESCRIPTION"
20 Perform an Identify command, using the CNS specifier \fIcns\fP, and the
21 namespace ID \fInsid\fP if required by the CNS type.
22
23 Stores the identify data in \fIdata\fP, which is expected to be a buffer of
24 \fINVME_IDENTIFY_DATA_SIZE\fP bytes.
25
26 Will return an error if the length of the response data (from the
27 controller) is not a full \fINVME_IDENTIFY_DATA_SIZE\fP.
28 .SH "RETURN"
29 The nvme command status if a response was received (see
30 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.