eblocks          1278 drivers/mtd/mtdswap.c static int mtdswap_init(struct mtdswap_dev *d, unsigned int eblocks,
eblocks          1286 drivers/mtd/mtdswap.c 	d->eblks = eblocks;
eblocks          1291 drivers/mtd/mtdswap.c 	blocks = eblocks * d->pages_per_eblk;
eblocks          1347 drivers/mtd/mtdswap.c 	unsigned int eblocks, eavailable, bad_blocks, spare_cnt;
eblocks          1397 drivers/mtd/mtdswap.c 	eblocks = mtd_div_by_eb(use_size, mtd);
eblocks          1398 drivers/mtd/mtdswap.c 	use_size = (uint64_t)eblocks * mtd->erasesize;
eblocks          1400 drivers/mtd/mtdswap.c 	eavailable = eblocks - bad_blocks;
eblocks          1445 drivers/mtd/mtdswap.c 	if (mtdswap_init(d, eblocks, spare_cnt) < 0)