Lines Matching refs:writeEUN
463 unsigned int thisEUN, writeEUN, prev_block, status; in INFTL_findwriteunit() local
480 writeEUN = BLOCK_NIL; in INFTL_findwriteunit()
490 block , writeEUN, status); in INFTL_findwriteunit()
494 writeEUN = thisEUN; in INFTL_findwriteunit()
521 if (writeEUN != BLOCK_NIL) in INFTL_findwriteunit()
522 return writeEUN; in INFTL_findwriteunit()
529 writeEUN = INFTL_findfreeblock(inftl, 0); in INFTL_findwriteunit()
531 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
546 writeEUN = INFTL_findfreeblock(inftl, 1); in INFTL_findwriteunit()
547 if (writeEUN == BLOCK_NIL) { in INFTL_findwriteunit()
595 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + 8, 8, in INFTL_findwriteunit()
606 inftl_write_oob(mtd, writeEUN * inftl->EraseSize + in INFTL_findwriteunit()
609 inftl->PUtable[writeEUN] = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
610 inftl->VUtable[thisVUC] = writeEUN; in INFTL_findwriteunit()
613 return writeEUN; in INFTL_findwriteunit()
808 unsigned int writeEUN; in inftl_writeblock() local
823 writeEUN = INFTL_findwriteunit(inftl, block); in inftl_writeblock()
825 if (writeEUN == BLOCK_NIL) { in inftl_writeblock()
838 inftl_write(inftl->mbd.mtd, (writeEUN * inftl->EraseSize) + in inftl_writeblock()