Home
last modified time | relevance | path

Searched refs:targetEUN (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/
Dnftlcore.c240 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()
[all …]
Dinftlcore.c243 unsigned int targetEUN; in INFTL_foldchain() local
253 thisEUN = targetEUN = inftl->VUtable[thisVUC]; in INFTL_foldchain()
311 pr_debug("INFTL: folding chain %d into unit %d\n", thisVUC, targetEUN); in INFTL_foldchain()
321 if (BlockMap[block] == targetEUN || (pendingblock == in INFTL_foldchain()
350 inftl_write(inftl->mbd.mtd, (inftl->EraseSize * targetEUN) + in INFTL_foldchain()
373 if (thisEUN == targetEUN) in INFTL_foldchain()
392 return targetEUN; in INFTL_foldchain()