| 1 |
.TH "libnvme" 9 "struct nvme_capacity_mgmt_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_capacity_mgmt_args \- Arguments for the NVMe Capacity Management command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_capacity_mgmt_args { |
| 6 |
.br |
| 7 |
.BI " __u32 *result;" |
| 8 |
.br |
| 9 |
.BI " int args_size;" |
| 10 |
.br |
| 11 |
.BI " int fd;" |
| 12 |
.br |
| 13 |
.BI " __u32 timeout;" |
| 14 |
.br |
| 15 |
.BI " __u32 cdw11;" |
| 16 |
.br |
| 17 |
.BI " __u32 cdw12;" |
| 18 |
.br |
| 19 |
.BI " __u16 element_id;" |
| 20 |
.br |
| 21 |
.BI " __u8 op;" |
| 22 |
.br |
| 23 |
.BI " |
| 24 |
}; |
| 25 |
.br |
| 26 |
|
| 27 |
.SH Members |
| 28 |
.IP "result" 12 |
| 29 |
If successful, the CQE dword0 value |
| 30 |
.IP "args_size" 12 |
| 31 |
Size of \fIstruct nvme_capacity_mgmt_args\fP |
| 32 |
.IP "fd" 12 |
| 33 |
File descriptor of nvme device |
| 34 |
.IP "timeout" 12 |
| 35 |
Timeout in ms |
| 36 |
.IP "cdw11" 12 |
| 37 |
Least significant 32 bits of the capacity in bytes of the |
| 38 |
Endurance Group or NVM Set to be created |
| 39 |
.IP "cdw12" 12 |
| 40 |
Most significant 32 bits of the capacity in bytes of the |
| 41 |
Endurance Group or NVM Set to be created |
| 42 |
.IP "element_id" 12 |
| 43 |
Value specific to the value of the Operation field |
| 44 |
.IP "op" 12 |
| 45 |
Operation to be performed by the controller |