libnvme(2) API Manual libnvme(2)

enum nvme_boot_partition_info - This field indicates the boot partition information

enum nvme_boot_partition_info {
NVME_BOOT_PARTITION_INFO_BPSZ_SHIFT ,
NVME_BOOT_PARTITION_INFO_ABPID_SHIFT ,
NVME_BOOT_PARTITION_INFO_BPSZ_MASK ,
NVME_BOOT_PARTITION_INFO_ABPID_MASK

};

Shift amount to get the boot partition size from the struct nvme_boot_partition.bpinfo field.
Shift amount to get the active boot partition ID from the struct nvme_boot_partition.bpinfo field.
Mask to get the boot partition size from the struct nvme_boot_partition.bpinfo field.
Mask to get the active boot partition ID from the struct nvme_boot_partition.bpinfo field.
enum nvme_boot_partition_info January 2025