Lines Matching refs:ei
145 struct ext2_inode_info *ei; in ext2_alloc_inode() local
146 ei = (struct ext2_inode_info *)kmem_cache_alloc(ext2_inode_cachep, GFP_KERNEL); in ext2_alloc_inode()
147 if (!ei) in ext2_alloc_inode()
150 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_alloc_inode()
151 ei->i_default_acl = EXT2_ACL_NOT_CACHED; in ext2_alloc_inode()
153 ei->i_block_alloc_info = NULL; in ext2_alloc_inode()
154 ei->vfs_inode.i_version = 1; in ext2_alloc_inode()
155 return &ei->vfs_inode; in ext2_alloc_inode()
165 struct ext2_inode_info *ei = (struct ext2_inode_info *) foo; in init_once() local
167 rwlock_init(&ei->i_meta_lock); in init_once()
169 init_rwsem(&ei->xattr_sem); in init_once()
171 mutex_init(&ei->truncate_mutex); in init_once()
172 inode_init_once(&ei->vfs_inode); in init_once()
196 struct ext2_inode_info *ei = EXT2_I(inode); in ext2_clear_inode() local
198 if (ei->i_acl && ei->i_acl != EXT2_ACL_NOT_CACHED) { in ext2_clear_inode()
199 posix_acl_release(ei->i_acl); in ext2_clear_inode()
200 ei->i_acl = EXT2_ACL_NOT_CACHED; in ext2_clear_inode()
202 if (ei->i_default_acl && ei->i_default_acl != EXT2_ACL_NOT_CACHED) { in ext2_clear_inode()
203 posix_acl_release(ei->i_default_acl); in ext2_clear_inode()
204 ei->i_default_acl = EXT2_ACL_NOT_CACHED; in ext2_clear_inode()