Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/
Dnftlcore.c540 unsigned int writeEUN; in NFTL_findwriteunit() local
555 writeEUN = nftl->EUNtable[thisVUC]; in NFTL_findwriteunit()
557 while (writeEUN <= nftl->lastEUN) { in NFTL_findwriteunit()
562 lastEUN = writeEUN; in NFTL_findwriteunit()
565 (writeEUN * nftl->EraseSize) + blockofs, in NFTL_findwriteunit()
569 block , writeEUN, le16_to_cpu(bci.Status)); in NFTL_findwriteunit()
574 return writeEUN; in NFTL_findwriteunit()
593 writeEUN = nftl->ReplUnitTable[writeEUN]; in NFTL_findwriteunit()
600 writeEUN = NFTL_findfreeblock(nftl, 0); in NFTL_findwriteunit()
602 if (writeEUN == BLOCK_NIL) { in NFTL_findwriteunit()
[all …]
Dinftlcore.c476 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()
[all …]