Home
last modified time | relevance | path

Searched refs:block_map (Results 1 – 25 of 38) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps.c171 ext2fs_free_block_bitmap(test_fs->block_map); in setup_filesystem()
172 test_fs->block_map = 0; in setup_filesystem()
176 &test_fs->block_map); in setup_filesystem()
287 dump_bitmap(test_fs->block_map, test_fs->super->s_first_data_block, in dump_block_bitmap_cmd()
314 ext2fs_mark_block_bitmap_range2(test_fs->block_map, in do_setb()
320 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_setb()
321 op_result = ext2fs_mark_block_bitmap2(test_fs->block_map, block); in do_setb()
352 ext2fs_unmark_block_bitmap_range2(test_fs->block_map, in do_clearb()
358 test_result = ext2fs_test_block_bitmap2(test_fs->block_map, block); in do_clearb()
359 op_result = ext2fs_unmark_block_bitmap2(test_fs->block_map, block); in do_clearb()
[all …]
Drw_bitmaps.c76 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in write_bitmaps()
163 ext2fs_block_bitmap bmap = fs->block_map; in mark_uninit_bg_group_blocks()
226 if (fs->block_map) in read_bitmaps()
227 ext2fs_free_block_bitmap(fs->block_map); in read_bitmaps()
230 retval = ext2fs_allocate_block_bitmap(fs, buf, &fs->block_map); in read_bitmaps()
284 retval = ext2fs_set_block_bitmap_range2(fs->block_map, in read_bitmaps()
321 retval = ext2fs_set_block_bitmap_range2(fs->block_map, in read_bitmaps()
377 ext2fs_free_mem(&fs->block_map); in read_bitmaps()
378 fs->block_map = 0; in read_bitmaps()
415 if (fs->inode_map && fs->block_map) in ext2fs_read_bitmaps()
[all …]
Ddupfs.c40 fs->block_map = 0; in ext2fs_dup_handle()
78 if (src->block_map) { in ext2fs_dup_handle()
79 retval = ext2fs_copy_bitmap(src->block_map, &fs->block_map); in ext2fs_dup_handle()
Dalloc_stats.c73 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()
123 ext2fs_mark_block_bitmap_range2(fs->block_map, blk, num); in ext2fs_block_alloc_stats_range()
126 ext2fs_unmark_block_bitmap_range2(fs->block_map, blk, num); in ext2fs_block_alloc_stats_range()
Dfreefs.c40 if (fs->block_map) in ext2fs_free()
41 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
Dimager.c304 if (!fs->block_map) { in ext2fs_image_bitmap_write()
309 bmap = fs->block_map; in ext2fs_image_bitmap_write()
379 if (!fs->block_map) { in ext2fs_image_bitmap_read()
384 bmap = fs->block_map; in ext2fs_image_bitmap_read()
Dalloc_tables.c96 bmap = fs->block_map; in ext2fs_allocate_group_table()
229 ext2fs_mark_block_bitmap_range2(fs->block_map, in ext2fs_allocate_group_table()
250 retval = ext2fs_allocate_group_table(fs, i, fs->block_map); in ext2fs_allocate_tables()
Dbb_inode.c66 if (!fs->block_map) in ext2fs_update_bb_inode()
241 if (ext2fs_test_block_bitmap2(fs->block_map, blk)) in set_bad_block_proc()
Dalloc.c181 map = fs->block_map; in ext2fs_new_block3()
240 if (!fs->block_map) { in ext2fs_alloc_block3()
292 map = fs->block_map; in ext2fs_get_free_blocks2()
438 map = fs->block_map; in ext2fs_new_range()
Dtst_fs_struct.c54 check_field(block_map); in main()
Dexpanddir.c98 if (!fs->block_map) in ext2fs_expand_dir()
Dbmove.c115 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; in ext2fs_move_blocks()
Dinitialize.c481 retval = ext2fs_allocate_subcluster_bitmap(fs, buf, &fs->block_map); in ext2fs_initialize()
536 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
/external/e2fsprogs/e2fsck/
Dpass5.c170 retval = ext2fs_get_block_bitmap_range2(ctx->fs->block_map, in check_block_bitmap_checksum()
354 ext2fs_get_block_bitmap_start2(fs->block_map)) || in check_block_bitmaps()
356 ext2fs_get_block_bitmap_end2(fs->block_map))) { in check_block_bitmaps()
360 pctx.ino = ext2fs_get_block_bitmap_start2(fs->block_map); in check_block_bitmaps()
361 pctx.ino2 = ext2fs_get_block_bitmap_end2(fs->block_map); in check_block_bitmaps()
402 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in check_block_bitmaps()
419 bitmap = ext2fs_fast_test_block_bitmap2(fs->block_map, i); in check_block_bitmaps()
512 ext2fs_free_block_bitmap(fs->block_map); in check_block_bitmaps()
514 &fs->block_map); in check_block_bitmaps()
521 ext2fs_set_bitmap_padding(fs->block_map); in check_block_bitmaps()
[all …]
Dpass4.c113 (fs->block_map == NULL || fs->inode_map == NULL)) in e2fsck_pass4()
/external/e2fsprogs/contrib/android/
Dbasefs_allocator.c19 ext2fs_unmark_block_bitmap_range2(fs->block_map, blocks->start, in fs_free_blocks_range()
28 ext2fs_mark_block_bitmap_range2(fs->block_map, in fs_reserve_blocks_range()
89 retval = ext2fs_new_block2(fs, goal, fs->block_map, ret); in basefs_block_allocator()
92 ext2fs_mark_block_bitmap2(fs->block_map, *ret); in basefs_block_allocator()
Dext2simg.c125 first_blk = ext2fs_get_block_bitmap_start2(fs->block_map); in ext_to_sparse()
126 last_blk = ext2fs_get_block_bitmap_end2(fs->block_map); in ext_to_sparse()
145 if (ext2fs_test_block_bitmap2(fs->block_map, cur_blk)) { in ext_to_sparse()
/external/e2fsprogs/resize/
Dresize2fs.c417 rfs->new_fs->block_map, b); in move_bg_metadata()
464 ext2fs_unmark_block_bitmap2(rfs->new_fs->block_map, b); in move_bg_metadata()
598 ext2fs_unmark_block_bitmap_range2(fs->block_map, blk, in fix_uninit_block_bitmaps()
601 ext2fs_reserve_super_and_bgd(fs, g, fs->block_map); in fix_uninit_block_bitmaps()
602 ext2fs_mark_block_bitmap2(fs->block_map, in fix_uninit_block_bitmaps()
604 ext2fs_mark_block_bitmap2(fs->block_map, in fix_uninit_block_bitmaps()
609 ext2fs_mark_block_bitmap2(fs->block_map, blk); in fix_uninit_block_bitmaps()
799 real_end, fs->block_map); in adjust_fs_info()
938 ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in adjust_fs_info()
1244 } else if (ext2fs_test_block_bitmap2(rfs->old_fs->block_map, blk) && in mark_fs_metablock()
[all …]
/external/e2fsprogs/debugfs/
Dunused.c41 if (ext2fs_test_block_bitmap2(current_fs->block_map,blk)) in do_dump_unused()
Dlsdel.c68 if (!ext2fs_test_block_bitmap2(fs->block_map,*block_nr)) in lsdel_proc()
/external/e2fsprogs/misc/
De2fuzz.c233 corrupt_map = fs->block_map; in process_fs()
314 if (corrupt_map != fs->block_map) in process_fs()
Dtune2fs.c342 ext2fs_unmark_block_bitmap2(fs->block_map, block); in release_blocks_proc()
942 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
944 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
948 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
950 ext2fs_mark_block_bitmap2(fs->block_map, c); in disable_uninit_bg()
952 ext2fs_mark_block_bitmap2(fs->block_map, d); in disable_uninit_bg()
2095 if (ext2fs_test_block_bitmap2(fs->block_map, j)) { in get_move_bitmaps()
2110 ext2fs_mark_block_bitmap2(fs->block_map, j); in get_move_bitmaps()
2194 ext2fs_mark_block_bitmap2(fs->block_map, new_blk); in move_block()
2450 if (!ext2fs_fast_test_block_bitmap2(fs->block_map, blk)) { in ext2fs_calculate_summary_stats()
Dmk_hugefiles.c360 retval = ext2fs_find_first_zero_block_bitmap2(fs->block_map, in get_start_block()
365 retval = ext2fs_find_first_set_block_bitmap2(fs->block_map, in get_start_block()
Ddumpe2fs.c173 if (fs->block_map) in list_desc()
290 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in list_desc()
De2freefrag.c126 used = ext2fs_fast_test_block_bitmap2(fs->block_map, in scan_block_bitmap()

12