Home
last modified time | relevance | path

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

/linux/drivers/mtd/
H A Dnftlcore.c526 unsigned int writeEUN; in NFTL_findwriteunit() local
541 writeEUN = nftl->EUNtable[thisVUC]; in NFTL_findwriteunit()
543 while (writeEUN <= nftl->lastEUN) { in NFTL_findwriteunit()
548 lastEUN = writeEUN; in NFTL_findwriteunit()
551 (writeEUN * nftl->EraseSize) + blockofs, in NFTL_findwriteunit()
555 block , writeEUN, le16_to_cpu(bci.Status)); in NFTL_findwriteunit()
560 return writeEUN; in NFTL_findwriteunit()
579 writeEUN = nftl->ReplUnitTable[writeEUN]; in NFTL_findwriteunit()
586 writeEUN = NFTL_findfreeblock(nftl, 0); in NFTL_findwriteunit()
588 if (writeEUN == BLOCK_NIL) { in NFTL_findwriteunit()
[all …]
H A Dinftlcore.c463 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()
[all …]