Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dnftlcore.c231 static u16 NFTL_foldchain (struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock ) in NFTL_foldchain() argument
349 if (pendingblock >= (thisVUC * (nftl->EraseSize / 512)) && in NFTL_foldchain()
350 pendingblock < ((thisVUC + 1)* (nftl->EraseSize / 512)) && in NFTL_foldchain()
351 BlockLastState[pendingblock - (thisVUC * (nftl->EraseSize / 512))] != in NFTL_foldchain()
397 (pendingblock == (thisVUC * (nftl->EraseSize / 512) + block))) { in NFTL_foldchain()
470 static u16 NFTL_makefreeblock( struct NFTLrecord *nftl , unsigned pendingblock) in NFTL_makefreeblock() argument
516 return NFTL_foldchain (nftl, LongestChain, pendingblock); in NFTL_makefreeblock()
H A Dinftlcore.c236 static u16 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned pendingblock) in INFTL_foldchain() argument
248 inftl, thisVUC, pendingblock); in INFTL_foldchain()
321 if (BlockMap[block] == targetEUN || (pendingblock == in INFTL_foldchain()
395 static u16 INFTL_makefreeblock(struct INFTLrecord *inftl, unsigned pendingblock) in INFTL_makefreeblock() argument
410 "pending=%d)\n", inftl, pendingblock); in INFTL_makefreeblock()
444 return INFTL_foldchain(inftl, LongestChain, pendingblock); in INFTL_makefreeblock()