Home
last modified time | relevance | path

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

12

/external/e2fsprogs/lib/ext2fs/
Drw_bitmaps.c79 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 …]
Ddupfs.c39 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()
Dalloc.c92 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()
Dfreefs.c41 if (fs->block_map) in ext2fs_free()
42 ext2fs_free_block_bitmap(fs->block_map); in ext2fs_free()
Dalloc_stats.c75 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()
Dimager.c299 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()
Dbb_inode.c65 if (!fs->block_map) in ext2fs_update_bb_inode()
238 if (ext2fs_test_block_bitmap(fs->block_map, blk)) in set_bad_block_proc()
Dalloc_sb.c63 if (fs->super->s_reserved_gdt_blocks && fs->block_map == bmap) in ext2fs_reserve_super_and_bgd()
Dalloc_tables.c93 bmap = fs->block_map; in ext2fs_allocate_group_table()
224 retval = ext2fs_allocate_group_table(fs, i, fs->block_map); in ext2fs_allocate_tables()
Dexpanddir.c92 if (!fs->block_map) in ext2fs_expand_dir()
Dinitialize.c364 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()
Dbmove.c112 pb.alloc_map = alloc_map ? alloc_map : fs->block_map; in ext2fs_move_blocks()
/external/e2fsprogs/e2fsck/
Dpass5.c139 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 …]
Dpass1.c1124 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()
Dpass3.c184 ext2fs_mark_block_bitmap(fs->block_map, blk); in check_root()
/external/grub/stage2/
Dfsys_ffs.c99 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()
Dfsys_ufs2.c123 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/
Dresize2fs.c230 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/
Dunused.c40 if (ext2fs_test_block_bitmap(current_fs->block_map,blk)) in do_dump_unused()
Dlsdel.c67 if (!ext2fs_test_block_bitmap(fs->block_map,*block_nr)) in lsdel_proc()
Dutil.c180 if (!current_fs->block_map || !current_fs->inode_map) { in check_fs_bitmaps()
Ddebugfs.c1001 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/
Dtune2fs.c261 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()
Ddumpe2fs.c159 if (fs->block_map) in list_desc()
242 ext2fs_get_block_bitmap_range(fs->block_map, in list_desc()
De2freefrag.c122 used = ext2fs_fast_test_block_bitmap(fs->block_map, in scan_block_bitmap()

12