Lines Matching refs:block_nr
45 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
49 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
155 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in clear_bad_block_proc() argument
166 if (!*block_nr) in clear_bad_block_proc()
172 if (*block_nr >= ext2fs_blocks_count(fs->super) || in clear_bad_block_proc()
173 *block_nr < fs->super->s_first_data_block) { in clear_bad_block_proc()
174 *block_nr = 0; in clear_bad_block_proc()
191 rec->ind_blocks[rec->ind_blocks_size++] = *block_nr; in clear_bad_block_proc()
197 ext2fs_block_alloc_stats2(fs, *block_nr, -1); in clear_bad_block_proc()
199 *block_nr = 0; in clear_bad_block_proc()
212 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr, in set_bad_block_proc() argument
262 *block_nr = blk; in set_bad_block_proc()