Home
last modified time | relevance | path

Searched refs:totsz (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/mtd/nand/
Dnandsim.c203 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
331 uint64_t totsz; /* total flash size, bytes */ member
685 ns->geom.totsz = mtd->size; in init_nandsim()
690 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
691 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
712 if (ns->geom.totsz <= (32 << 20)) { in init_nandsim()
720 if (ns->geom.totsz <= (128 << 20)) { in init_nandsim()
735 remains = ns->geom.totsz; in init_nandsim()
768 (unsigned long long)ns->geom.totsz >> 20); in init_nandsim()