Lines Matching refs:ref_leaf_bh
876 struct buffer_head *ref_leaf_bh, in ocfs2_find_refcount_rec_in_rl() argument
883 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_find_refcount_rec_in_rl()
1069 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1127 &ref_leaf_bh); in ocfs2_get_refcount_rec()
1133 ocfs2_find_refcount_rec_in_rl(ci, ref_leaf_bh, cpos, len, in ocfs2_get_refcount_rec()
1135 *ret_bh = ref_leaf_bh; in ocfs2_get_refcount_rec()
1236 struct buffer_head *ref_leaf_bh, in ocfs2_change_refcount_rec() argument
1241 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_change_refcount_rec()
1245 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_change_refcount_rec()
1270 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_change_refcount_rec()
1278 struct buffer_head **ref_leaf_bh, in ocfs2_expand_inline_ref_root() argument
1353 *ref_leaf_bh = new_bh; in ocfs2_expand_inline_ref_root()
1440 static int ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh, in ocfs2_divide_leaf_refcount_block() argument
1447 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_divide_leaf_refcount_block()
1454 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_divide_leaf_refcount_block()
1509 struct buffer_head *ref_leaf_bh, in ocfs2_new_leaf_refcount_block() argument
1532 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_new_leaf_refcount_block()
1577 ret = ocfs2_divide_leaf_refcount_block(ref_leaf_bh, new_bh, &new_cpos); in ocfs2_new_leaf_refcount_block()
1583 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_new_leaf_refcount_block()
1605 struct buffer_head *ref_leaf_bh, in ocfs2_expand_refcount_tree() argument
1611 if (ref_root_bh == ref_leaf_bh) { in ocfs2_expand_refcount_tree()
1623 expand_bh = ref_leaf_bh; in ocfs2_expand_refcount_tree()
1647 struct buffer_head *ref_leaf_bh, in ocfs2_adjust_refcount_rec() argument
1661 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_adjust_refcount_rec()
1692 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_adjust_refcount_rec()
1721 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_adjust_refcount_rec()
1731 struct buffer_head *ref_leaf_bh, in ocfs2_insert_refcount_rec() argument
1738 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1749 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1763 ref_leaf_bh = new_bh; in ocfs2_insert_refcount_rec()
1764 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1768 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_insert_refcount_rec()
1782 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_insert_refcount_rec()
1793 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_insert_refcount_rec()
1798 ref_leaf_bh, rec); in ocfs2_insert_refcount_rec()
1819 struct buffer_head *ref_leaf_bh, in ocfs2_split_refcount_rec() argument
1828 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1875 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1893 ref_leaf_bh = new_bh; in ocfs2_split_refcount_rec()
1894 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1899 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_split_refcount_rec()
1956 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_split_refcount_rec()
1965 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_split_refcount_rec()
1980 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_increase_refcount() local
1991 &ref_leaf_bh); in __ocfs2_increase_refcount()
2015 ref_leaf_bh, index, in __ocfs2_increase_refcount()
2028 ref_leaf_bh, in __ocfs2_increase_refcount()
2046 ref_root_bh, ref_leaf_bh, in __ocfs2_increase_refcount()
2057 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2058 ref_leaf_bh = NULL; in __ocfs2_increase_refcount()
2062 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2069 struct buffer_head *ref_leaf_bh, in ocfs2_remove_refcount_extent() argument
2076 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_remove_refcount_extent()
2083 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_remove_refcount_extent()
2094 ocfs2_remove_from_cache(ci, ref_leaf_bh); in ocfs2_remove_refcount_extent()
2161 struct buffer_head *ref_leaf_bh, in ocfs2_decrease_refcount_rec() argument
2168 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_decrease_refcount_rec()
2182 ref_leaf_bh, index, 1, -1); in ocfs2_decrease_refcount_rec()
2191 ref_root_bh, ref_leaf_bh, in ocfs2_decrease_refcount_rec()
2202 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) { in ocfs2_decrease_refcount_rec()
2204 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2226 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_decrease_refcount() local
2235 &ref_leaf_bh); in __ocfs2_decrease_refcount()
2250 ref_leaf_bh, index, in __ocfs2_decrease_refcount()
2270 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2271 ref_leaf_bh = NULL; in __ocfs2_decrease_refcount()
2275 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2374 struct buffer_head *ref_leaf_bh = NULL, *prev_bh = NULL; in ocfs2_calc_refcount_meta_credits() local
2380 &index, &ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2386 if (ref_leaf_bh != prev_bh) { in ocfs2_calc_refcount_meta_credits()
2404 prev_bh = ref_leaf_bh; in ocfs2_calc_refcount_meta_credits()
2449 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2450 ref_leaf_bh = NULL; in ocfs2_calc_refcount_meta_credits()
2496 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
3179 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_make_clusters_writable() local
3213 &rec, &index, &ref_leaf_bh); in ocfs2_make_clusters_writable()
3278 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3279 ref_leaf_bh = NULL; in ocfs2_make_clusters_writable()
3315 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3513 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need() local
3530 &ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3538 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_refcounted_xattr_delete_need()
3552 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3553 ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need()
3579 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()