EraseSize         267 drivers/mtd/inftlcore.c 		for (block = 0; block < inftl->EraseSize/SECTORSIZE; block ++) {
EraseSize         272 drivers/mtd/inftlcore.c 			if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize)
EraseSize         313 drivers/mtd/inftlcore.c 	for (block = 0; block < inftl->EraseSize/SECTORSIZE ; block++) {
EraseSize         322 drivers/mtd/inftlcore.c 		    (thisVUC * (inftl->EraseSize / SECTORSIZE) + block))) {
EraseSize         334 drivers/mtd/inftlcore.c 			       (inftl->EraseSize * BlockMap[block]) + (block * SECTORSIZE),
EraseSize         340 drivers/mtd/inftlcore.c 				       (inftl->EraseSize * BlockMap[block]) + (block * SECTORSIZE),
EraseSize         350 drivers/mtd/inftlcore.c 		inftl_write(inftl->mbd.mtd, (inftl->EraseSize * targetEUN) +
EraseSize         462 drivers/mtd/inftlcore.c 	unsigned int thisVUC = block / (inftl->EraseSize / SECTORSIZE);
EraseSize         464 drivers/mtd/inftlcore.c 	unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize -1);
EraseSize         485 drivers/mtd/inftlcore.c 			inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) +
EraseSize         573 drivers/mtd/inftlcore.c 			inftl_read_oob(mtd, thisEUN * inftl->EraseSize
EraseSize         595 drivers/mtd/inftlcore.c 		inftl_write_oob(mtd, writeEUN * inftl->EraseSize + 8, 8,
EraseSize         606 drivers/mtd/inftlcore.c 		inftl_write_oob(mtd, writeEUN * inftl->EraseSize +
EraseSize         654 drivers/mtd/inftlcore.c 		for (block = 0; block < inftl->EraseSize/SECTORSIZE; block++) {
EraseSize         658 drivers/mtd/inftlcore.c 			if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize)
EraseSize         691 drivers/mtd/inftlcore.c 	for (block = 0; block < inftl->EraseSize/SECTORSIZE; block++)
EraseSize         747 drivers/mtd/inftlcore.c 	unsigned int thisEUN = inftl->VUtable[block / (inftl->EraseSize / SECTORSIZE)];
EraseSize         748 drivers/mtd/inftlcore.c 	unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1);
EraseSize         759 drivers/mtd/inftlcore.c 		if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) +
EraseSize         784 drivers/mtd/inftlcore.c 				block / (inftl->EraseSize / SECTORSIZE));
EraseSize         792 drivers/mtd/inftlcore.c 		loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs;
EraseSize         799 drivers/mtd/inftlcore.c 		INFTL_trydeletechain(inftl, block / (inftl->EraseSize / SECTORSIZE));
EraseSize         809 drivers/mtd/inftlcore.c 	unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1);
EraseSize         838 drivers/mtd/inftlcore.c 		inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) +
EraseSize         856 drivers/mtd/inftlcore.c 	unsigned int thisEUN = inftl->VUtable[block / (inftl->EraseSize / SECTORSIZE)];
EraseSize         857 drivers/mtd/inftlcore.c 	unsigned long blockofs = (block * SECTORSIZE) & (inftl->EraseSize - 1);
EraseSize         868 drivers/mtd/inftlcore.c 		if (inftl_read_oob(mtd, (thisEUN * inftl->EraseSize) +
EraseSize         893 drivers/mtd/inftlcore.c 				block / (inftl->EraseSize / SECTORSIZE));
EraseSize         906 drivers/mtd/inftlcore.c 		loff_t ptr = (thisEUN * inftl->EraseSize) + blockofs;
EraseSize          49 drivers/mtd/inftlmount.c 	inftl->EraseSize = inftl->mbd.mtd->erasesize;
EraseSize          50 drivers/mtd/inftlmount.c         inftl->nb_blocks = (u32)inftl->mbd.mtd->size / inftl->EraseSize;
EraseSize          62 drivers/mtd/inftlmount.c 		ret = mtd_read(mtd, block * inftl->EraseSize, SECTORSIZE,
EraseSize          72 drivers/mtd/inftlmount.c 					block * inftl->EraseSize,
EraseSize          89 drivers/mtd/inftlmount.c 				     block * inftl->EraseSize + SECTORSIZE + 8,
EraseSize          94 drivers/mtd/inftlmount.c 				"(err %d)\n", block * inftl->EraseSize,
EraseSize         107 drivers/mtd/inftlmount.c 		mtd_read(mtd, block * inftl->EraseSize + 4096, SECTORSIZE,
EraseSize         169 drivers/mtd/inftlmount.c 			inftl->EraseSize = inftl->mbd.mtd->erasesize <<
EraseSize         171 drivers/mtd/inftlmount.c 			inftl->nb_blocks = (u32)inftl->mbd.mtd->size / inftl->EraseSize;
EraseSize         205 drivers/mtd/inftlmount.c 				instr->addr = ip->Reserved0 * inftl->EraseSize;
EraseSize         206 drivers/mtd/inftlmount.c 				instr->len = inftl->EraseSize;
EraseSize         249 drivers/mtd/inftlmount.c 			(inftl->EraseSize / SECTORSIZE);
EraseSize         294 drivers/mtd/inftlmount.c 			for (physblock = 0; physblock < inftl->EraseSize; physblock += inftl->mbd.mtd->erasesize) {
EraseSize         296 drivers/mtd/inftlmount.c 						    i * inftl->EraseSize + physblock))
EraseSize         384 drivers/mtd/inftlmount.c 	instr->addr = block * inftl->EraseSize;
EraseSize         389 drivers/mtd/inftlmount.c 	for (physblock = 0; physblock < inftl->EraseSize;
EraseSize         415 drivers/mtd/inftlmount.c 	instr->addr = block * inftl->EraseSize + SECTORSIZE * 2;
EraseSize         499 drivers/mtd/inftlmount.c 		s->EraseSize, s->heads, s->sectors, s->cylinders,
EraseSize         593 drivers/mtd/inftlmount.c 			if (inftl_read_oob(mtd, block * s->EraseSize + 8,
EraseSize         595 drivers/mtd/inftlmount.c 			    inftl_read_oob(mtd, block * s->EraseSize +
EraseSize         265 drivers/mtd/nftlcore.c 		for (block = 0; block < nftl->EraseSize / 512; block ++) {
EraseSize         266 drivers/mtd/nftlcore.c 			nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) +
EraseSize         333 drivers/mtd/nftlcore.c 		for (block = 0; block < nftl->EraseSize / 512 ; block++) {
EraseSize         349 drivers/mtd/nftlcore.c 		if (pendingblock >= (thisVUC * (nftl->EraseSize / 512)) &&
EraseSize         350 drivers/mtd/nftlcore.c 		    pendingblock < ((thisVUC + 1)* (nftl->EraseSize / 512)) &&
EraseSize         351 drivers/mtd/nftlcore.c 		    BlockLastState[pendingblock - (thisVUC * (nftl->EraseSize / 512))] !=
EraseSize         382 drivers/mtd/nftlcore.c 		nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 2 * 512 + 8,
EraseSize         391 drivers/mtd/nftlcore.c 	for (block = 0; block < nftl->EraseSize / 512 ; block++) {
EraseSize         397 drivers/mtd/nftlcore.c 		    (pendingblock == (thisVUC * (nftl->EraseSize / 512) + block))) {
EraseSize         407 drivers/mtd/nftlcore.c 			       (nftl->EraseSize * BlockMap[block]) + (block * 512),
EraseSize         413 drivers/mtd/nftlcore.c 				       (nftl->EraseSize * BlockMap[block]) + (block * 512),
EraseSize         423 drivers/mtd/nftlcore.c 		nftl_write(nftl->mbd.mtd, (nftl->EraseSize * targetEUN) +
EraseSize         431 drivers/mtd/nftlcore.c 	nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 8,
EraseSize         483 drivers/mtd/nftlcore.c 	for (chain = 0; chain < le32_to_cpu(nftl->MediaHdr.FormattedSize) / nftl->EraseSize; chain++) {
EraseSize         525 drivers/mtd/nftlcore.c 	u16 thisVUC = block / (nftl->EraseSize / 512);
EraseSize         528 drivers/mtd/nftlcore.c 	unsigned long blockofs = (block * 512) & (nftl->EraseSize -1);
EraseSize         552 drivers/mtd/nftlcore.c 				      (writeEUN * nftl->EraseSize) + blockofs,
EraseSize         640 drivers/mtd/nftlcore.c 		nftl_read_oob(mtd, writeEUN * nftl->EraseSize + 8, 8,
EraseSize         645 drivers/mtd/nftlcore.c 		nftl_write_oob(mtd, writeEUN * nftl->EraseSize + 8, 8,
EraseSize         655 drivers/mtd/nftlcore.c 			nftl_read_oob(mtd, (lastEUN * nftl->EraseSize) + 8,
EraseSize         661 drivers/mtd/nftlcore.c 			nftl_write_oob(mtd, (lastEUN * nftl->EraseSize) + 8,
EraseSize         679 drivers/mtd/nftlcore.c 	unsigned long blockofs = (block * 512) & (nftl->EraseSize - 1);
EraseSize         695 drivers/mtd/nftlcore.c 	nftl_write(nftl->mbd.mtd, (writeEUN * nftl->EraseSize) + blockofs,
EraseSize         707 drivers/mtd/nftlcore.c 	u16 thisEUN = nftl->EUNtable[block / (nftl->EraseSize / 512)];
EraseSize         708 drivers/mtd/nftlcore.c 	unsigned long blockofs = (block * 512) & (nftl->EraseSize - 1);
EraseSize         718 drivers/mtd/nftlcore.c 			if (nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) +
EraseSize         745 drivers/mtd/nftlcore.c 				       block / (nftl->EraseSize / 512));
EraseSize         757 drivers/mtd/nftlcore.c 		loff_t ptr = (lastgoodEUN * nftl->EraseSize) + blockofs;
EraseSize          41 drivers/mtd/nftlmount.c 	nftl->EraseSize = nftl->mbd.mtd->erasesize;
EraseSize          42 drivers/mtd/nftlmount.c         nftl->nb_blocks = (u32)nftl->mbd.mtd->size / nftl->EraseSize;
EraseSize          53 drivers/mtd/nftlmount.c 		ret = mtd_read(mtd, block * nftl->EraseSize, SECTORSIZE,
EraseSize          62 drivers/mtd/nftlmount.c 				       block * nftl->EraseSize, nftl->mbd.mtd->index, ret);
EraseSize          73 drivers/mtd/nftlmount.c 			       block * nftl->EraseSize, nftl->mbd.mtd->index);
EraseSize          79 drivers/mtd/nftlmount.c 		ret = nftl_read_oob(mtd, block * nftl->EraseSize +
EraseSize          84 drivers/mtd/nftlmount.c 			       block * nftl->EraseSize, nftl->mbd.mtd->index, ret);
EraseSize          94 drivers/mtd/nftlmount.c 			       block * nftl->EraseSize, nftl->mbd.mtd->index,
EraseSize         100 drivers/mtd/nftlmount.c 		ret = mtd->read(mtd, block * nftl->EraseSize, SECTORSIZE,
EraseSize         104 drivers/mtd/nftlmount.c 			       block * nftl->EraseSize, nftl->mbd.mtd->index, ret);
EraseSize         111 drivers/mtd/nftlmount.c 			       block * nftl->EraseSize, nftl->mbd.mtd->index);
EraseSize         123 drivers/mtd/nftlmount.c 				       nftl->MediaUnit * nftl->EraseSize, block * nftl->EraseSize);
EraseSize         159 drivers/mtd/nftlmount.c 			nftl->EraseSize = nftl->mbd.mtd->erasesize << (0xff - mh->UnitSizeFactor);
EraseSize         160 drivers/mtd/nftlmount.c 			nftl->nb_blocks = (u32)nftl->mbd.mtd->size / nftl->EraseSize;
EraseSize         171 drivers/mtd/nftlmount.c 		nftl->numvunits = le32_to_cpu(mh->FormattedSize) / nftl->EraseSize;
EraseSize         179 drivers/mtd/nftlmount.c 		nftl->mbd.size  = nftl->numvunits * (nftl->EraseSize / SECTORSIZE);
EraseSize         223 drivers/mtd/nftlmount.c 						block * nftl->EraseSize + i +
EraseSize         239 drivers/mtd/nftlmount.c 					    i * nftl->EraseSize))
EraseSize         314 drivers/mtd/nftlmount.c 	if (nftl_read_oob(mtd, block * nftl->EraseSize + SECTORSIZE + 8,
EraseSize         329 drivers/mtd/nftlmount.c 	instr->addr = block * nftl->EraseSize;
EraseSize         330 drivers/mtd/nftlmount.c 	instr->len = nftl->EraseSize;
EraseSize         348 drivers/mtd/nftlmount.c 	if (check_free_sectors(nftl, instr->addr, nftl->EraseSize, 1) != 0)
EraseSize         352 drivers/mtd/nftlmount.c 	if (nftl_write_oob(mtd, block * nftl->EraseSize + SECTORSIZE +
EraseSize         380 drivers/mtd/nftlmount.c 	sectors_per_block = nftl->EraseSize / SECTORSIZE;
EraseSize         385 drivers/mtd/nftlmount.c 					  block * nftl->EraseSize + i * SECTORSIZE,
EraseSize         396 drivers/mtd/nftlmount.c 				    check_free_sectors(nftl, block * nftl->EraseSize + i * SECTORSIZE,
EraseSize         406 drivers/mtd/nftlmount.c 						       nftl->EraseSize +
EraseSize         499 drivers/mtd/nftlmount.c 	if (nftl_read_oob(mtd, block * nftl->EraseSize + SECTORSIZE + 8, 8,
EraseSize         507 drivers/mtd/nftlmount.c 		if (check_free_sectors (nftl, block * nftl->EraseSize, nftl->EraseSize, 1) != 0)
EraseSize         515 drivers/mtd/nftlmount.c 				   block * nftl->EraseSize + SECTORSIZE + 8, 8,
EraseSize         521 drivers/mtd/nftlmount.c 		for (i = 0; i < nftl->EraseSize; i += SECTORSIZE) {
EraseSize         523 drivers/mtd/nftlmount.c 			if (check_free_sectors (nftl, block * nftl->EraseSize + i,
EraseSize         527 drivers/mtd/nftlmount.c 			if (nftl_read_oob(mtd, block * nftl->EraseSize + i,
EraseSize         558 drivers/mtd/nftlmount.c 	if (nftl_read_oob(mtd, block * nftl->EraseSize + 2 * SECTORSIZE + 8,
EraseSize         599 drivers/mtd/nftlmount.c 						  block * s->EraseSize + 8, 8,
EraseSize         602 drivers/mtd/nftlmount.c 						  block * s->EraseSize +
EraseSize          31 include/linux/mtd/inftl.h 	__u32 EraseSize;
EraseSize          23 include/linux/mtd/nftl.h 	__u32 EraseSize;