Lines Matching refs:bb_list
164 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, in read_bb_file() argument
176 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in read_bb_file()
189 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) in test_disk() argument
206 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); in test_disk()
216 static void handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) in handle_bad_blocks() argument
228 if (!bb_list) in handle_bad_blocks()
237 if (ext2fs_badblocks_list_test(bb_list, i)) { in handle_bad_blocks()
259 if (ext2fs_badblocks_list_test(bb_list, in handle_bad_blocks()
278 retval = ext2fs_badblocks_list_iterate_begin(bb_list, &bb_iter); in handle_bad_blocks()
551 static void create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) in create_bad_block_inode() argument
558 retval = ext2fs_update_bb_inode(fs, bb_list); in create_bad_block_inode()
1574 badblocks_list bb_list = 0; in main() local
1683 read_bb_file(fs, &bb_list, bad_blocks_filename); in main()
1687 test_disk(fs, &bb_list); in main()
1690 handle_bad_blocks(fs, bb_list); in main()
1734 create_bad_block_inode(fs, bb_list); in main()