Lines Matching refs:ref_leaf_bh

877 					  struct buffer_head *ref_leaf_bh,  in ocfs2_find_refcount_rec_in_rl()  argument
884 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_find_refcount_rec_in_rl()
1070 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1128 &ref_leaf_bh); in ocfs2_get_refcount_rec()
1134 ocfs2_find_refcount_rec_in_rl(ci, ref_leaf_bh, cpos, len, in ocfs2_get_refcount_rec()
1136 *ret_bh = ref_leaf_bh; in ocfs2_get_refcount_rec()
1237 struct buffer_head *ref_leaf_bh, in ocfs2_change_refcount_rec() argument
1242 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_change_refcount_rec()
1246 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_change_refcount_rec()
1271 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_change_refcount_rec()
1279 struct buffer_head **ref_leaf_bh, in ocfs2_expand_inline_ref_root() argument
1354 *ref_leaf_bh = new_bh; in ocfs2_expand_inline_ref_root()
1448 static int ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh, in ocfs2_divide_leaf_refcount_block() argument
1455 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_divide_leaf_refcount_block()
1462 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_divide_leaf_refcount_block()
1517 struct buffer_head *ref_leaf_bh, in ocfs2_new_leaf_refcount_block() argument
1540 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_new_leaf_refcount_block()
1585 ret = ocfs2_divide_leaf_refcount_block(ref_leaf_bh, new_bh, &new_cpos); in ocfs2_new_leaf_refcount_block()
1591 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_new_leaf_refcount_block()
1613 struct buffer_head *ref_leaf_bh, in ocfs2_expand_refcount_tree() argument
1619 if (ref_root_bh == ref_leaf_bh) { in ocfs2_expand_refcount_tree()
1631 expand_bh = ref_leaf_bh; in ocfs2_expand_refcount_tree()
1655 struct buffer_head *ref_leaf_bh, in ocfs2_adjust_refcount_rec() argument
1669 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_adjust_refcount_rec()
1700 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_adjust_refcount_rec()
1729 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_adjust_refcount_rec()
1739 struct buffer_head *ref_leaf_bh, in ocfs2_insert_refcount_rec() argument
1746 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1757 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1771 ref_leaf_bh = new_bh; in ocfs2_insert_refcount_rec()
1772 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1776 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_insert_refcount_rec()
1790 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_insert_refcount_rec()
1801 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_insert_refcount_rec()
1806 ref_leaf_bh, rec); in ocfs2_insert_refcount_rec()
1827 struct buffer_head *ref_leaf_bh, in ocfs2_split_refcount_rec() argument
1836 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1883 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1901 ref_leaf_bh = new_bh; in ocfs2_split_refcount_rec()
1902 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1907 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_split_refcount_rec()
1964 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_split_refcount_rec()
1973 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_split_refcount_rec()
1988 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_increase_refcount() local
1999 &ref_leaf_bh); in __ocfs2_increase_refcount()
2023 ref_leaf_bh, index, in __ocfs2_increase_refcount()
2036 ref_leaf_bh, in __ocfs2_increase_refcount()
2054 ref_root_bh, ref_leaf_bh, in __ocfs2_increase_refcount()
2065 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2066 ref_leaf_bh = NULL; in __ocfs2_increase_refcount()
2070 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2077 struct buffer_head *ref_leaf_bh, in ocfs2_remove_refcount_extent() argument
2084 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_remove_refcount_extent()
2091 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_remove_refcount_extent()
2102 ocfs2_remove_from_cache(ci, ref_leaf_bh); in ocfs2_remove_refcount_extent()
2169 struct buffer_head *ref_leaf_bh, in ocfs2_decrease_refcount_rec() argument
2176 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_decrease_refcount_rec()
2190 ref_leaf_bh, index, 1, -1); in ocfs2_decrease_refcount_rec()
2199 ref_root_bh, ref_leaf_bh, in ocfs2_decrease_refcount_rec()
2210 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) { in ocfs2_decrease_refcount_rec()
2212 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2234 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_decrease_refcount() local
2243 &ref_leaf_bh); in __ocfs2_decrease_refcount()
2258 ref_leaf_bh, index, in __ocfs2_decrease_refcount()
2278 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2279 ref_leaf_bh = NULL; in __ocfs2_decrease_refcount()
2283 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2382 struct buffer_head *ref_leaf_bh = NULL, *prev_bh = NULL; in ocfs2_calc_refcount_meta_credits() local
2388 &index, &ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2394 if (ref_leaf_bh != prev_bh) { in ocfs2_calc_refcount_meta_credits()
2412 prev_bh = ref_leaf_bh; in ocfs2_calc_refcount_meta_credits()
2457 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2458 ref_leaf_bh = NULL; in ocfs2_calc_refcount_meta_credits()
2504 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
3214 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_make_clusters_writable() local
3248 &rec, &index, &ref_leaf_bh); in ocfs2_make_clusters_writable()
3313 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3314 ref_leaf_bh = NULL; in ocfs2_make_clusters_writable()
3350 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3548 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need() local
3565 &ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3573 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_refcounted_xattr_delete_need()
3587 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3588 ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need()
3614 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()