Lines Matching refs:targetEUN
262 unsigned int targetEUN;
282 targetEUN = BLOCK_NIL;
286 targetEUN = thisEUN;
359 BlockMap[block] != targetEUN) {
365 BlockMap[block]== targetEUN ? "==" : "!=",
366 targetEUN);
377 "Folding out of place.\n", targetEUN);
385 /* We need to find a targetEUN to fold into. */
386 targetEUN = NFTL_findfreeblock(nftl, 1);
387 if (targetEUN == BLOCK_NIL) {
405 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 2 * 512 + 8,
413 DEBUG(MTD_DEBUG_LEVEL1,"Folding chain %d into unit %d\n", thisVUC, targetEUN);
419 if (BlockMap[block] == targetEUN ||
441 nftl_write(nftl->mbd.mtd, (nftl->EraseSize * targetEUN) +
449 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 8,
462 /* For each block in the old chain (except the targetEUN of course),
464 while (thisEUN <= nftl->lastEUN && thisEUN != targetEUN) {
482 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL;
483 nftl->EUNtable[thisVUC] = targetEUN;
485 return targetEUN;