Lines Matching refs:itable_offset
380 int32_t itable_offset = get_itable_entry(fs, ino); in ext2_fetch_inode() local
384 if (itable_offset < 0) { in ext2_fetch_inode()
385 return itable_offset; in ext2_fetch_inode()
388 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_fetch_inode()
821 int32_t itable_offset = get_itable_entry(fs, inode->i_id); in ext2_commit_inode() local
823 if (itable_offset < 0) { in ext2_commit_inode()
824 return itable_offset; in ext2_commit_inode()
828 struct ext2_disk_inode *dino = &BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in ext2_commit_inode()
857 int32_t itable_offset = get_itable_entry(fs, ino); in ext2_clear_inode() local
859 if (itable_offset < 0) { in ext2_clear_inode()
860 return itable_offset; in ext2_clear_inode()
863 memset(&BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset], 0, sizeof(struct ext2_disk_inode)); in ext2_clear_inode()
943 int32_t itable_offset = get_itable_entry(fs, ino); in check_zero_inode() local
945 if (itable_offset < 0) { in check_zero_inode()
946 return itable_offset; in check_zero_inode()
949 uint8_t *bytes = (uint8_t *)&BGROUP_INODE_TABLE(&fs->bgroup)[itable_offset]; in check_zero_inode()