Lines Matching full:chain
360 /* check_sectors_in_chain: Check that each sector of a Virtual Unit Chain is correct.
361 * Mark as 'IGNORE' each incorrect sector. This check is only done if the chain
413 /* proceed to next Erase Unit on the chain */ in check_sectors_in_chain()
422 /* calc_chain_length: Walk through a Virtual Unit Chain and estimate chain length */
445 /* format_chain: Format an invalid Virtual Unit chain. It frees all the Erase Units in a
446 * Virtual Unit Chain, i.e. all the units are disconnected.
448 * It is not strictly correct to begin from the first block of the chain because
449 * if we stop the code, we may see again a valid chain if there was a first_block
459 printk("Formatting chain at block %d\n", first_block); in format_chain()
472 /* goto next block on the chain */ in format_chain()
543 * to indicate that we are in the progression of a Virtual Unit Chain folding. If the UCI #2
584 /* first pass : explore each block chain */ in NFTL_mount()
594 /* read the block header. If error, we format the chain */ in NFTL_mount()
617 /* if not currently in a chain, we can handle it safely */ in NFTL_mount()
634 /* the block was in a chain : this is bad. We in NFTL_mount()
635 must format all the chain */ in NFTL_mount()
636 printk("Block %d: free but referenced in chain %d\n", in NFTL_mount()
646 /* this block is not the first block in chain : in NFTL_mount()
647 ignore it, it will be included in a chain in NFTL_mount()
656 /* the chain is incorrect : we must format it, in NFTL_mount()
662 block while being last block in a chain in NFTL_mount()
663 only if the chain is being folded */ in NFTL_mount()
666 printk("Block %d: incorrectly marked as first block in chain\n", in NFTL_mount()
668 /* the chain is incorrect : we must format it, in NFTL_mount()
690 we accept that the last block of a chain has in NFTL_mount()
703 printk("Block %d: referencing block %d already in another chain\n", in NFTL_mount()
717 /* the chain was completely explored. Now we can decide in NFTL_mount()
720 /* invalid chain : format it */ in NFTL_mount()
726 /* valid chain : get foldmark */ in NFTL_mount()
729 /* cannot get foldmark : format the chain */ in NFTL_mount()