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