nvm_geo - Geometry

nvm_geo

struct nvm_geo

Representation of device geometry.

See
nvm_dev_get_geo

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

struct nvm_geo::@6::@8 l

Spec 2.0.

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

struct nvm_geo::@6::@9 g

Spec 1.2.

union nvm_geo::@6 nvm_geo::@7
size_t tbytes

Total # bytes in geometry.

int verid

Associated dev verid.

nvm_geo_pr

void nvm_geo_pr(const struct nvm_geo * geo)

Prints human readable representation of the given geometry.