Lines Matching refs:di
396 struct ocfs2_dinode *di; in ocfs2_find_entry_id() local
405 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_id()
406 data = &di->id2.i_data; in ocfs2_find_entry_id()
590 static int ocfs2_read_dx_root(struct inode *dir, struct ocfs2_dinode *di, in ocfs2_read_dx_root() argument
594 u64 blkno = le64_to_cpu(di->i_dx_root); in ocfs2_read_dx_root()
1009 struct ocfs2_dinode *di; in ocfs2_find_entry_dx() local
1019 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_entry_dx()
1021 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_find_entry_dx()
1352 struct ocfs2_dinode *di; in ocfs2_delete_entry_id() local
1361 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_delete_entry_id()
1362 data = &di->id2.i_data; in ocfs2_delete_entry_id()
1589 struct ocfs2_dinode *di = (struct ocfs2_dinode *)parent_fe_bh->b_data; in __ocfs2_add_entry() local
1626 data_start = di->id2.i_data.id_data; in __ocfs2_add_entry()
1740 struct ocfs2_dinode *di; in ocfs2_dir_foreach_blk_id() local
1751 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dir_foreach_blk_id()
1752 data = &di->id2.i_data; in ocfs2_dir_foreach_blk_id()
2078 struct ocfs2_dinode *di; in ocfs2_empty_dir_dx() local
2088 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_empty_dir_dx()
2090 ret = ocfs2_read_dx_root(inode, di, &dx_root_bh); in ocfs2_empty_dir_dx()
2186 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fill_new_dir_id() local
2187 struct ocfs2_inline_data *data = &di->id2.i_data; in ocfs2_fill_new_dir_id()
2291 struct ocfs2_dinode *di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_dx_dir_attach_index() local
2357 di->i_dx_root = cpu_to_le64(dr_blkno); in ocfs2_dx_dir_attach_index()
2361 di->i_dyn_features = cpu_to_le16(OCFS2_I(dir)->ip_dyn_features); in ocfs2_dx_dir_attach_index()
2682 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_new_dx_should_be_inline() local
2684 de_buf = di->id2.i_data.id_data; in ocfs2_new_dx_should_be_inline()
2782 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_expand_inline_dir() local
2907 memcpy(dirdata_bh->b_data, di->id2.i_data.id_data, i_size_read(dir)); in ocfs2_expand_inline_dir()
2959 di->i_dyn_features = cpu_to_le16(oi->ip_dyn_features); in ocfs2_expand_inline_dir()
2962 ocfs2_dinode_new_extent_list(dir, di); in ocfs2_expand_inline_dir()
2967 di->i_size = cpu_to_le64(sb->s_blocksize); in ocfs2_expand_inline_dir()
2968 di->i_ctime = di->i_mtime = cpu_to_le64(dir->i_ctime.tv_sec); in ocfs2_expand_inline_dir()
2969 di->i_ctime_nsec = di->i_mtime_nsec = cpu_to_le32(dir->i_ctime.tv_nsec); in ocfs2_expand_inline_dir()
3342 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_find_dir_space_id() local
3357 de_buf = di->id2.i_data.id_data; in ocfs2_find_dir_space_id()
4141 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_prepare_dx_dir_for_insert() local
4144 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_prepare_dx_dir_for_insert()
4316 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dx_dir_remove_index() local
4359 di->i_dyn_features = cpu_to_le16(OCFS2_I(dir)->ip_dyn_features); in ocfs2_dx_dir_remove_index()
4361 di->i_dx_root = cpu_to_le64(0ULL); in ocfs2_dx_dir_remove_index()
4400 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_dx_dir_truncate() local
4409 ret = ocfs2_read_dx_root(dir, di, &dx_root_bh); in ocfs2_dx_dir_truncate()