Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dnftlcore.c527 unsigned int writeEUN; in NFTL_findwriteunit() local
542 writeEUN = nftl->EUNtable[thisVUC]; in NFTL_findwriteunit()
544 while (writeEUN <= nftl->lastEUN) { in NFTL_findwriteunit()
549 lastEUN = writeEUN; in NFTL_findwriteunit()
552 (writeEUN * nftl->EraseSize) + blockofs, in NFTL_findwriteunit()
556 block , writeEUN, le16_to_cpu(bci.Status)); in NFTL_findwriteunit()
561 return writeEUN; in NFTL_findwriteunit()
580 writeEUN = nftl->ReplUnitTable[writeEUN]; in NFTL_findwriteunit()
587 writeEUN = NFTL_findfreeblock(nftl, 0); in NFTL_findwriteunit()
589 if (writeEUN == BLOCK_NIL) { in NFTL_findwriteunit()
[all …]
Dinftlcore.c463 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()
[all …]