• Home
  • Raw
  • Download

Lines Matching refs:oi

978 	struct ocfs2_inode_info *oi = OCFS2_I(inode);  in ocfs2_xattr_ibody_list()  local
981 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_list()
1033 struct ocfs2_inode_info *oi = OCFS2_I(d_inode(dentry)); in ocfs2_listxattr() local
1038 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_listxattr()
1049 down_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1063 up_read(&oi->ip_xattr_sem); in ocfs2_listxattr()
1160 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_get() local
1166 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) in ocfs2_xattr_ibody_get()
1289 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_get_nolock() local
1300 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_xattr_get_nolock()
2562 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_remove() local
2573 if (!(oi->ip_dyn_features & OCFS2_HAS_XATTR_FL)) in ocfs2_xattr_remove()
2588 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL) { in ocfs2_xattr_remove()
2623 spin_lock(&oi->ip_lock); in ocfs2_xattr_remove()
2624 oi->ip_dyn_features &= ~(OCFS2_INLINE_XATTR_FL | OCFS2_HAS_XATTR_FL); in ocfs2_xattr_remove()
2625 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_xattr_remove()
2626 spin_unlock(&oi->ip_lock); in ocfs2_xattr_remove()
2642 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_has_space_inline() local
2649 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL) { in ocfs2_xattr_has_space_inline()
2678 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_find() local
2686 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) { in ocfs2_xattr_ibody_find()
2687 down_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2689 up_read(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_find()
2696 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL) in ocfs2_xattr_ibody_find()
2706 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL) { in ocfs2_xattr_ibody_find()
2721 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_init() local
2742 if (oi->ip_dyn_features & OCFS2_INLINE_DATA_FL) { in ocfs2_xattr_ibody_init()
2752 spin_lock(&oi->ip_lock); in ocfs2_xattr_ibody_init()
2753 oi->ip_dyn_features |= OCFS2_INLINE_XATTR_FL|OCFS2_HAS_XATTR_FL; in ocfs2_xattr_ibody_init()
2754 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_xattr_ibody_init()
2755 spin_unlock(&oi->ip_lock); in ocfs2_xattr_ibody_init()
2775 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_ibody_set() local
2781 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
2782 if (!(oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL)) { in ocfs2_xattr_ibody_set()
2802 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_ibody_set()
4280 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_create_index_block() local
4298 down_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
4361 up_write(&oi->ip_alloc_sem); in ocfs2_xattr_create_index_block()
6145 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_xattr_attach_refcount_tree() local
6149 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL) { in ocfs2_xattr_attach_refcount_tree()
7138 struct ocfs2_inode_info *oi = OCFS2_I(old_inode); in ocfs2_reflink_xattrs() local
7167 if (oi->ip_dyn_features & OCFS2_INLINE_XATTR_FL) { in ocfs2_reflink_xattrs()