Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dnandsim.c189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
317 uint64_t totsz; /* total flash size, bytes */ member
655 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()
/linux/drivers/scsi/qla2xxx/
H A Dqla_os.c4729 u32 actual_cnt, totsz; in qla2x00_set_exchoffld_buffer() local
4750 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()