Lines Matching refs:ref_leaf_bh
885 struct buffer_head *ref_leaf_bh, in ocfs2_find_refcount_rec_in_rl() argument
892 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_find_refcount_rec_in_rl()
1078 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1138 &ref_leaf_bh); in ocfs2_get_refcount_rec()
1144 ocfs2_find_refcount_rec_in_rl(ci, ref_leaf_bh, cpos, len, in ocfs2_get_refcount_rec()
1146 *ret_bh = ref_leaf_bh; in ocfs2_get_refcount_rec()
1247 struct buffer_head *ref_leaf_bh, in ocfs2_change_refcount_rec() argument
1252 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_change_refcount_rec()
1256 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_change_refcount_rec()
1281 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_change_refcount_rec()
1289 struct buffer_head **ref_leaf_bh, in ocfs2_expand_inline_ref_root() argument
1364 *ref_leaf_bh = new_bh; in ocfs2_expand_inline_ref_root()
1460 static int ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh, in ocfs2_divide_leaf_refcount_block() argument
1467 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_divide_leaf_refcount_block()
1474 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_divide_leaf_refcount_block()
1529 struct buffer_head *ref_leaf_bh, in ocfs2_new_leaf_refcount_block() argument
1552 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_new_leaf_refcount_block()
1597 ret = ocfs2_divide_leaf_refcount_block(ref_leaf_bh, new_bh, &new_cpos); in ocfs2_new_leaf_refcount_block()
1603 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_new_leaf_refcount_block()
1625 struct buffer_head *ref_leaf_bh, in ocfs2_expand_refcount_tree() argument
1631 if (ref_root_bh == ref_leaf_bh) { in ocfs2_expand_refcount_tree()
1643 expand_bh = ref_leaf_bh; in ocfs2_expand_refcount_tree()
1667 struct buffer_head *ref_leaf_bh, in ocfs2_adjust_refcount_rec() argument
1681 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_adjust_refcount_rec()
1712 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_adjust_refcount_rec()
1741 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_adjust_refcount_rec()
1751 struct buffer_head *ref_leaf_bh, in ocfs2_insert_refcount_rec() argument
1758 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1769 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1783 ref_leaf_bh = new_bh; in ocfs2_insert_refcount_rec()
1784 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1788 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_insert_refcount_rec()
1802 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_insert_refcount_rec()
1813 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_insert_refcount_rec()
1818 ref_leaf_bh, rec); in ocfs2_insert_refcount_rec()
1839 struct buffer_head *ref_leaf_bh, in ocfs2_split_refcount_rec() argument
1848 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1895 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1913 ref_leaf_bh = new_bh; in ocfs2_split_refcount_rec()
1914 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1919 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_split_refcount_rec()
1976 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_split_refcount_rec()
1985 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_split_refcount_rec()
2000 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_increase_refcount() local
2011 &ref_leaf_bh); in __ocfs2_increase_refcount()
2035 ref_leaf_bh, index, in __ocfs2_increase_refcount()
2048 ref_leaf_bh, in __ocfs2_increase_refcount()
2066 ref_root_bh, ref_leaf_bh, in __ocfs2_increase_refcount()
2077 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2078 ref_leaf_bh = NULL; in __ocfs2_increase_refcount()
2082 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2089 struct buffer_head *ref_leaf_bh, in ocfs2_remove_refcount_extent() argument
2096 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_remove_refcount_extent()
2103 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_remove_refcount_extent()
2114 ocfs2_remove_from_cache(ci, ref_leaf_bh); in ocfs2_remove_refcount_extent()
2181 struct buffer_head *ref_leaf_bh, in ocfs2_decrease_refcount_rec() argument
2188 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_decrease_refcount_rec()
2202 ref_leaf_bh, index, 1, -1); in ocfs2_decrease_refcount_rec()
2211 ref_root_bh, ref_leaf_bh, in ocfs2_decrease_refcount_rec()
2222 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) { in ocfs2_decrease_refcount_rec()
2224 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2246 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_decrease_refcount() local
2255 &ref_leaf_bh); in __ocfs2_decrease_refcount()
2270 ref_leaf_bh, index, in __ocfs2_decrease_refcount()
2290 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2291 ref_leaf_bh = NULL; in __ocfs2_decrease_refcount()
2295 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2397 struct buffer_head *ref_leaf_bh = NULL, *prev_bh = NULL; in ocfs2_calc_refcount_meta_credits() local
2403 &index, &ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2409 if (ref_leaf_bh != prev_bh) { in ocfs2_calc_refcount_meta_credits()
2427 prev_bh = ref_leaf_bh; in ocfs2_calc_refcount_meta_credits()
2472 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2473 ref_leaf_bh = NULL; in ocfs2_calc_refcount_meta_credits()
2519 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
3230 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_make_clusters_writable() local
3264 &rec, &index, &ref_leaf_bh); in ocfs2_make_clusters_writable()
3329 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3330 ref_leaf_bh = NULL; in ocfs2_make_clusters_writable()
3366 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3567 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need() local
3584 &ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3592 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_refcounted_xattr_delete_need()
3606 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3607 ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need()
3633 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()