Lines Matching refs:ref_blocks
2393 int ret = 0, index, ref_blocks = 0, recs_add = 0; in ocfs2_calc_refcount_meta_credits() local
2421 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2483 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2488 if (!ref_blocks) in ocfs2_calc_refcount_meta_credits()
2491 *meta_add += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2492 *credits += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2541 int *ref_blocks) in ocfs2_prepare_refcount_change_for_del() argument
2577 ref_blocks, credits); in ocfs2_prepare_refcount_change_for_del()
2583 trace_ocfs2_prepare_refcount_change_for_del(*ref_blocks, *credits); in ocfs2_prepare_refcount_change_for_del()
3562 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3603 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3617 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3618 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3713 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3720 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3726 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3728 if (ref_blocks) { in ocfs2_add_refcount_flag()
3730 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()