Lines Matching defs:di_bh

314 			     struct buffer_head *di_bh,
328 ret = ocfs2_set_inode_size(handle, inode, di_bh,
439 struct buffer_head *di_bh,
446 /* We trust di_bh because it comes from ocfs2_inode_lock(), which
448 fe = (struct ocfs2_dinode *) di_bh->b_data;
488 status = ocfs2_truncate_inline(inode, di_bh, new_i_size,
500 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size);
509 status = ocfs2_commit_truncate(osb, inode, di_bh);
521 status = ocfs2_try_remove_refcount_tree(inode, di_bh);
712 struct buffer_head *di_bh,
736 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
755 u64 abs_to, struct buffer_head *di_bh)
763 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
769 handle = ocfs2_zero_start_ordered_transaction(inode, di_bh,
831 ocfs2_journal_dirty(handle, di_bh);
858 struct buffer_head *di_bh,
911 rc = ocfs2_refcount_cow(inode, di_bh, zero_cpos,
932 u64 range_end, struct buffer_head *di_bh)
948 rc = ocfs2_write_zero_page(inode, zero_pos, next_pos, di_bh);
965 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
977 ret = ocfs2_zero_extend_get_range(inode, di_bh, zero_start,
994 range_end, di_bh);
1005 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
1016 BUG_ON(!di_bh && ocfs2_is_refcount_inode(inode));
1017 BUG_ON(!di_bh && !(oi->ip_flags & OCFS2_INODE_SYSTEM_FILE));
1039 ret = ocfs2_zero_extend(inode, di_bh, zero_to);
1048 struct buffer_head *di_bh,
1054 BUG_ON(!di_bh);
1078 if (ocfs2_size_fits_inline_data(di_bh, new_i_size)) {
1083 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1092 ret = ocfs2_zero_extend(inode, di_bh, new_i_size);
1094 ret = ocfs2_extend_no_holes(inode, di_bh, new_i_size,
1105 ret = ocfs2_simple_size_update(inode, di_bh, new_i_size);
1439 struct buffer_head *di_bh = NULL;
1442 ret = ocfs2_read_inode_block(inode, &di_bh);
1452 if (ocfs2_size_fits_inline_data(di_bh, end))
1455 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1507 brelse(di_bh);
1758 struct buffer_head *di_bh, u64 byte_start,
1771 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
1774 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh);
1786 ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
1810 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start);
1816 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start + byte_len);
1930 struct buffer_head *di_bh = NULL;
1948 ret = ocfs2_inode_lock(inode, &di_bh, 1);
1994 ret = __ocfs2_write_remove_suid(inode, di_bh);
2014 ret = ocfs2_remove_inode_range(inode, di_bh, sr->l_start,
2046 ret = ocfs2_mark_inode_dirty(handle, inode, di_bh);
2056 brelse(di_bh);
2178 struct buffer_head **di_bh,
2186 ret = ocfs2_inode_lock(inode, di_bh, meta_level);
2188 ret = ocfs2_try_inode_lock(inode, di_bh, meta_level);
2212 brelse(*di_bh);
2213 *di_bh = NULL;
2220 struct buffer_head **di_bh,
2229 brelse(*di_bh);
2230 *di_bh = NULL;
2243 struct buffer_head *di_bh = NULL;
2253 &di_bh,
2270 ret = ocfs2_overwrite_io(inode, di_bh, pos, count);
2290 &di_bh,
2307 &di_bh,
2313 &di_bh,
2326 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);
2343 &di_bh,