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()
4729 u32 actual_cnt, totsz; in qla2x00_set_exchoffld_buffer() local4750 totsz = actual_cnt * size; in qla2x00_set_exchoffld_buffer()4752 if (totsz != ha->exchoffld_size) { in qla2x00_set_exchoffld_buffer()4760 ha->exchoffld_size = totsz; in qla2x00_set_exchoffld_buffer()4764 max_cnt, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()4799 ha->exchoffld_size, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()