Searched refs:totsz (Results 1 – 2 of 2) sorted by relevance
189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)317 uint64_t totsz; /* total flash size, bytes */ member655 ns->geom.totsz = mtd->size; in ns_init()660 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in ns_init()661 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init()682 if (ns->geom.totsz <= (32 << 20)) { in ns_init()690 if (ns->geom.totsz <= (128 << 20)) { in ns_init()704 remains = ns->geom.totsz; in ns_init()745 (unsigned long long)ns->geom.totsz >> 20); in ns_init()
4730 u32 actual_cnt, totsz; in qla2x00_set_exchoffld_buffer() local4751 totsz = actual_cnt * size; in qla2x00_set_exchoffld_buffer()4753 if (totsz != ha->exchoffld_size) { in qla2x00_set_exchoffld_buffer()4761 ha->exchoffld_size = totsz; in qla2x00_set_exchoffld_buffer()4765 max_cnt, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()4800 ha->exchoffld_size, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()