Lines Matching refs:first_block
335 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block)
344 block = first_block;
389 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block)
391 unsigned int length = 0, block = first_block;
411 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block)
413 unsigned int block = first_block, block1;
415 printk("Formatting chain at block %d\n", first_block);
501 unsigned int block, first_block, is_first_block;
521 for (first_block = 0; first_block < s->nb_blocks; first_block++) {
523 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) {
524 block = first_block;
573 block, first_block);
627 the first_block flag set if folding is in
632 get_fold_mark(s, first_block) == FOLD_MARK_IN_PROGRESS) {
656 format_chain(s, first_block);
662 fold_mark = get_fold_mark(s, first_block);
665 printk("Could read foldmark at block %d\n", first_block);
666 format_chain(s, first_block);
669 check_sectors_in_chain(s, first_block);
679 first_block1, chain_length1, first_block, chain_length);
683 s->EUNtable[first_logical_block] = first_block;
685 chain_to_format = first_block;
689 s->EUNtable[first_logical_block] = first_block;