Lines Matching refs:first_block

369 static void check_sectors_in_chain(struct NFTLrecord *nftl, unsigned int first_block)  in check_sectors_in_chain()  argument
378 block = first_block; in check_sectors_in_chain()
423 static int calc_chain_length(struct NFTLrecord *nftl, unsigned int first_block) in calc_chain_length() argument
425 unsigned int length = 0, block = first_block; in calc_chain_length()
455 static void format_chain(struct NFTLrecord *nftl, unsigned int first_block) in format_chain() argument
457 unsigned int block = first_block, block1; in format_chain()
459 printk("Formatting chain at block %d\n", first_block); in format_chain()
566 unsigned int block, first_block, is_first_block; in NFTL_mount() local
586 for (first_block = 0; first_block < s->nb_blocks; first_block++) { in NFTL_mount()
588 if (s->ReplUnitTable[first_block] == BLOCK_NOTEXPLORED) { in NFTL_mount()
589 block = first_block; in NFTL_mount()
637 block, first_block); in NFTL_mount()
696 get_fold_mark(s, first_block) == FOLD_MARK_IN_PROGRESS) { in NFTL_mount()
721 format_chain(s, first_block); in NFTL_mount()
727 fold_mark = get_fold_mark(s, first_block); in NFTL_mount()
730 printk("Could read foldmark at block %d\n", first_block); in NFTL_mount()
731 format_chain(s, first_block); in NFTL_mount()
734 check_sectors_in_chain(s, first_block); in NFTL_mount()
745 first_block1, chain_length1, first_block, chain_length); in NFTL_mount()
749 s->EUNtable[first_logical_block] = first_block; in NFTL_mount()
751 chain_to_format = first_block; in NFTL_mount()
755 s->EUNtable[first_logical_block] = first_block; in NFTL_mount()