summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_bpinfo.2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:05:25 +0000
commitd3b6c0269abf2332f6f4b43760524b040ca58ff8 (patch)
tree6a0ebdb4cb3c7b76c824f021d9f3624d16037457 /doc/man/nvme_bpinfo.2
parentAdding upstream version 1.8. (diff)
downloadlibnvme-84fdb259c83644d2d459fe7d2150c11aeabe771c.tar.xz
libnvme-84fdb259c83644d2d459fe7d2150c11aeabe771c.zip
Adding upstream version 1.9.upstream/1.9
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/man/nvme_bpinfo.2')
-rw-r--r--doc/man/nvme_bpinfo.266
1 files changed, 66 insertions, 0 deletions
diff --git a/doc/man/nvme_bpinfo.2 b/doc/man/nvme_bpinfo.2
new file mode 100644
index 0000000..be667c0
--- /dev/null
+++ b/doc/man/nvme_bpinfo.2
@@ -0,0 +1,66 @@
+.TH "libnvme" 9 "enum nvme_bpinfo" "May 2024" "API Manual" LINUX
+.SH NAME
+enum nvme_bpinfo \- This field indicates the boot partition information
+.SH SYNOPSIS
+enum nvme_bpinfo {
+.br
+.BI " NVME_BPINFO_BPSZ_SHIFT"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_SHIFT"
+,
+.br
+.br
+.BI " NVME_BPINFO_ABPID_SHIFT"
+,
+.br
+.br
+.BI " NVME_BPINFO_BPSZ_MASK"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_MASK"
+,
+.br
+.br
+.BI " NVME_BPINFO_ABPID_MASK"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_NONE"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_READ_IN_PROGRESS"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_READ_SUCCESS"
+,
+.br
+.br
+.BI " NVME_BPINFO_BRS_READ_ERROR"
+
+};
+.SH Constants
+.IP "NVME_BPINFO_BPSZ_SHIFT" 12
+Shift amount to get the boot partition size
+.IP "NVME_BPINFO_BRS_SHIFT" 12
+Shift amount to get the boot read status
+.IP "NVME_BPINFO_ABPID_SHIFT" 12
+Shift amount to get the active boot partition ID
+.IP "NVME_BPINFO_BPSZ_MASK" 12
+Mask to get the boot partition size
+.IP "NVME_BPINFO_BRS_MASK" 12
+Mask to get the boot read status
+.IP "NVME_BPINFO_ABPID_MASK" 12
+Mask to get the active boot partition ID
+.IP "NVME_BPINFO_BRS_NONE" 12
+No boot partition read operation requested
+.IP "NVME_BPINFO_BRS_READ_IN_PROGRESS" 12
+Boot partition read in progress
+.IP "NVME_BPINFO_BRS_READ_SUCCESS" 12
+Boot partition read completed successfully
+.IP "NVME_BPINFO_BRS_READ_ERROR" 12
+Error completing boot partition read