Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Dtst_bitmaps.c170 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 …]
Drw_bitmaps.c77 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 …]
Ddupfs.c39 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()
Dfreefs.c41 if (fs->block_map) in ext2fs_free()
42 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
Dimager.c303 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()
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()
Dalloc.c98 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()
Dbb_inode.c65 if (!fs->block_map) in ext2fs_update_bb_inode()
237 if (ext2fs_test_block_bitmap2(fs->block_map, blk)) in set_bad_block_proc()
Dalloc_sb.c67 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd()
Dalloc_tables.c95 bmap = fs->block_map; in ext2fs_allocate_group_table()
237 retval = ext2fs_allocate_group_table(fs, i, fs->block_map); in ext2fs_allocate_tables()
Dtst_fs_struct.c54 check_field(block_map); in main()
Dexpanddir.c101 if (!fs->block_map) in ext2fs_expand_dir()
Dbmove.c114 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; in ext2fs_move_blocks()
Dinitialize.c430 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/
Dpass5.c242 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 …]
Dpass1.c1189 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/
Dresize2fs.c242 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/
Dunused.c40 if (ext2fs_test_block_bitmap2(current_fs->block_map,blk)) in do_dump_unused()
Dlsdel.c67 if (!ext2fs_test_block_bitmap2(fs->block_map,*block_nr)) in lsdel_proc()
Dutil.c181 if (!current_fs->block_map || !current_fs->inode_map) { in check_fs_bitmaps()
Ddebugfs.c1094 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/
Ddumpe2fs.c173 if (fs->block_map) in list_desc()
259 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in list_desc()
Dtune2fs.c292 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()
De2freefrag.c125 used = ext2fs_fast_test_block_bitmap2(fs->block_map, in scan_block_bitmap()
Dmke2fs.c310 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()

12