Lines Matching refs:di_bh
312 struct buffer_head *di_bh,
326 ret = ocfs2_set_inode_size(handle, inode, di_bh,
437 struct buffer_head *di_bh,
444 /* We trust di_bh because it comes from ocfs2_inode_lock(), which
446 fe = (struct ocfs2_dinode *) di_bh->b_data;
486 status = ocfs2_truncate_inline(inode, di_bh, new_i_size,
498 status = ocfs2_orphan_for_truncate(osb, inode, di_bh, new_i_size);
507 status = ocfs2_commit_truncate(osb, inode, di_bh);
519 status = ocfs2_try_remove_refcount_tree(inode, di_bh);
713 struct buffer_head *di_bh,
737 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
756 u64 abs_to, struct buffer_head *di_bh)
764 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
770 handle = ocfs2_zero_start_ordered_transaction(inode, di_bh,
837 ocfs2_journal_dirty(handle, di_bh);
864 struct buffer_head *di_bh,
917 rc = ocfs2_refcount_cow(inode, di_bh, zero_cpos,
938 u64 range_end, struct buffer_head *di_bh)
954 rc = ocfs2_write_zero_page(inode, zero_pos, next_pos, di_bh);
971 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
983 ret = ocfs2_zero_extend_get_range(inode, di_bh, zero_start,
1000 range_end, di_bh);
1011 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
1022 BUG_ON(!di_bh && ocfs2_is_refcount_inode(inode));
1023 BUG_ON(!di_bh && !(oi->ip_flags & OCFS2_INODE_SYSTEM_FILE));
1045 ret = ocfs2_zero_extend(inode, di_bh, zero_to);
1054 struct buffer_head *di_bh,
1060 BUG_ON(!di_bh);
1084 if (ocfs2_size_fits_inline_data(di_bh, new_i_size)) {
1089 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1098 ret = ocfs2_zero_extend(inode, di_bh, new_i_size);
1100 ret = ocfs2_extend_no_holes(inode, di_bh, new_i_size,
1111 ret = ocfs2_simple_size_update(inode, di_bh, new_i_size);
1443 struct buffer_head *di_bh = NULL;
1446 ret = ocfs2_read_inode_block(inode, &di_bh);
1456 if (ocfs2_size_fits_inline_data(di_bh, end))
1459 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1511 brelse(di_bh);
1762 struct buffer_head *di_bh, u64 byte_start,
1775 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
1778 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh);
1790 ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
1814 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start);
1820 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start + byte_len);
1934 struct buffer_head *di_bh = NULL;
1952 ret = ocfs2_inode_lock(inode, &di_bh, 1);
1998 ret = __ocfs2_write_remove_suid(inode, di_bh);
2018 ret = ocfs2_remove_inode_range(inode, di_bh, sr->l_start,
2050 ret = ocfs2_mark_inode_dirty(handle, inode, di_bh);
2060 brelse(di_bh);
2182 struct buffer_head **di_bh,
2190 ret = ocfs2_inode_lock(inode, di_bh, meta_level);
2192 ret = ocfs2_try_inode_lock(inode, di_bh, meta_level);
2216 brelse(*di_bh);
2217 *di_bh = NULL;
2224 struct buffer_head **di_bh,
2233 brelse(*di_bh);
2234 *di_bh = NULL;
2247 struct buffer_head *di_bh = NULL;
2257 &di_bh,
2274 ret = ocfs2_overwrite_io(inode, di_bh, pos, count);
2294 &di_bh,
2311 &di_bh,
2317 &di_bh,
2330 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);
2347 &di_bh,