Lines Matching refs:oi
556 struct ocfs2_inode_info *oi = OCFS2_I(inode);
568 (unsigned long long)oi->ip_blkno);
638 spin_lock(&oi->ip_lock);
639 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL;
640 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features);
642 spin_unlock(&oi->ip_lock);
697 struct ocfs2_inode_info *oi = OCFS2_I(inode);
738 spin_lock(&oi->ip_lock);
739 oi->ip_dyn_features |= OCFS2_HAS_REFCOUNT_FL;
740 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features);
742 spin_unlock(&oi->ip_lock);
759 struct ocfs2_inode_info *oi = OCFS2_I(inode);
834 spin_lock(&oi->ip_lock);
835 oi->ip_dyn_features &= ~OCFS2_HAS_REFCOUNT_FL;
836 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features);
838 spin_unlock(&oi->ip_lock);
927 struct ocfs2_inode_info *oi = OCFS2_I(inode);
930 down_write(&oi->ip_xattr_sem);
931 down_write(&oi->ip_alloc_sem);
933 if (oi->ip_clusters)
936 if ((oi->ip_dyn_features & OCFS2_HAS_XATTR_FL) && di->i_xattr_loc)
939 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL &&
947 up_write(&oi->ip_alloc_sem);
948 up_write(&oi->ip_xattr_sem);
3770 struct ocfs2_inode_info *oi = OCFS2_I(inode);
3799 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL)
3832 if (oi->ip_dyn_features & OCFS2_HAS_XATTR_FL) {