/external/e2fsprogs/lib/ext2fs/ |
D | tst_bitmaps.c | 170 ext2fs_free_block_bitmap(test_fs->block_map); in setup_filesystem() 171 test_fs->block_map = 0; in setup_filesystem() 175 &test_fs->block_map); in setup_filesystem() 290 dump_bitmap(test_fs->block_map, test_fs->super->s_first_data_block, in dump_block_bitmap_cmd() 317 ext2fs_mark_block_bitmap_range2(test_fs->block_map, in do_setb() 323 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_setb() 324 op_result = ext2fs_mark_block_bitmap2(test_fs->block_map, block); in do_setb() 355 ext2fs_unmark_block_bitmap_range2(test_fs->block_map, in do_clearb() 361 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_clearb() 362 op_result = ext2fs_unmark_block_bitmap2(test_fs->block_map, block); in do_clearb() [all …]
|
D | rw_bitmaps.c | 77 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in write_bitmaps() 179 if (fs->block_map) in read_bitmaps() 180 ext2fs_free_block_bitmap(fs->block_map); in read_bitmaps() 183 retval = ext2fs_allocate_block_bitmap(fs, buf, &fs->block_map); in read_bitmaps() 237 retval = ext2fs_set_block_bitmap_range2(fs->block_map, in read_bitmaps() 265 retval = ext2fs_set_block_bitmap_range2(fs->block_map, in read_bitmaps() 303 ext2fs_free_mem(&fs->block_map); in read_bitmaps() 304 fs->block_map = 0; in read_bitmaps() 341 if (fs->inode_map && fs->block_map) in ext2fs_read_bitmaps() 344 return read_bitmaps(fs, !fs->inode_map, !fs->block_map); in ext2fs_read_bitmaps() [all …]
|
D | dupfs.c | 39 fs->block_map = 0; in ext2fs_dup_handle() 77 if (src->block_map) { in ext2fs_dup_handle() 78 retval = ext2fs_copy_bitmap(src->block_map, &fs->block_map); in ext2fs_dup_handle()
|
D | imager.c | 303 if (!fs->block_map) { in ext2fs_image_bitmap_write() 308 bmap = fs->block_map; in ext2fs_image_bitmap_write() 378 if (!fs->block_map) { in ext2fs_image_bitmap_read() 383 bmap = fs->block_map; in ext2fs_image_bitmap_read()
|
D | freefs.c | 41 if (fs->block_map) in ext2fs_free() 42 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
|
D | alloc.c | 98 check_block_uninit(fs, fs->block_map, group); in check_inode_uninit() 175 map = fs->block_map; in ext2fs_new_block2() 240 if (!fs->block_map) { in ext2fs_alloc_block2() 284 map = fs->block_map; in ext2fs_get_free_blocks2()
|
D | alloc_stats.c | 73 ext2fs_mark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2() 75 ext2fs_unmark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2()
|
D | bb_inode.c | 65 if (!fs->block_map) in ext2fs_update_bb_inode() 237 if (ext2fs_test_block_bitmap2(fs->block_map, blk)) in set_bad_block_proc()
|
D | alloc_tables.c | 95 bmap = fs->block_map; in ext2fs_allocate_group_table() 237 retval = ext2fs_allocate_group_table(fs, i, fs->block_map); in ext2fs_allocate_tables()
|
D | alloc_sb.c | 67 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd()
|
D | tst_fs_struct.c | 54 check_field(block_map); in main()
|
D | expanddir.c | 101 if (!fs->block_map) in ext2fs_expand_dir()
|
D | bmove.c | 114 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; in ext2fs_move_blocks()
|
D | initialize.c | 430 retval = ext2fs_allocate_subcluster_bitmap(fs, buf, &fs->block_map); in ext2fs_initialize() 486 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
|
/external/e2fsprogs/e2fsck/ |
D | pass5.c | 242 ext2fs_get_block_bitmap_start2(fs->block_map)) || in check_block_bitmaps() 244 ext2fs_get_block_bitmap_end2(fs->block_map))) { in check_block_bitmaps() 248 pctx.ino = ext2fs_get_block_bitmap_start2(fs->block_map); in check_block_bitmaps() 249 pctx.ino2 = ext2fs_get_block_bitmap_end2(fs->block_map); in check_block_bitmaps() 298 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in check_block_bitmaps() 382 bitmap = ext2fs_fast_test_block_bitmap2(fs->block_map, i); in check_block_bitmaps() 480 ext2fs_free_block_bitmap(fs->block_map); in check_block_bitmaps() 482 &fs->block_map); in check_block_bitmaps() 489 ext2fs_set_bitmap_padding(fs->block_map); in check_block_bitmaps() 859 end = ext2fs_get_block_bitmap_start2(fs->block_map) + in check_block_end() [all …]
|
D | pass1.c | 1189 save_bmap = fs->block_map; in e2fsck_pass1() 1190 fs->block_map = ctx->block_found_map; in e2fsck_pass1() 1208 fs->block_map = save_bmap; in e2fsck_pass1() 2839 if (fs->block_map) { in e2fsck_get_alloc_block() 2840 ext2fs_mark_block_bitmap2(fs->block_map, new_block); in e2fsck_get_alloc_block() 2844 if (!fs->block_map) { in e2fsck_get_alloc_block()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 242 ext2fs_unmark_block_bitmap_range2(fs->block_map, blk, in fix_uninit_block_bitmaps() 245 ext2fs_reserve_super_and_bgd(fs, g, fs->block_map); in fix_uninit_block_bitmaps() 246 ext2fs_mark_block_bitmap2(fs->block_map, in fix_uninit_block_bitmaps() 248 ext2fs_mark_block_bitmap2(fs->block_map, in fix_uninit_block_bitmaps() 253 ext2fs_mark_block_bitmap2(fs->block_map, blk); in fix_uninit_block_bitmaps() 411 real_end, fs->block_map); in adjust_fs_info() 528 ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in adjust_fs_info() 838 } else if (ext2fs_test_block_bitmap2(rfs->old_fs->block_map, blk) && in mark_fs_metablock() 938 if (ext2fs_test_block_bitmap2(old_fs->block_map, blk) && in blocks_to_move() 1072 if (ext2fs_test_block_bitmap2(old_fs->block_map, blk) && in blocks_to_move() [all …]
|
/external/e2fsprogs/debugfs/ |
D | unused.c | 40 if (ext2fs_test_block_bitmap2(current_fs->block_map,blk)) in do_dump_unused()
|
D | lsdel.c | 67 if (!ext2fs_test_block_bitmap2(fs->block_map,*block_nr)) in lsdel_proc()
|
D | util.c | 181 if (!current_fs->block_map || !current_fs->inode_map) { in check_fs_bitmaps()
|
D | debugfs.c | 1094 if (!ext2fs_test_block_bitmap2(current_fs->block_map,block)) in do_freeb() 1097 ext2fs_unmark_block_bitmap2(current_fs->block_map,block); in do_freeb() 1113 if (ext2fs_test_block_bitmap2(current_fs->block_map,block)) in do_setb() 1116 ext2fs_mark_block_bitmap2(current_fs->block_map,block); in do_setb() 1131 if (ext2fs_test_block_bitmap2(current_fs->block_map,block)) in do_testb()
|
/external/e2fsprogs/misc/ |
D | dumpe2fs.c | 173 if (fs->block_map) in list_desc() 259 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in list_desc()
|
D | tune2fs.c | 292 ext2fs_unmark_block_bitmap2(fs->block_map, block); in release_blocks_proc() 1324 if (ext2fs_test_block_bitmap2(fs->block_map, j)) { in get_move_bitmaps() 1339 ext2fs_mark_block_bitmap2(fs->block_map, j); in get_move_bitmaps() 1423 ext2fs_mark_block_bitmap2(fs->block_map, new_blk); in move_block() 1676 if (!ext2fs_fast_test_block_bitmap2(fs->block_map, blk)) { in ext2fs_calculate_summary_stats()
|
D | e2freefrag.c | 125 used = ext2fs_fast_test_block_bitmap2(fs->block_map, in scan_block_bitmap()
|
D | mke2fs.c | 310 ext2fs_mark_block_bitmap2(fs->block_map, EXT2FS_B2C(fs, blk)); in handle_bad_blocks() 2332 if (!ext2fs_test_block_bitmap2(fs->block_map, in fix_cluster_bg_counts() 2582 retval = ext2fs_convert_subcluster_bitmap(fs, &fs->block_map); in main()
|