Home
last modified time | relevance | path

Searched refs:bg_flags (Results 1 – 20 of 20) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dcsum.c120 int old_flags = bg->bg_flags; in ext2fs_set_gdt_csum()
123 bg->bg_flags |= EXT2_BG_INODE_UNINIT; in ext2fs_set_gdt_csum()
126 bg->bg_flags &= ~EXT2_BG_INODE_UNINIT; in ext2fs_set_gdt_csum()
133 if (old_flags != bg->bg_flags) in ext2fs_set_gdt_csum()
207 fs->group_desc[i].bg_flags = 0; in main()
Dalloc.c40 !(fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT)) in check_block_uninit()
70 fs->group_desc[group].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in check_block_uninit()
84 !(fs->group_desc[group].bg_flags & EXT2_BG_INODE_UNINIT)) in check_inode_uninit()
91 fs->group_desc[group].bg_flags &= ~EXT2_BG_INODE_UNINIT; in check_inode_uninit()
Drw_bitmaps.c75 if (csum_flag && fs->group_desc[i].bg_flags & in write_bitmaps()
107 if (csum_flag && fs->group_desc[i].bg_flags & in write_bitmaps()
246 if (csum_flag && fs->group_desc[i].bg_flags & in read_bitmaps()
268 if (csum_flag && fs->group_desc[i].bg_flags & in read_bitmaps()
Dalloc_stats.c39 fs->group_desc[group].bg_flags &= ~EXT2_BG_INODE_UNINIT; in ext2fs_inode_alloc_stats2()
79 fs->group_desc[group].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_block_alloc_stats()
Dalloc_tables.c144 fs->group_desc[gr].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_allocate_group_table()
172 fs->group_desc[gr].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_allocate_group_table()
208 fs->group_desc[gr].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_allocate_group_table()
Dalloc_sb.c64 fs->group_desc[group].bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_reserve_super_and_bgd()
Dopenfs.c349 gd->bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in ext2fs_open2()
350 gd->bg_flags &= ~EXT2_BG_INODE_UNINIT; in ext2fs_open2()
Dinitialize.c404 fs->group_desc[i].bg_flags |= in ext2fs_initialize()
406 fs->group_desc[i].bg_flags |= EXT2_BG_INODE_UNINIT; in ext2fs_initialize()
Dswapfs.c105 gdp->bg_flags = ext2fs_swab16(gdp->bg_flags); in ext2fs_swap_group_desc()
Dext2_fs.h147 __u16 bg_flags; member
161 __u16 bg_flags; member
Dinode.c437 (scan->fs->group_desc[scan->current_group].bg_flags & in ext2fs_get_next_inode_full()
/external/e2fsprogs/misc/
Ddumpe2fs.c99 static void print_bg_opt(int bg_flags, int mask, in print_bg_opt() argument
102 if (bg_flags & mask) { in print_bg_opt()
113 int first = 1, bg_flags = 0; in print_bg_opts() local
116 bg_flags = fs->group_desc[i].bg_flags; in print_bg_opts()
118 print_bg_opt(bg_flags, EXT2_BG_INODE_UNINIT, "INODE_UNINIT", in print_bg_opts()
120 print_bg_opt(bg_flags, EXT2_BG_BLOCK_UNINIT, "BLOCK_UNINIT", in print_bg_opts()
122 print_bg_opt(bg_flags, EXT2_BG_INODE_ZEROED, "ITABLE_ZEROED", in print_bg_opts()
Dtune2fs.c452 gd->bg_flags = EXT2_BG_INODE_ZEROED; in update_feature_set()
462 if ((gd->bg_flags & EXT2_BG_INODE_ZEROED) == 0) { in update_feature_set()
471 gd->bg_flags = 0; in update_feature_set()
Dmke2fs.c387 fs->group_desc[i].bg_flags |= EXT2_BG_INODE_ZEROED; in write_inode_tables()
/external/e2fsprogs/e2fsck/
Dsuper.c640 gd->bg_flags &= ~(EXT2_BG_BLOCK_UNINIT | in check_super_block()
649 (gd->bg_flags &(EXT2_BG_BLOCK_UNINIT|EXT2_BG_INODE_UNINIT)|| in check_super_block()
652 gd->bg_flags &= ~(EXT2_BG_BLOCK_UNINIT | in check_super_block()
661 gd->bg_flags & EXT2_BG_BLOCK_UNINIT) { in check_super_block()
663 gd->bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in check_super_block()
669 if (gd->bg_flags & EXT2_BG_BLOCK_UNINIT && in check_super_block()
670 !(gd->bg_flags & EXT2_BG_INODE_UNINIT)) { in check_super_block()
672 gd->bg_flags &= ~EXT2_BG_BLOCK_UNINIT; in check_super_block()
Dpass5.c160 (fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT)) in check_block_bitmaps()
222 fs->group_desc[group].bg_flags &= in check_block_bitmaps()
263 (fs->group_desc[group].bg_flags & in check_block_bitmaps()
385 (fs->group_desc[group].bg_flags & EXT2_BG_INODE_UNINIT)) in check_inode_bitmaps()
418 fs->group_desc[group].bg_flags &= in check_inode_bitmaps()
465 (fs->group_desc[group].bg_flags & in check_inode_bitmaps()
Dpass2.c984 if (fs->group_desc[group].bg_flags & EXT2_BG_INODE_UNINIT) { in check_dir_block()
988 fs->group_desc[group].bg_flags &= in check_dir_block()
/external/e2fsprogs/resize/
Dresize2fs.c115 rfs->new_fs->group_desc[rfs->new_fs->group_desc_count-1].bg_flags &= in resize_fs()
202 if (!(fs->group_desc[g].bg_flags & EXT2_BG_BLOCK_UNINIT)) in fix_uninit_block_bitmaps()
498 fs->group_desc[i].bg_flags = 0; in adjust_fs_info()
500 fs->group_desc[i].bg_flags |= EXT2_BG_INODE_UNINIT | in adjust_fs_info()
511 fs->group_desc[i].bg_flags |= in adjust_fs_info()
754 (fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT)) { in mark_fs_metablock()
815 (old_fs->group_desc[g].bg_flags & EXT2_BG_BLOCK_UNINIT)) { in blocks_to_move()
1775 uninit = fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT; in ext2fs_calculate_summary_stats()
1811 uninit = (fs->group_desc[group].bg_flags & in ext2fs_calculate_summary_stats()
1835 uninit = fs->group_desc[group].bg_flags & EXT2_BG_INODE_UNINIT; in ext2fs_calculate_summary_stats()
[all …]
/external/e2fsprogs/debugfs/
Dset_fields.c190 { "flags", &set_gd.bg_flags, 2, parse_uint },
Ddebugfs.c299 if (gdp->bg_flags & mask) { in print_bg_opts()