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);
710 struct buffer_head *di_bh,
734 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
753 u64 abs_to, struct buffer_head *di_bh)
761 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
767 handle = ocfs2_zero_start_ordered_transaction(inode, di_bh,
829 ocfs2_journal_dirty(handle, di_bh);
856 struct buffer_head *di_bh,
909 rc = ocfs2_refcount_cow(inode, di_bh, zero_cpos,
930 u64 range_end, struct buffer_head *di_bh)
946 rc = ocfs2_write_zero_page(inode, zero_pos, next_pos, di_bh);
963 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
975 ret = ocfs2_zero_extend_get_range(inode, di_bh, zero_start,
992 range_end, di_bh);
1003 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
1014 BUG_ON(!di_bh && ocfs2_is_refcount_inode(inode));
1015 BUG_ON(!di_bh && !(oi->ip_flags & OCFS2_INODE_SYSTEM_FILE));
1037 ret = ocfs2_zero_extend(inode, di_bh, zero_to);
1046 struct buffer_head *di_bh,
1052 BUG_ON(!di_bh);
1076 if (ocfs2_size_fits_inline_data(di_bh, new_i_size)) {
1081 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1090 ret = ocfs2_zero_extend(inode, di_bh, new_i_size);
1092 ret = ocfs2_extend_no_holes(inode, di_bh, new_i_size,
1103 ret = ocfs2_simple_size_update(inode, di_bh, new_i_size);
1437 struct buffer_head *di_bh = NULL;
1440 ret = ocfs2_read_inode_block(inode, &di_bh);
1450 if (ocfs2_size_fits_inline_data(di_bh, end))
1453 ret = ocfs2_convert_inline_data_to_extents(inode, di_bh);
1505 brelse(di_bh);
1756 struct buffer_head *di_bh, u64 byte_start,
1769 struct ocfs2_dinode *di = (struct ocfs2_dinode *)di_bh->b_data;
1772 ocfs2_init_dinode_extent_tree(&et, INODE_CACHE(inode), di_bh);
1784 ret = ocfs2_truncate_inline(inode, di_bh, byte_start,
1808 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start);
1814 ret = ocfs2_cow_file_pos(inode, di_bh, byte_start + byte_len);
1928 struct buffer_head *di_bh = NULL;
1946 ret = ocfs2_inode_lock(inode, &di_bh, 1);
1992 ret = __ocfs2_write_remove_suid(inode, di_bh);
2012 ret = ocfs2_remove_inode_range(inode, di_bh, sr->l_start,
2044 ret = ocfs2_mark_inode_dirty(handle, inode, di_bh);
2054 brelse(di_bh);
2176 struct buffer_head **di_bh,
2184 ret = ocfs2_inode_lock(inode, di_bh, meta_level);
2186 ret = ocfs2_try_inode_lock(inode, di_bh, meta_level);
2210 brelse(*di_bh);
2211 *di_bh = NULL;
2218 struct buffer_head **di_bh,
2227 brelse(*di_bh);
2228 *di_bh = NULL;
2241 struct buffer_head *di_bh = NULL;
2251 &di_bh,
2268 ret = ocfs2_overwrite_io(inode, di_bh, pos, count);
2288 &di_bh,
2305 &di_bh,
2311 &di_bh,
2324 ret = ocfs2_refcount_cow(inode, di_bh, cpos, clusters, UINT_MAX);
2341 &di_bh,