Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Drw_bitmaps.c76 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in write_bitmaps()
165 ext2fs_block_bitmap bmap = fs->block_map; in mark_uninit_bg_group_blocks()
228 if (fs->block_map) in read_bitmaps()
229 ext2fs_free_block_bitmap(fs->block_map); in read_bitmaps()
232 retval = ext2fs_allocate_block_bitmap(fs, buf, &fs->block_map); in read_bitmaps()
285 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 …]
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()
293 dump_bitmap(test_fs->block_map, test_fs->super->s_first_data_block, 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()
[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.c41 if (fs->block_map) in ext2fs_free()
42 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
Dimager.c346 if (!fs->block_map) { in ext2fs_image_bitmap_write()
351 bmap = fs->block_map; in ext2fs_image_bitmap_write()
421 if (!fs->block_map) { in ext2fs_image_bitmap_read()
426 bmap = fs->block_map; in ext2fs_image_bitmap_read()
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()
439 map = fs->block_map; in ext2fs_new_range()
Dalloc_tables.c96 bmap = fs->block_map; in ext2fs_allocate_group_table()
270 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.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.c483 retval = ext2fs_allocate_subcluster_bitmap(fs, buf, &fs->block_map); in ext2fs_initialize()
538 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
/external/e2fsprogs/e2fsck/
Dpass5.c168 retval = ext2fs_get_block_bitmap_range2(ctx->fs->block_map, in check_block_bitmap_checksum()
352 ext2fs_get_block_bitmap_start2(fs->block_map)) || in check_block_bitmaps()
354 ext2fs_get_block_bitmap_end2(fs->block_map))) { in check_block_bitmaps()
358 pctx.ino = ext2fs_get_block_bitmap_start2(fs->block_map); in check_block_bitmaps()
359 pctx.ino2 = ext2fs_get_block_bitmap_end2(fs->block_map); in check_block_bitmaps()
400 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in check_block_bitmaps()
417 bitmap = ext2fs_fast_test_block_bitmap2(fs->block_map, i); in check_block_bitmaps()
510 ext2fs_free_block_bitmap(fs->block_map); in check_block_bitmaps()
512 &fs->block_map); in check_block_bitmaps()
519 ext2fs_set_bitmap_padding(fs->block_map); in check_block_bitmaps()
[all …]
Dpass4.c162 (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()
939 ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in adjust_fs_info()
1245 } else if (ext2fs_test_block_bitmap2(rfs->old_fs->block_map, blk) && in mark_fs_metablock()
[all …]
/external/e2fsprogs/misc/
Dmk_hugefiles.c310 retval = ext2fs_find_first_zero_block_bitmap2(fs->block_map, in mk_hugefile()
316 retval = ext2fs_find_first_set_block_bitmap2(fs->block_map, goal, in mk_hugefile()
445 retval = ext2fs_find_first_zero_block_bitmap2(fs->block_map, in get_start_block()
450 retval = ext2fs_find_first_set_block_bitmap2(fs->block_map, in get_start_block()
De2fuzz.c233 corrupt_map = fs->block_map; in process_fs()
314 if (corrupt_map != fs->block_map) in process_fs()
Dtune2fs.c353 ext2fs_unmark_block_bitmap2(fs->block_map, block); in release_blocks_proc()
1061 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
1063 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
1067 ext2fs_mark_block_bitmap2(fs->block_map, b); in disable_uninit_bg()
1069 ext2fs_mark_block_bitmap2(fs->block_map, c); in disable_uninit_bg()
1071 ext2fs_mark_block_bitmap2(fs->block_map, d); in disable_uninit_bg()
2250 if (ext2fs_test_block_bitmap2(fs->block_map, j)) { in get_move_bitmaps()
2265 ext2fs_mark_block_bitmap2(fs->block_map, j); in get_move_bitmaps()
2349 ext2fs_mark_block_bitmap2(fs->block_map, new_blk); in move_block()
2605 if (!ext2fs_fast_test_block_bitmap2(fs->block_map, blk)) { in ext2fs_calculate_summary_stats()
Ddumpe2fs.c173 if (fs->block_map) in list_desc()
290 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in list_desc()
/external/e2fsprogs/debugfs/
Dunused.c43 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/u-boot/arch/x86/include/asm/fsp/
Dfsp_fv.h120 struct fv_blkmap_entry block_map[1]; member

12