summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_bpinfo.2
blob: aafe9888707f6c0471202d305895a01f88ffcfd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.TH "libnvme" 9 "enum nvme_bpinfo" "October 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