summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_capacity_mgmt_args.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-14 18:53:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-14 18:53:09 +0000
commit3945f3269b3e2763faa1ab22d225ca4dd1856b82 (patch)
tree7e96ec768baa3807ce3a1076a74037a287f4caa8 /doc/man/nvme_capacity_mgmt_args.2
parentInitial commit. (diff)
downloadlibnvme-3945f3269b3e2763faa1ab22d225ca4dd1856b82.tar.xz
libnvme-3945f3269b3e2763faa1ab22d225ca4dd1856b82.zip
Adding upstream version 1.0.upstream/1.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/man/nvme_capacity_mgmt_args.2')
-rw-r--r--doc/man/nvme_capacity_mgmt_args.245
1 files changed, 45 insertions, 0 deletions
diff --git a/doc/man/nvme_capacity_mgmt_args.2 b/doc/man/nvme_capacity_mgmt_args.2
new file mode 100644
index 0000000..b3c42e7
--- /dev/null
+++ b/doc/man/nvme_capacity_mgmt_args.2
@@ -0,0 +1,45 @@
+.TH "libnvme" 9 "struct nvme_capacity_mgmt_args" "April 2022" "API Manual" LINUX
+.SH NAME
+struct nvme_capacity_mgmt_args \- Arguments for the NVMe Capacity Management command
+.SH SYNOPSIS
+struct nvme_capacity_mgmt_args {
+.br
+.BI " __u32 *result;"
+.br
+.BI " int args_size;"
+.br
+.BI " int fd;"
+.br
+.BI " __u32 timeout;"
+.br
+.BI " __u32 cdw11;"
+.br
+.BI " __u32 cdw12;"
+.br
+.BI " __u16 element_id;"
+.br
+.BI " __u8 op;"
+.br
+.BI "
+};
+.br
+
+.SH Members
+.IP "result" 12
+If successful, the CQE dword0 value
+.IP "args_size" 12
+Size of \fIstruct nvme_capacity_mgmt_args\fP
+.IP "fd" 12
+File descriptor of nvme device
+.IP "timeout" 12
+Timeout in ms
+.IP "cdw11" 12
+Least significant 32 bits of the capacity in bytes of the
+Endurance Group or NVM Set to be created
+.IP "cdw12" 12
+Most significant 32 bits of the capacity in bytes of the
+Endurance Group or NVM Set to be created
+.IP "element_id" 12
+Value specific to the value of the Operation field
+.IP "op" 12
+Operation to be performed by the controller