Debian Codegraph @

doc/man/nvme_mi_admin_identify_primary_ctrl.2

raw
1 .TH "nvme_mi_admin_identify_primary_ctrl" 9 "nvme_mi_admin_identify_primary_ctrl" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_admin_identify_primary_ctrl \- Perform an Admin identify for primary controller capabilities data structure.
4 .SH SYNOPSIS
5 .B "int" nvme_mi_admin_identify_primary_ctrl
6 .BI "(nvme_mi_ctrl_t ctrl " ","
7 .BI "__u16 cntid " ","
8 .BI "struct nvme_primary_ctrl_cap *cap " ");"
9 .SH ARGUMENTS
10 .IP "ctrl" 12
11 Controller to process identify command
12 .IP "cntid" 12
13 Controller ID to specify
14 .IP "cap" 12
15 Primary Controller Capabilities data structure to populate
16 .SH "DESCRIPTION"
17 Perform an Identify command to get the Primary Controller Capabilities data
18 for the controller specified by \fIcntid\fP
19
20 Will return an error if the length of the response data (from the
21 controller) is not a full \fINVME_IDENTIFY_DATA_SIZE\fP, so \fIcap\fP will be
22 be fully populated on success.
23
24 See: \fIstruct nvme_primary_ctrl_cap\fP
25 .SH "RETURN"
26 0 on success, non-zero on failure