Lines Matching refs:ref_blocks
2376 int ret = 0, index, ref_blocks = 0, recs_add = 0; in ocfs2_calc_refcount_meta_credits() local
2404 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2466 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2471 if (!ref_blocks) in ocfs2_calc_refcount_meta_credits()
2474 *meta_add += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2475 *credits += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2524 int *ref_blocks) in ocfs2_prepare_refcount_change_for_del() argument
2557 ref_blocks, credits); in ocfs2_prepare_refcount_change_for_del()
2563 trace_ocfs2_prepare_refcount_change_for_del(*ref_blocks, *credits); in ocfs2_prepare_refcount_change_for_del()
3513 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3554 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3568 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3569 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3663 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3668 ref_blocks = ocfs2_extend_meta_needed(data_et->et_root_el); in ocfs2_add_refcount_flag()
3673 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3679 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3681 if (ref_blocks) { in ocfs2_add_refcount_flag()
3683 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()