nvm_geo - Geometry


struct nvm_geo

Representation of device geometry.


Public Members

size_t npugrp

Parallel Unit Groups

size_t npunit

Parallel Units in PUG

size_t nchunk

Chunks in PU

size_t nsectr

Sectors per CNK

size_t nbytes

Bytes per SECTOR

size_t nbytes_oob

Bytes per SECTOR in OOB

size_t nchannels

of channels on device

size_t nluns

of LUNs per channel

size_t nblocks

of blocks per plane

size_t nsectors

of sectors per page

size_t sector_nbytes

of bytes per sector

size_t meta_nbytes

of bytes for OOB

size_t nplanes

of planes per LUN

size_t npages

of pages per block

size_t page_nbytes

of bytes per page

union nvm_geo::@4 nvm_geo::@5
size_t tbytes

Total # bytes in geometry.

int verid

Associated dev verid.


void nvm_geo_pr(const struct nvm_geo * geo)

Prints human readable representation of the given geometry.