Lines Matching refs:bb_list
190 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file() argument
202 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in read_bb_file()
214 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk() argument
231 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in test_disk()
240 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks() argument
252 if (!bb_list) in handle_bad_blocks()
261 if (ext2fs_badblocks_list_test(bb_list, i)) { in handle_bad_blocks()
283 if (ext2fs_badblocks_list_test(bb_list, in handle_bad_blocks()
303 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in handle_bad_blocks()
432 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode() argument
438 retval = ext2fs_update_bb_inode(fs, bb_list); in create_bad_block_inode()
2366 badblocks_list bb_list = 0; in main() local
2565 read_bb_file(fs, &bb_list, bad_blocks_filename); in main()
2567 test_disk(fs, &bb_list); in main()
2569 handle_bad_blocks(fs, bb_list); in main()
2635 create_bad_block_inode(fs, bb_list); in main()