libxnvme_geo.h#
Enums#
xnvme_geo_type#
Structs#
xnvme_geo#
-
struct xnvme_geo#
Representation of device “geometry”.
This will remain in some, encapsulating IO parameters such as MDTS, ZONE APPEND MDTS, nbytes, nsect etc. mapping to zone characteristics, as well as extended LBA formats.
Public Members
-
enum xnvme_geo_type type#
-
uint32_t npugrp#
Nr. of Parallel Unit Groups.
-
uint32_t npunit#
Nr. of Parallel Units in PUG.
-
uint32_t nzone#
Nr. of zones in PU.
-
uint64_t nsect#
Nr. of sectors per zone.
-
uint32_t nbytes#
Nr. of bytes per sector.
-
uint32_t nbytes_oob#
Nr. of bytes per sector in OOB.
-
uint64_t tbytes#
Total # bytes in geometry.
-
uint64_t ssw#
Bit-width for LBA fmt conversion.
-
uint32_t mdts_nbytes#
Maximum-data-transfer-size in unit of bytes.
-
uint32_t lba_nbytes#
Size of an LBA in bytes.
-
uint8_t lba_extended#
Extended LBA: 1=Supported, 0=Not-Supported.
-
uint8_t pi_type#
Protection Information Type.
-
uint8_t pi_loc#
PI location in metadata: 1=Start, 0=End.
-
uint8_t pi_format#
Protection Information Format.
-
uint8_t _rsvd[4]#
-
enum xnvme_geo_type type#