Lines Matching refs:first_block
369 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block)
378 block = first_block;
423 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block)
425 unsigned int length = 0, block = first_block;
449 * if we stop the code, we may see again a valid chain if there was a first_block
455 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block)
457 unsigned int block = first_block, block1;
459 printk("Formatting chain at block %d\n", first_block);
566 unsigned int block, first_block, is_first_block;
586 for (first_block = 0; first_block < s->nb_blocks; first_block++) {
588 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) {
589 block = first_block;
637 block, first_block);
691 the first_block flag set if folding is in
696 get_fold_mark(s, first_block) == FOLD_MARK_IN_PROGRESS) {
721 format_chain(s, first_block);
727 fold_mark = get_fold_mark(s, first_block);
730 printk("Could read foldmark at block %d\n", first_block);
731 format_chain(s, first_block);
734 check_sectors_in_chain(s, first_block);
745 first_block1, chain_length1, first_block, chain_length);
749 s->EUNtable[first_logical_block] = first_block;
751 chain_to_format = first_block;
755 s->EUNtable[first_logical_block] = first_block;