Lines Matching defs:chain
311 pr_debug("INFTL: folding chain %d into unit %d\n", thisVUC, targetEUN);
356 * Newest unit in chain now contains data from _all_ older units.
357 * So go through and erase each unit in chain, oldest first. (This
361 pr_debug("INFTL: want to erase virtual chain %d\n", thisVUC);
364 /* Find oldest unit in chain. */
376 /* Unlink the last block from the chain. */
407 u16 chain, EUN;
412 for (chain = 0; chain < inftl->nb_blocks; chain++) {
413 EUN = inftl->VUtable[chain];
422 chain, EUN);
425 * Just ignore this chain and get on with it.
434 LongestChain = chain;
516 /* Skip to next block in chain */
526 * OK. We didn't find one in the existing chain, or there
527 * is no existing chain. Allocate a new one.
535 * a chain to make room.
566 * Insert new block into virtual chain. Firstly update the
696 * For each block in the chain free it and make it available
705 /* If the chain is all gone already, we're done */
711 /* Find oldest unit in chain. */