Lines Matching refs:targetEUN
240 unsigned int targetEUN; in NFTL_foldchain() local
260 targetEUN = BLOCK_NIL; in NFTL_foldchain()
264 targetEUN = thisEUN; in NFTL_foldchain()
336 BlockMap[block] != targetEUN) { in NFTL_foldchain()
342 BlockMap[block]== targetEUN ? "==" : "!=", in NFTL_foldchain()
343 targetEUN); in NFTL_foldchain()
354 "Folding out of place.\n", targetEUN); in NFTL_foldchain()
363 targetEUN = NFTL_findfreeblock(nftl, 1); in NFTL_foldchain()
364 if (targetEUN == BLOCK_NIL) { in NFTL_foldchain()
382 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 2 * 512 + 8, in NFTL_foldchain()
390 pr_debug("Folding chain %d into unit %d\n", thisVUC, targetEUN); in NFTL_foldchain()
396 if (BlockMap[block] == targetEUN || in NFTL_foldchain()
423 nftl_write(nftl->mbd.mtd, (nftl->EraseSize * targetEUN) + in NFTL_foldchain()
431 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 8, in NFTL_foldchain()
446 while (thisEUN <= nftl->lastEUN && thisEUN != targetEUN) { in NFTL_foldchain()
464 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL; in NFTL_foldchain()
465 nftl->EUNtable[thisVUC] = targetEUN; in NFTL_foldchain()
467 return targetEUN; in NFTL_foldchain()