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()
3541 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3582 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3596 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3597 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3691 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3696 ref_blocks = ocfs2_extend_meta_needed(data_et->et_root_el); in ocfs2_add_refcount_flag()
3701 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3707 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3709 if (ref_blocks) { in ocfs2_add_refcount_flag()
3711 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()