Home
last modified time | relevance | path

Searched refs:bgroup (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/subsys/fs/ext2/
Dext2_diskops.c240 struct ext2_bgroup *bg = &fs->bgroup; in ext2_fetch_block_group()
370 rc = ext2_fetch_bg_itable(&fs->bgroup, block_index); in get_itable_entry()
388 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_fetch_inode()
792 struct ext2_bgroup *bg = &fs->bgroup; in ext2_commit_bg()
828 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_commit_inode()
833 return ext2_write_block(fs, fs->bgroup.inode_table); in ext2_commit_inode()
863 memset(&BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset], 0, sizeof(struct ext2_disk_inode)); in ext2_clear_inode()
864 ret = ext2_write_block(fs, fs->bgroup.inode_table); in ext2_clear_inode()
879 LOG_DBG("Free blocks: %d", fs->bgroup.bg_free_blocks_count); in ext2_alloc_block()
880 while ((rc >= 0) && (fs->bgroup.bg_free_blocks_count == 0)) { in ext2_alloc_block()
[all …]
Dext2_impl.c197 fs->bgroup.num = -1; in ext2_init_storage()
332 ret = ext2_fetch_bg_ibitmap(&fs->bgroup); in ext2_init_fs()
336 ret = ext2_fetch_bg_bbitmap(&fs->bgroup); in ext2_init_fs()
346 set = ext2_bitmap_count_set(BGROUP_BLOCK_BITMAP(&fs->bgroup), fs_blocks); in ext2_init_fs()
353 set = ext2_bitmap_count_set(BGROUP_INODE_BITMAP(&fs->bgroup), sb->s_inodes_count); in ext2_init_fs()
383 ext2_drop_block(fs->bgroup.inode_table); in ext2_close_fs()
384 ext2_drop_block(fs->bgroup.inode_bitmap); in ext2_close_fs()
385 ext2_drop_block(fs->bgroup.block_bitmap); in ext2_close_fs()
895 fs->bgroup.bg_used_dirs_count += 1; in ext2_create_inode()
Dext2_struct.h231 struct ext2_bgroup bgroup; /* block group */ member