Lines Matching refs:old_bh
3010 struct buffer_head *old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd() local
3026 ret = ocfs2_read_block(ci, old_block, &old_bh, NULL); in ocfs2_duplicate_clusters_by_jbd()
3039 memcpy(new_bh->b_data, old_bh->b_data, sb->s_blocksize); in ocfs2_duplicate_clusters_by_jbd()
3043 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
3045 old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd()
3049 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
4178 struct buffer_head *old_bh, in __ocfs2_reflink() argument
4198 ret = ocfs2_attach_refcount_tree(inode, old_bh); in __ocfs2_reflink()
4212 ret = ocfs2_create_reflink_node(inode, old_bh, in __ocfs2_reflink()
4220 ret = ocfs2_reflink_xattrs(inode, old_bh, in __ocfs2_reflink()
4229 ret = ocfs2_complete_reflink(inode, old_bh, in __ocfs2_reflink()
4253 struct buffer_head *old_bh = NULL; in ocfs2_reflink() local
4274 error = ocfs2_inode_lock(inode, &old_bh, 1); in ocfs2_reflink()
4283 error = __ocfs2_reflink(old_dentry, old_bh, in ocfs2_reflink()
4290 brelse(old_bh); in ocfs2_reflink()