Lines Matching refs:ref_blocks
2384 int ret = 0, index, ref_blocks = 0, recs_add = 0; in ocfs2_calc_refcount_meta_credits() local
2412 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2474 ref_blocks++; in ocfs2_calc_refcount_meta_credits()
2479 if (!ref_blocks) in ocfs2_calc_refcount_meta_credits()
2482 *meta_add += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2483 *credits += ref_blocks; in ocfs2_calc_refcount_meta_credits()
2532 int *ref_blocks) in ocfs2_prepare_refcount_change_for_del() argument
2565 ref_blocks, credits); in ocfs2_prepare_refcount_change_for_del()
2571 trace_ocfs2_prepare_refcount_change_for_del(*ref_blocks, *credits); in ocfs2_prepare_refcount_change_for_del()
3549 int ret = 0, index, ref_blocks = 0; in ocfs2_refcounted_xattr_delete_need() local
3590 ref_blocks++; in ocfs2_refcounted_xattr_delete_need()
3604 *meta_add += ref_blocks; in ocfs2_refcounted_xattr_delete_need()
3605 if (!ref_blocks) in ocfs2_refcounted_xattr_delete_need()
3699 int credits = 1, ref_blocks = 0; in ocfs2_add_refcount_flag() local
3704 ref_blocks = ocfs2_extend_meta_needed(data_et->et_root_el); in ocfs2_add_refcount_flag()
3709 &ref_blocks, &credits); in ocfs2_add_refcount_flag()
3715 trace_ocfs2_add_refcount_flag(ref_blocks, credits); in ocfs2_add_refcount_flag()
3717 if (ref_blocks) { in ocfs2_add_refcount_flag()
3719 ref_blocks, &meta_ac); in ocfs2_add_refcount_flag()