Lines Matching refs:ref_leaf_bh

875 					  struct buffer_head *ref_leaf_bh,  in ocfs2_find_refcount_rec_in_rl()  argument
882 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_find_refcount_rec_in_rl()
1068 struct buffer_head *eb_bh = NULL, *ref_leaf_bh = NULL; in ocfs2_get_refcount_rec() local
1126 &ref_leaf_bh); in ocfs2_get_refcount_rec()
1132 ocfs2_find_refcount_rec_in_rl(ci, ref_leaf_bh, cpos, len, in ocfs2_get_refcount_rec()
1134 *ret_bh = ref_leaf_bh; in ocfs2_get_refcount_rec()
1235 struct buffer_head *ref_leaf_bh, in ocfs2_change_refcount_rec() argument
1240 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_change_refcount_rec()
1244 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_change_refcount_rec()
1269 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_change_refcount_rec()
1277 struct buffer_head **ref_leaf_bh, in ocfs2_expand_inline_ref_root() argument
1352 *ref_leaf_bh = new_bh; in ocfs2_expand_inline_ref_root()
1446 static int ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh, in ocfs2_divide_leaf_refcount_block() argument
1453 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_divide_leaf_refcount_block()
1460 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_divide_leaf_refcount_block()
1515 struct buffer_head *ref_leaf_bh, in ocfs2_new_leaf_refcount_block() argument
1538 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_new_leaf_refcount_block()
1583 ret = ocfs2_divide_leaf_refcount_block(ref_leaf_bh, new_bh, &new_cpos); in ocfs2_new_leaf_refcount_block()
1589 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_new_leaf_refcount_block()
1611 struct buffer_head *ref_leaf_bh, in ocfs2_expand_refcount_tree() argument
1617 if (ref_root_bh == ref_leaf_bh) { in ocfs2_expand_refcount_tree()
1629 expand_bh = ref_leaf_bh; in ocfs2_expand_refcount_tree()
1653 struct buffer_head *ref_leaf_bh, in ocfs2_adjust_refcount_rec() argument
1667 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_adjust_refcount_rec()
1698 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_adjust_refcount_rec()
1727 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_adjust_refcount_rec()
1737 struct buffer_head *ref_leaf_bh, in ocfs2_insert_refcount_rec() argument
1744 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1755 ref_leaf_bh, meta_ac); in ocfs2_insert_refcount_rec()
1769 ref_leaf_bh = new_bh; in ocfs2_insert_refcount_rec()
1770 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_insert_refcount_rec()
1774 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_insert_refcount_rec()
1788 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_insert_refcount_rec()
1799 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_insert_refcount_rec()
1804 ref_leaf_bh, rec); in ocfs2_insert_refcount_rec()
1825 struct buffer_head *ref_leaf_bh, in ocfs2_split_refcount_rec() argument
1834 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1881 ref_leaf_bh, meta_ac); in ocfs2_split_refcount_rec()
1899 ref_leaf_bh = new_bh; in ocfs2_split_refcount_rec()
1900 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_split_refcount_rec()
1905 ret = ocfs2_journal_access_rb(handle, ci, ref_leaf_bh, in ocfs2_split_refcount_rec()
1962 (unsigned long long)ref_leaf_bh->b_blocknr, index, in ocfs2_split_refcount_rec()
1971 ocfs2_journal_dirty(handle, ref_leaf_bh); in ocfs2_split_refcount_rec()
1986 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_increase_refcount() local
1997 &ref_leaf_bh); in __ocfs2_increase_refcount()
2021 ref_leaf_bh, index, in __ocfs2_increase_refcount()
2034 ref_leaf_bh, in __ocfs2_increase_refcount()
2052 ref_root_bh, ref_leaf_bh, in __ocfs2_increase_refcount()
2063 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2064 ref_leaf_bh = NULL; in __ocfs2_increase_refcount()
2068 brelse(ref_leaf_bh); in __ocfs2_increase_refcount()
2075 struct buffer_head *ref_leaf_bh, in ocfs2_remove_refcount_extent() argument
2082 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_remove_refcount_extent()
2089 (unsigned long long)ref_leaf_bh->b_blocknr, in ocfs2_remove_refcount_extent()
2100 ocfs2_remove_from_cache(ci, ref_leaf_bh); in ocfs2_remove_refcount_extent()
2167 struct buffer_head *ref_leaf_bh, in ocfs2_decrease_refcount_rec() argument
2174 (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_decrease_refcount_rec()
2188 ref_leaf_bh, index, 1, -1); in ocfs2_decrease_refcount_rec()
2197 ref_root_bh, ref_leaf_bh, in ocfs2_decrease_refcount_rec()
2208 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) { in ocfs2_decrease_refcount_rec()
2210 ref_leaf_bh, meta_ac, in ocfs2_decrease_refcount_rec()
2232 struct buffer_head *ref_leaf_bh = NULL; in __ocfs2_decrease_refcount() local
2241 &ref_leaf_bh); in __ocfs2_decrease_refcount()
2256 ref_leaf_bh, index, in __ocfs2_decrease_refcount()
2276 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2277 ref_leaf_bh = NULL; in __ocfs2_decrease_refcount()
2281 brelse(ref_leaf_bh); in __ocfs2_decrease_refcount()
2380 struct buffer_head *ref_leaf_bh = NULL, *prev_bh = NULL; in ocfs2_calc_refcount_meta_credits() local
2386 &index, &ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2392 if (ref_leaf_bh != prev_bh) { in ocfs2_calc_refcount_meta_credits()
2410 prev_bh = ref_leaf_bh; in ocfs2_calc_refcount_meta_credits()
2455 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
2456 ref_leaf_bh = NULL; in ocfs2_calc_refcount_meta_credits()
2502 brelse(ref_leaf_bh); in ocfs2_calc_refcount_meta_credits()
3184 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_make_clusters_writable() local
3218 &rec, &index, &ref_leaf_bh); in ocfs2_make_clusters_writable()
3283 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3284 ref_leaf_bh = NULL; in ocfs2_make_clusters_writable()
3320 brelse(ref_leaf_bh); in ocfs2_make_clusters_writable()
3518 struct buffer_head *ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need() local
3535 &ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3543 rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data; in ocfs2_refcounted_xattr_delete_need()
3557 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()
3558 ref_leaf_bh = NULL; in ocfs2_refcounted_xattr_delete_need()
3584 brelse(ref_leaf_bh); in ocfs2_refcounted_xattr_delete_need()