libnvme(2) API Manual libnvme(2)

enum nvme_flbas - This field indicates the formatted LBA size

enum nvme_flbas {
NVME_FLBAS_LOWER_SHIFT ,
NVME_FLBAS_META_EXT_SHIFT ,
NVME_FLBAS_HIGHER_SHIFT ,
NVME_FLBAS_LOWER_MASK ,
NVME_FLBAS_META_EXT_MASK ,
NVME_FLBAS_HIGHER_MASK

};

Shift amount to get the format index least significant 4 bits
Shift amount to get the metadata transferred
Shift amount to get the format index most significant 2 bits
Mask to get the format index least significant 4 bits
Mask to get the metadata transferred
Mask to get the format index most significant 2 bits
enum nvme_flbas January 2025