Lines Matching refs:thisVUC
231 static u16 NFTL_foldchain (struct NFTLrecord *nftl, unsigned thisVUC, unsigned pendingblock )
248 thisEUN = nftl->EUNtable[thisVUC];
252 "Virtual Unit Chain %d!\n", thisVUC);
296 thisVUC, block);
305 thisVUC, block);
318 thisVUC);
340 thisVUC, block, BlockLastState[block],
349 if (pendingblock >= (thisVUC * (nftl->EraseSize / 512)) &&
350 pendingblock < ((thisVUC + 1)* (nftl->EraseSize / 512)) &&
351 BlockLastState[pendingblock - (thisVUC * (nftl->EraseSize / 512))] !=
361 "Trying out-of-place\n", thisVUC);
390 pr_debug("Folding chain %d into unit %d\n", thisVUC, targetEUN);
397 (pendingblock == (thisVUC * (nftl->EraseSize / 512) + block))) {
428 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC);
441 thisEUN = nftl->EUNtable[thisVUC];
463 /* Make this the new start of chain for thisVUC */
465 nftl->EUNtable[thisVUC] = targetEUN;
525 u16 thisVUC = block / (nftl->EraseSize / 512);
542 writeEUN = nftl->EUNtable[thisVUC];
575 thisVUC);
596 //u16 startEUN = nftl->EUNtable[thisVUC];
598 //printk("Write to VirtualUnitChain %d, calling makefreeblock()\n", thisVUC);
608 pr_debug("Using desperate==1 to find free EUN to accommodate write to VUC %d\n", thisVUC);
629 thisVUC |= 0x8000; /* It's a replacement block */
632 nftl->EUNtable[thisVUC] = writeEUN;
643 oob.u.a.VirtUnitNum = oob.u.a.SpareVirtUnitNum = cpu_to_le16(thisVUC);
670 thisVUC);