Lines Matching refs:writeEUN
476 unsigned int thisEUN, writeEUN, prev_block, status; in INFTL_findwriteunit() local
493 writeEUN = BLOCK_NIL; in INFTL_findwriteunit()
503 block , writeEUN, status); in INFTL_findwriteunit()
507 writeEUN = thisEUN; in INFTL_findwriteunit()
534 if (writeEUN != BLOCK_NIL) in INFTL_findwriteunit()
535 return writeEUN; in INFTL_findwriteunit()
542 writeEUN = INFTL_findfreeblock(inftl, 0); in INFTL_findwriteunit()
544 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
559 writeEUN = INFTL_findfreeblock(inftl, 1); in INFTL_findwriteunit()
560 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
608 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + 8, 8, in INFTL_findwriteunit()
619 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + in INFTL_findwriteunit()
622 inftl->PUtable[writeEUN] = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
623 inftl->VUtable[thisVUC] = writeEUN; in INFTL_findwriteunit()
626 return writeEUN; in INFTL_findwriteunit()
821 unsigned int writeEUN; in inftl_writeblock() local
836 writeEUN = INFTL_findwriteunit(inftl, block); in inftl_writeblock()
838 if (writeEUN == BLOCK_NIL) { in inftl_writeblock()
851 inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) + in inftl_writeblock()