Lines Matching refs:targetEUN
250 unsigned int targetEUN;
270 targetEUN = BLOCK_NIL;
274 targetEUN = thisEUN;
347 BlockMap[block] != targetEUN) {
353 BlockMap[block]== targetEUN ? "==" : "!=",
354 targetEUN);
365 "Folding out of place.\n", targetEUN);
373 /* We need to find a targetEUN to fold into. */
374 targetEUN = NFTL_findfreeblock(nftl, 1);
375 if (targetEUN == BLOCK_NIL) {
393 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 2 * 512 + 8,
401 DEBUG(MTD_DEBUG_LEVEL1,"Folding chain %d into unit %d\n", thisVUC, targetEUN);
407 if (BlockMap[block] == targetEUN ||
429 nftl_write(nftl->mbd.mtd, (nftl->EraseSize * targetEUN) +
437 nftl_write_oob(mtd, (nftl->EraseSize * targetEUN) + 8,
450 /* For each block in the old chain (except the targetEUN of course),
452 while (thisEUN <= nftl->lastEUN && thisEUN != targetEUN) {
470 nftl->ReplUnitTable[targetEUN] = BLOCK_NIL;
471 nftl->EUNtable[thisVUC] = targetEUN;
473 return targetEUN;