Lines Matching refs:di
398 struct ocfs2_dinode *di; in ocfs2_get_refcount_block() local
408 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_get_refcount_block()
409 *ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_get_refcount_block()
555 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_create_refcount_tree() local
640 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_create_refcount_tree()
641 di->i_refcount_loc = cpu_to_le64(first_blkno); in ocfs2_create_refcount_tree()
696 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_set_refcount_tree() local
740 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_set_refcount_tree()
741 di->i_refcount_loc = cpu_to_le64(refcount_loc); in ocfs2_set_refcount_tree()
758 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_remove_refcount_tree() local
767 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree()
836 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_remove_refcount_tree()
837 di->i_refcount_loc = 0; in ocfs2_remove_refcount_tree()
928 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_try_remove_refcount_tree() local
936 if ((oi->ip_dyn_features & OCFS2_HAS_XATTR_FL) && di->i_xattr_loc) in ocfs2_try_remove_refcount_tree()
940 ocfs2_has_inline_xattr_value_outside(inode, di)) in ocfs2_try_remove_refcount_tree()
3414 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_refcount_cow_hunk() local
3421 ret = ocfs2_refcount_cal_cow_clusters(inode, &di->id2.i_list, in ocfs2_refcount_cow_hunk()
3442 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_refcount_cow_hunk()
3620 struct ocfs2_dinode *di, in ocfs2_refcount_cow_xattr() argument
3763 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_change_ctime() local
3781 di->i_ctime = cpu_to_le64(inode->i_ctime.tv_sec); in ocfs2_change_ctime()
3782 di->i_ctime_nsec = cpu_to_le32(inode->i_ctime.tv_nsec); in ocfs2_change_ctime()
3798 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_attach_refcount_tree() local
3817 BUG_ON(!di->i_refcount_loc); in ocfs2_attach_refcount_tree()
3819 le64_to_cpu(di->i_refcount_loc), 1, in ocfs2_attach_refcount_tree()
4058 struct ocfs2_dinode *di = (struct ocfs2_dinode *)t_bh->b_data; in ocfs2_complete_reflink() local
4084 di->i_xattr_inline_size = s_di->i_xattr_inline_size; in ocfs2_complete_reflink()
4085 di->i_clusters = s_di->i_clusters; in ocfs2_complete_reflink()
4086 di->i_size = s_di->i_size; in ocfs2_complete_reflink()
4087 di->i_dyn_features = s_di->i_dyn_features; in ocfs2_complete_reflink()
4088 di->i_attr = s_di->i_attr; in ocfs2_complete_reflink()
4094 di->i_uid = s_di->i_uid; in ocfs2_complete_reflink()
4095 di->i_gid = s_di->i_gid; in ocfs2_complete_reflink()
4096 di->i_mode = s_di->i_mode; in ocfs2_complete_reflink()
4105 di->i_ctime = cpu_to_le64(t_inode->i_ctime.tv_sec); in ocfs2_complete_reflink()
4106 di->i_ctime_nsec = cpu_to_le32(t_inode->i_ctime.tv_nsec); in ocfs2_complete_reflink()
4109 di->i_mtime = s_di->i_mtime; in ocfs2_complete_reflink()
4110 di->i_mtime_nsec = s_di->i_mtime_nsec; in ocfs2_complete_reflink()
4130 struct ocfs2_dinode *di = (struct ocfs2_dinode *)s_bh->b_data; in ocfs2_create_reflink_node() local
4136 le64_to_cpu(di->i_refcount_loc)); in ocfs2_create_reflink_node()
4150 ret = ocfs2_lock_refcount_tree(osb, le64_to_cpu(di->i_refcount_loc), in ocfs2_create_reflink_node()