Lines Matching refs:thisEUN
237 unsigned int thisEUN;
248 thisEUN = nftl->EUNtable[thisVUC];
250 if (thisEUN == BLOCK_NIL) {
261 while (thisEUN <= nftl->lastEUN ) {
264 targetEUN = thisEUN;
266 nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) +
272 pr_debug("Write Inhibited on EUN %d\n", thisEUN);
291 BlockMap[block] = thisEUN;
312 block, thisEUN, status);
322 thisEUN = nftl->ReplUnitTable[thisEUN];
441 thisEUN = nftl->EUNtable[thisVUC];
446 while (thisEUN <= nftl->lastEUN && thisEUN != targetEUN) {
449 EUNtmp = nftl->ReplUnitTable[thisEUN];
451 if (NFTL_formatblock(nftl, thisEUN) < 0) {
454 nftl->ReplUnitTable[thisEUN] = BLOCK_RESERVED;
457 nftl->ReplUnitTable[thisEUN] = BLOCK_FREE;
460 thisEUN = EUNtmp;
706 u16 thisEUN = nftl->EUNtable[block / (nftl->EraseSize / 512)];
715 if (thisEUN != BLOCK_NIL) {
716 while (thisEUN < nftl->nb_blocks) {
717 if (nftl_read_oob(mtd, (thisEUN * nftl->EraseSize) +
732 lastgoodEUN = thisEUN;
738 block, thisEUN, status);
747 thisEUN = nftl->ReplUnitTable[thisEUN];