1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_capacity_mgmt_args - Arguments for the NVMe Capacity Man‐
7 agement command
8
10 struct nvme_capacity_mgmt_args {
11 __u32 *result;
12 int args_size;
13 int fd;
14 __u32 timeout;
15 __u32 cdw11;
16 __u32 cdw12;
17 __u16 element_id;
18 __u8 op;
19 };
20
21
23 result If successful, the CQE dword0 value
24
25 args_size Size of struct nvme_capacity_mgmt_args
26
27 fd File descriptor of nvme device
28
29 timeout Timeout in ms
30
31 cdw11 Least significant 32 bits of the capacity in bytes of the
32 Endurance Group or NVM Set to be created
33
34 cdw12 Most significant 32 bits of the capacity in bytes of the
35 Endurance Group or NVM Set to be created
36
37 element_id Value specific to the value of the Operation field
38
39 op Operation to be performed by the controller
40
41
42
43April 2022 struct nvme_capacity_mgmt_args libnvme(9)