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