Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 5 of 5) sorted by relevance

/system/extras/ext4_utils/
Dallocate.c156 reg->bg = bg_num; in append_region()
162 static void allocate_bg_inode_table(struct block_group_info *bg) in allocate_bg_inode_table() argument
164 if (bg->inode_table != NULL) in allocate_bg_inode_table()
167 u32 block = bg->first_block + 2; in allocate_bg_inode_table()
169 if (bg->has_superblock) in allocate_bg_inode_table()
172 bg->inode_table = calloc(aux_info.inode_table_blocks, info.block_size); in allocate_bg_inode_table()
173 if (bg->inode_table == NULL) in allocate_bg_inode_table()
176 sparse_file_add_data(ext4_sparse_file, bg->inode_table, in allocate_bg_inode_table()
179 bg->flags &= ~EXT4_BG_INODE_UNINIT; in allocate_bg_inode_table()
200 static int reserve_blocks(struct block_group_info *bg, u32 bg_num, u32 start, u32 num) in reserve_blocks() argument
[all …]
Dallocate.h27 int bg; member
78 u32 get_free_blocks(u32 bg);
79 u32 get_free_inodes(u32 bg);
80 u32 reserve_inodes(int bg, u32 inodes);
82 u16 get_directories(int bg);
83 u16 get_bg_flags(int bg);
93 u32 block, u32 len, int bg);
99 void reserve_bg_chunk(int bg, u32 start_block, u32 size);
Dext4_utils.c127 int ext4_bg_has_super_block(int bg) in ext4_bg_has_super_block() argument
133 if (bg == 0 || bg == 1) in ext4_bg_has_super_block()
136 if (is_power_of(bg, 3) || is_power_of(bg, 5) || is_power_of(bg, 7)) in ext4_bg_has_super_block()
/system/extras/ext4_utils/include/ext4_utils/
Dext4_utils.h140 int ext4_bg_has_super_block(int bg);
/system/core/rootdir/
Dinit.rc172 # to be used only by init, so don't change system-bg permissions