Lines Matching refs:ref_blocks
2378 int ret = 0, index, ref_blocks = 0, recs_add = 0; in ocfs2_calc_refcount_meta_credits() local
2406 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2468 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2473 if (!ref_blocks) in ocfs2_calc_refcount_meta_credits()
2476 *meta_add += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2477 *credits += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2526 int *ref_blocks) in ocfs2_prepare_refcount_change_for_del() argument
2559 ref_blocks, credits); in ocfs2_prepare_refcount_change_for_del()
2565 trace_ocfs2_prepare_refcount_change_for_del(*ref_blocks, *credits); in ocfs2_prepare_refcount_change_for_del()
3543 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3584 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3598 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3599 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3693 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3698 ref_blocks = ocfs2_extend_meta_needed(data_et->et_root_el); in ocfs2_add_refcount_flag()
3703 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3709 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3711 if (ref_blocks) { in ocfs2_add_refcount_flag()
3713 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()