Lines Matching refs:thisVUC

231 static u16 NFTL_foldchain (struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock )  in NFTL_foldchain()  argument
248 thisEUN = nftl->EUNtable[thisVUC]; in NFTL_foldchain()
252 "Virtual Unit Chain %d!\n", thisVUC); in NFTL_foldchain()
296 thisVUC, block); in NFTL_foldchain()
305 thisVUC, block); in NFTL_foldchain()
318 thisVUC); in NFTL_foldchain()
340 thisVUC, block, BlockLastState[block], in NFTL_foldchain()
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()
361 "Trying out-of-place\n", thisVUC); in NFTL_foldchain()
390 pr_debug("Folding chain %d into unit %d\n", thisVUC, targetEUN); in NFTL_foldchain()
397 (pendingblock == (thisVUC * (nftl->EraseSize / 512) + block))) { in NFTL_foldchain()
428 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); in NFTL_foldchain()
441 thisEUN = nftl->EUNtable[thisVUC]; in NFTL_foldchain()
465 nftl->EUNtable[thisVUC] = targetEUN; in NFTL_foldchain()
525 u16 thisVUC = block / (nftl->EraseSize / 512); in NFTL_findwriteunit() local
542 writeEUN = nftl->EUNtable[thisVUC]; in NFTL_findwriteunit()
575 thisVUC); in NFTL_findwriteunit()
608 pr_debug("Using desperate==1 to find free EUN to accommodate write to VUC %d\n", thisVUC); in NFTL_findwriteunit()
628 thisVUC |= 0x8000; /* It's a replacement block */ in NFTL_findwriteunit()
631 nftl->EUNtable[thisVUC] = writeEUN; in NFTL_findwriteunit()
642 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC); in NFTL_findwriteunit()
669 thisVUC); in NFTL_findwriteunit()