Lines Matching refs:bb_list
227 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file() argument
239 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in read_bb_file()
251 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk() argument
268 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in test_disk()
277 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks() argument
289 if (!bb_list) in handle_bad_blocks()
298 if (ext2fs_badblocks_list_test(bb_list, i)) { in handle_bad_blocks()
320 if (ext2fs_badblocks_list_test(bb_list, in handle_bad_blocks()
340 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in handle_bad_blocks()
534 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode() argument
540 retval = ext2fs_update_bb_inode(fs, bb_list); in create_bad_block_inode()
2912 badblocks_list bb_list = 0; in main() local
3193 read_bb_file(fs, &bb_list, bad_blocks_filename); in main()
3195 test_disk(fs, &bb_list); in main()
3196 handle_bad_blocks(fs, bb_list); in main()
3271 create_bad_block_inode(fs, bb_list); in main()