Lines Matching refs:lastEUN
217 if (++pot > nftl->lastEUN) in NFTL_findfreeblock()
261 while (thisEUN <= nftl->lastEUN ) { in NFTL_foldchain()
446 while (thisEUN <= nftl->lastEUN && thisEUN != targetEUN) { in NFTL_foldchain()
487 while (EUN <= nftl->lastEUN) { in NFTL_makefreeblock()
524 u16 lastEUN; in NFTL_findwriteunit() local
541 lastEUN = BLOCK_NIL; in NFTL_findwriteunit()
544 while (writeEUN <= nftl->lastEUN) { in NFTL_findwriteunit()
549 lastEUN = writeEUN; in NFTL_findwriteunit()
627 if (lastEUN != BLOCK_NIL) { in NFTL_findwriteunit()
650 if (lastEUN != BLOCK_NIL) { in NFTL_findwriteunit()
652 nftl->ReplUnitTable[lastEUN] = writeEUN; in NFTL_findwriteunit()
654 nftl_read_oob(mtd, (lastEUN * nftl->EraseSize) + 8, in NFTL_findwriteunit()
660 nftl_write_oob(mtd, (lastEUN * nftl->EraseSize) + 8, in NFTL_findwriteunit()