/external/e2fsprogs/lib/ext2fs/ |
D | rw_bitmaps.c | 79 retval = ext2fs_get_block_bitmap_range(fs->block_map, in write_bitmaps() 167 if (fs->block_map) in read_bitmaps() 168 ext2fs_free_block_bitmap(fs->block_map); in read_bitmaps() 171 retval = ext2fs_allocate_block_bitmap(fs, buf, &fs->block_map); in read_bitmaps() 232 retval = ext2fs_set_block_bitmap_range(fs->block_map, in read_bitmaps() 260 retval = ext2fs_set_block_bitmap_range(fs->block_map, in read_bitmaps() 298 ext2fs_free_mem(&fs->block_map); in read_bitmaps() 299 fs->block_map = 0; in read_bitmaps() 336 if (fs->inode_map && fs->block_map) in ext2fs_read_bitmaps() 339 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() 74 if (src->block_map) { in ext2fs_dup_handle() 75 retval = ext2fs_copy_bitmap(src->block_map, &fs->block_map); in ext2fs_dup_handle()
|
D | alloc.c | 92 check_block_uninit(fs, fs->block_map, group); in check_inode_uninit() 156 map = fs->block_map; in ext2fs_new_block() 210 if (!fs->block_map) { in ext2fs_alloc_block() 242 map = fs->block_map; in ext2fs_get_free_blocks()
|
D | freefs.c | 41 if (fs->block_map) in ext2fs_free() 42 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
|
D | alloc_stats.c | 75 ext2fs_mark_block_bitmap(fs->block_map, blk); in ext2fs_block_alloc_stats() 77 ext2fs_unmark_block_bitmap(fs->block_map, blk); in ext2fs_block_alloc_stats()
|
D | imager.c | 299 if (!fs->block_map) { in ext2fs_image_bitmap_write() 304 bmap = fs->block_map; in ext2fs_image_bitmap_write() 376 if (!fs->block_map) { in ext2fs_image_bitmap_read() 381 bmap = fs->block_map; in ext2fs_image_bitmap_read()
|
D | bb_inode.c | 65 if (!fs->block_map) in ext2fs_update_bb_inode() 238 if (ext2fs_test_block_bitmap(fs->block_map, blk)) in set_bad_block_proc()
|
D | alloc_sb.c | 63 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd()
|
D | alloc_tables.c | 93 bmap = fs->block_map; in ext2fs_allocate_group_table() 224 retval = ext2fs_allocate_group_table(fs, i, fs->block_map); in ext2fs_allocate_tables()
|
D | expanddir.c | 92 if (!fs->block_map) in ext2fs_expand_dir()
|
D | initialize.c | 364 retval = ext2fs_allocate_block_bitmap(fs, buf, &fs->block_map); in ext2fs_initialize() 412 numblocks = ext2fs_reserve_super_and_bgd(fs, i, fs->block_map); in ext2fs_initialize()
|
D | bmove.c | 112 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; in ext2fs_move_blocks()
|
/external/e2fsprogs/e2fsck/ |
D | pass5.c | 139 ext2fs_get_block_bitmap_start(fs->block_map)) || in check_block_bitmaps() 141 ext2fs_get_block_bitmap_end(fs->block_map))) { in check_block_bitmaps() 145 pctx.ino = ext2fs_get_block_bitmap_start(fs->block_map); in check_block_bitmaps() 146 pctx.ino2 = ext2fs_get_block_bitmap_end(fs->block_map); in check_block_bitmaps() 201 bitmap = ext2fs_fast_test_block_bitmap(fs->block_map, i); in check_block_bitmaps() 277 ext2fs_free_block_bitmap(fs->block_map); in check_block_bitmaps() 279 &fs->block_map); in check_block_bitmaps() 286 ext2fs_set_bitmap_padding(fs->block_map); in check_block_bitmaps() 596 end = ext2fs_get_block_bitmap_start(fs->block_map) + in check_block_end() 598 pctx.errcode = ext2fs_fudge_block_bitmap_end(fs->block_map, end, in check_block_end() [all …]
|
D | pass1.c | 1124 save_bmap = fs->block_map; in e2fsck_pass1() 1125 fs->block_map = ctx->block_found_map; in e2fsck_pass1() 1143 fs->block_map = save_bmap; in e2fsck_pass1() 2694 if (fs->block_map) { in e2fsck_get_alloc_block() 2695 ext2fs_mark_block_bitmap(fs->block_map, new_block); in e2fsck_get_alloc_block() 2699 if (!fs->block_map) { in e2fsck_get_alloc_block()
|
D | pass3.c | 184 ext2fs_mark_block_bitmap(fs->block_map, blk); in check_root()
|
/external/grub/stage2/ |
D | fsys_ffs.c | 99 block_map (int file_block) in block_map() function 155 if ((map = block_map (logno)) < 0) in ffs_read() 255 if ((map = block_map (block)) < 0 in ffs_dir()
|
D | fsys_ufs2.c | 123 block_map (int file_block) in block_map() function 180 if ((map = block_map (logno)) < 0) in ufs2_read() 276 if ((map = block_map (block)) < 0 in ufs2_dir()
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 230 ext2fs_fast_mark_block_bitmap(fs->block_map, blk); in fix_uninit_block_bitmaps() 232 ext2fs_fast_unmark_block_bitmap(fs->block_map, blk); in fix_uninit_block_bitmaps() 388 real_end, fs->block_map); in adjust_fs_info() 760 } else if (ext2fs_test_block_bitmap(rfs->old_fs->block_map, blk) && in mark_fs_metablock() 824 if (ext2fs_test_block_bitmap(old_fs->block_map, blk) && in blocks_to_move() 956 if (ext2fs_test_block_bitmap(old_fs->block_map, blk) && in blocks_to_move() 964 if (ext2fs_test_block_bitmap(old_fs->block_map, blk) && in blocks_to_move() 990 if (ext2fs_test_block_bitmap(old_fs->block_map, blk) && in blocks_to_move() 1063 if (ext2fs_test_block_bitmap(fs->block_map, rfs->new_blk) || in get_new_block() 1068 ext2fs_test_block_bitmap(rfs->old_fs->block_map, in get_new_block() [all …]
|
/external/e2fsprogs/debugfs/ |
D | unused.c | 40 if (ext2fs_test_block_bitmap(current_fs->block_map,blk)) in do_dump_unused()
|
D | lsdel.c | 67 if (!ext2fs_test_block_bitmap(fs->block_map,*block_nr)) in lsdel_proc()
|
D | util.c | 180 if (!current_fs->block_map || !current_fs->inode_map) { in check_fs_bitmaps()
|
D | debugfs.c | 1001 if (!ext2fs_test_block_bitmap(current_fs->block_map,block)) in do_freeb() 1004 ext2fs_unmark_block_bitmap(current_fs->block_map,block); in do_freeb() 1020 if (ext2fs_test_block_bitmap(current_fs->block_map,block)) in do_setb() 1023 ext2fs_mark_block_bitmap(current_fs->block_map,block); in do_setb() 1037 if (ext2fs_test_block_bitmap(current_fs->block_map,block)) in do_testb()
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 261 ext2fs_unmark_block_bitmap(fs->block_map, block); in release_blocks_proc() 1039 if (ext2fs_test_block_bitmap(fs->block_map, j)) { in get_move_bitmaps() 1054 ext2fs_mark_block_bitmap(fs->block_map, j); in get_move_bitmaps() 1138 ext2fs_mark_block_bitmap(fs->block_map, new_blk); in move_block() 1389 if (!ext2fs_fast_test_block_bitmap(fs->block_map, blk)) { in ext2fs_calculate_summary_stats()
|
D | dumpe2fs.c | 159 if (fs->block_map) in list_desc() 242 ext2fs_get_block_bitmap_range(fs->block_map, in list_desc()
|
D | e2freefrag.c | 122 used = ext2fs_fast_test_block_bitmap(fs->block_map, in scan_block_bitmap()
|