Searched refs:ext2_disk_inode (Results 1 – 3 of 3) sorted by relevance
74 static void default_directory_inode(struct ext2_disk_inode *in, uint32_t nblocks, in default_directory_inode()123 uint32_t inodes_per_block = cfg->block_size / sizeof(struct ext2_disk_inode); in ext2_format()124 uint32_t mem_per_inode = cfg->bytes_per_inode + sizeof(struct ext2_disk_inode); in ext2_format()237 sb->s_inode_size = sys_cpu_to_le32(sizeof(struct ext2_disk_inode)); in ext2_format()309 struct ext2_disk_inode *in; in ext2_format()314 in = (struct ext2_disk_inode *)itable_block1->data; in ext2_format()335 in = (struct ext2_disk_inode *)itable_block2->data; in ext2_format()
72 struct ext2_disk_inode { struct141 #define BGROUP_INODE_TABLE(bg) ((struct ext2_disk_inode *)(bg)->inode_table->data)
106 static void fill_inode(struct ext2_inode *inode, struct ext2_disk_inode *dino) in fill_inode()117 static void fill_disk_inode(struct ext2_disk_inode *dino, struct ext2_inode *inode) in fill_disk_inode()388 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_fetch_inode()826 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_commit_inode()861 memset(&BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset], 0, sizeof(struct ext2_disk_inode)); in ext2_clear_inode()949 for (int i = 0; i < sizeof(struct ext2_disk_inode); ++i) { in check_zero_inode()