Searched refs:totsz (Results 1 – 2 of 2) sorted by relevance
190 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)315 uint64_t totsz; /* total flash size, bytes */ member653 ns->geom.totsz = mtd->size; in ns_init()658 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in ns_init()659 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init()680 if (ns->geom.totsz <= (32 << 20)) { in ns_init()688 if (ns->geom.totsz <= (128 << 20)) { in ns_init()702 remains = ns->geom.totsz; in ns_init()743 (unsigned long long)ns->geom.totsz >> 20); in ns_init()
4496 u32 actual_cnt, totsz; in qla2x00_set_exchoffld_buffer() local4517 totsz = actual_cnt * size; in qla2x00_set_exchoffld_buffer()4519 if (totsz != ha->exchoffld_size) { in qla2x00_set_exchoffld_buffer()4527 ha->exchoffld_size = totsz; in qla2x00_set_exchoffld_buffer()4531 max_cnt, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()4566 ha->exchoffld_size, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()