Lines Matching refs:ref_blocks
2385 int ret = 0, index, ref_blocks = 0, recs_add = 0; in ocfs2_calc_refcount_meta_credits() local
2413 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2475 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2480 if (!ref_blocks) in ocfs2_calc_refcount_meta_credits()
2483 *meta_add += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2484 *credits += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2533 int *ref_blocks) in ocfs2_prepare_refcount_change_for_del() argument
2567 ref_blocks, credits); in ocfs2_prepare_refcount_change_for_del()
2573 trace_ocfs2_prepare_refcount_change_for_del(*ref_blocks, *credits); in ocfs2_prepare_refcount_change_for_del()
3544 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3585 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3599 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3600 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3695 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3702 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3708 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3710 if (ref_blocks) { in ocfs2_add_refcount_flag()
3712 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()