Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/nand/raw/
Dnandsim.c203 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
326 uint64_t totsz; /* total flash size, bytes */ member
663 ns->geom.totsz = mtd->size; in init_nandsim()
668 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
669 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
690 if (ns->geom.totsz <= (32 << 20)) { in init_nandsim()
698 if (ns->geom.totsz <= (128 << 20)) { in init_nandsim()
712 remains = ns->geom.totsz; in init_nandsim()
751 (unsigned long long)ns->geom.totsz >> 20); in init_nandsim()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_os.c4287 u32 actual_cnt, totsz; in qla2x00_set_exchoffld_buffer() local
4308 totsz = actual_cnt * size; in qla2x00_set_exchoffld_buffer()
4310 if (totsz != ha->exchoffld_size) { in qla2x00_set_exchoffld_buffer()
4312 ha->exchoffld_size = totsz; in qla2x00_set_exchoffld_buffer()
4316 max_cnt, actual_cnt, size, totsz); in qla2x00_set_exchoffld_buffer()