• Home
  • Raw
  • Download

Lines Matching refs:test_fs

35 ext2_filsys	test_fs;  variable
145 if (!test_fs) { in check_fs_open()
164 test_io_manager, &test_fs); in setup_filesystem()
170 test_fs->default_bitmap_type = type; in setup_filesystem()
171 ext2fs_free_block_bitmap(test_fs->block_map); in setup_filesystem()
172 test_fs->block_map = 0; in setup_filesystem()
173 ext2fs_free_inode_bitmap(test_fs->inode_map); in setup_filesystem()
174 test_fs->inode_map = 0; in setup_filesystem()
175 retval = ext2fs_allocate_block_bitmap(test_fs, "block bitmap", in setup_filesystem()
176 &test_fs->block_map); in setup_filesystem()
181 retval = ext2fs_allocate_inode_bitmap(test_fs, "inode bitmap", in setup_filesystem()
182 &test_fs->inode_map); in setup_filesystem()
190 ext2fs_close_free(&test_fs); in setup_filesystem()
202 if (test_fs) in setup_cmd()
203 ext2fs_close_free(&test_fs); in setup_cmd()
244 ext2fs_close_free(&test_fs); in close_cmd()
282 dump_bitmap(test_fs->inode_map, 1, test_fs->super->s_inodes_count); in dump_inode_bitmap_cmd()
293 dump_bitmap(test_fs->block_map, test_fs->super->s_first_data_block, in dump_block_bitmap_cmd()
294 test_fs->super->s_blocks_count); in dump_block_bitmap_cmd()
321 ext2fs_mark_block_bitmap_range2(test_fs->block_map, in do_setb()
327 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_setb()
328 op_result = ext2fs_mark_block_bitmap2(test_fs->block_map, block); in do_setb()
360 ext2fs_unmark_block_bitmap_range2(test_fs->block_map, in do_clearb()
366 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_clearb()
367 op_result = ext2fs_unmark_block_bitmap2(test_fs->block_map, block); in do_clearb()
400 ext2fs_test_block_bitmap_range2(test_fs->block_map, in do_testb()
407 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_testb()
435 retval = ext2fs_find_first_zero_block_bitmap2(test_fs->block_map, in do_ffzb()
469 retval = ext2fs_find_first_set_block_bitmap2(test_fs->block_map, in do_ffsb()
487 ext2fs_clear_block_bitmap(test_fs->block_map); in do_zerob()
509 test_result = ext2fs_test_inode_bitmap2(test_fs->inode_map, inode); in do_seti()
510 op_result = ext2fs_mark_inode_bitmap2(test_fs->inode_map, inode); in do_seti()
539 test_result = ext2fs_test_inode_bitmap2(test_fs->inode_map, inode); in do_cleari()
540 op_result = ext2fs_unmark_inode_bitmap2(test_fs->inode_map, inode); in do_cleari()
569 test_result = ext2fs_test_inode_bitmap2(test_fs->inode_map, inode); in do_testi()
597 retval = ext2fs_find_first_zero_inode_bitmap2(test_fs->inode_map, in do_ffzi()
631 retval = ext2fs_find_first_set_inode_bitmap2(test_fs->inode_map, in do_ffsi()
648 ext2fs_clear_inode_bitmap(test_fs->inode_map); in do_zeroi()