Lines Matching refs:thisVUC
236 static u16 INFTL_foldchain(struct INFTLrecord *inftl, unsigned thisVUC, unsigned pendingblock) in INFTL_foldchain() argument
248 inftl, thisVUC, pendingblock); in INFTL_foldchain()
253 thisEUN = targetEUN = inftl->VUtable[thisVUC]; in INFTL_foldchain()
257 "Virtual Unit Chain %d!\n", thisVUC); in INFTL_foldchain()
299 "Unit Chain 0x%x\n", thisVUC); in INFTL_foldchain()
311 pr_debug("INFTL: folding chain %d into unit %d\n", thisVUC, targetEUN); in INFTL_foldchain()
322 (thisVUC * (inftl->EraseSize / SECTORSIZE) + block))) { in INFTL_foldchain()
361 pr_debug("INFTL: want to erase virtual chain %d\n", thisVUC); in INFTL_foldchain()
365 thisEUN = inftl->VUtable[thisVUC]; in INFTL_foldchain()
462 unsigned int thisVUC = block / (inftl->EraseSize / SECTORSIZE); in INFTL_findwriteunit() local
481 thisEUN = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
512 "Virtual Unit Chain 0x%x\n", thisVUC); in INFTL_findwriteunit()
545 thisVUC); in INFTL_findwriteunit()
571 thisEUN = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
579 prev_block = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
583 parity = (nrbits(thisVUC, 16) & 0x1) ? 0x1 : 0; in INFTL_findwriteunit()
588 oob.u.a.virtualUnitNo = cpu_to_le16(thisVUC); in INFTL_findwriteunit()
599 oob.u.b.virtualUnitNo = cpu_to_le16(thisVUC); in INFTL_findwriteunit()
609 inftl->PUtable[writeEUN] = inftl->VUtable[thisVUC]; in INFTL_findwriteunit()
610 inftl->VUtable[thisVUC] = writeEUN; in INFTL_findwriteunit()
618 "Unit Chain 0x%x\n", thisVUC); in INFTL_findwriteunit()
625 static void INFTL_trydeletechain(struct INFTLrecord *inftl, unsigned thisVUC) in INFTL_trydeletechain() argument
636 "thisVUC=%d)\n", inftl, thisVUC); in INFTL_trydeletechain()
641 thisEUN = inftl->VUtable[thisVUC]; in INFTL_trydeletechain()
644 "Virtual Unit Chain %d!\n", thisVUC); in INFTL_trydeletechain()
684 "Unit Chain 0x%x\n", thisVUC); in INFTL_trydeletechain()
699 pr_debug("INFTL: deleting empty VUC %d\n", thisVUC); in INFTL_trydeletechain()
702 u16 *prevEUN = &inftl->VUtable[thisVUC]; in INFTL_trydeletechain()
720 thisEUN, thisVUC); in INFTL_trydeletechain()
742 inftl->VUtable[thisVUC] = BLOCK_NIL; in INFTL_trydeletechain()