• Home
  • Raw
  • Download

Lines Matching refs:s_inode

3948 static int ocfs2_duplicate_inline_data(struct inode *s_inode,  in ocfs2_duplicate_inline_data()  argument
3955 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); in ocfs2_duplicate_inline_data()
3959 BUG_ON(!(OCFS2_I(s_inode)->ip_dyn_features & OCFS2_INLINE_DATA_FL)); in ocfs2_duplicate_inline_data()
3991 static int ocfs2_duplicate_extent_list(struct inode *s_inode, in ocfs2_duplicate_extent_list() argument
4006 size = i_size_read(s_inode); in ocfs2_duplicate_extent_list()
4007 clusters = ocfs2_clusters_for_bytes(s_inode->i_sb, size); in ocfs2_duplicate_extent_list()
4011 ret = ocfs2_get_clusters(s_inode, cpos, &p_cluster, in ocfs2_duplicate_extent_list()
4043 static int ocfs2_complete_reflink(struct inode *s_inode, in ocfs2_complete_reflink() argument
4053 loff_t size = i_size_read(s_inode); in ocfs2_complete_reflink()
4071 OCFS2_I(t_inode)->ip_clusters = OCFS2_I(s_inode)->ip_clusters; in ocfs2_complete_reflink()
4072 OCFS2_I(t_inode)->ip_attr = OCFS2_I(s_inode)->ip_attr; in ocfs2_complete_reflink()
4073 OCFS2_I(t_inode)->ip_dyn_features = OCFS2_I(s_inode)->ip_dyn_features; in ocfs2_complete_reflink()
4076 t_inode->i_blocks = s_inode->i_blocks; in ocfs2_complete_reflink()
4085 t_inode->i_uid = s_inode->i_uid; in ocfs2_complete_reflink()
4086 t_inode->i_gid = s_inode->i_gid; in ocfs2_complete_reflink()
4087 t_inode->i_mode = s_inode->i_mode; in ocfs2_complete_reflink()
4102 t_inode->i_mtime = s_inode->i_mtime; in ocfs2_complete_reflink()
4114 static int ocfs2_create_reflink_node(struct inode *s_inode, in ocfs2_create_reflink_node() argument
4123 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); in ocfs2_create_reflink_node()
4137 if (OCFS2_I(s_inode)->ip_dyn_features & OCFS2_INLINE_DATA_FL) { in ocfs2_create_reflink_node()
4138 ret = ocfs2_duplicate_inline_data(s_inode, s_bh, in ocfs2_create_reflink_node()
4153 ret = ocfs2_duplicate_extent_list(s_inode, t_inode, t_bh, in ocfs2_create_reflink_node()