Lines Matching refs:writeEUN
463 unsigned int thisEUN, writeEUN, prev_block, status; in INFTL_findwriteunit() local
480 writeEUN = BLOCK_NIL; in INFTL_findwriteunit()
491 block , writeEUN, status); in INFTL_findwriteunit()
495 writeEUN = thisEUN; in INFTL_findwriteunit()
522 if (writeEUN != BLOCK_NIL) in INFTL_findwriteunit()
523 return writeEUN; in INFTL_findwriteunit()
530 writeEUN = INFTL_findfreeblock(inftl, 0); in INFTL_findwriteunit()
532 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
547 writeEUN = INFTL_findfreeblock(inftl, 1); in INFTL_findwriteunit()
548 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
596 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + 8, 8, in INFTL_findwriteunit()
607 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + in INFTL_findwriteunit()
610 inftl->PUtable[writeEUN] = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
611 inftl->VUtable[thisVUC] = writeEUN; in INFTL_findwriteunit()
614 return writeEUN; in INFTL_findwriteunit()
809 unsigned int writeEUN; in inftl_writeblock() local
824 writeEUN = INFTL_findwriteunit(inftl, block); in inftl_writeblock()
826 if (writeEUN == BLOCK_NIL) { in inftl_writeblock()
839 inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) + in inftl_writeblock()