1nvme_identify_primary_ctrl(9) libnvme API manual nvme_identify_primary_ctrl(9)
2
3
4
6 nvme_identify_primary_ctrl - Retrieve NVMe Primary Controller identifi‐
7 cation
8
10 int nvme_identify_primary_ctrl (int fd , __u16 cntid , struct nvme_pri‐
11 mary_ctrl_cap *cap );
12
14 fd File descriptor of nvme device
15
16 cntid Return controllers starting at this identifier
17
18 cap User space destination buffer address to transfer the data
19
21 See struct nvme_primary_ctrl_cap for the definition of the returned
22 structure, cap.
23
25 The nvme command status if a response was received (see enum nvme_sta‐
26 tus_field) or -1 with errno set otherwise.
27
28
29
30April 2023 nvme_identify_primary_ctnrvlme_identify_primary_ctrl(9)