Lines Matching refs:credits
2800 credits = ocfs2_inline_to_extents_credits(sb); in ocfs2_expand_inline_dir() local
2824 credits += ocfs2_add_dir_index_credits(sb); in ocfs2_expand_inline_dir()
2868 credits += OCFS2_SUBALLOC_ALLOC; in ocfs2_expand_inline_dir()
2870 handle = ocfs2_start_trans(osb, credits); in ocfs2_expand_inline_dir()
3182 int credits, num_free_extents, drop_alloc_sem = 0; in ocfs2_extend_dir() local
3236 credits = OCFS2_SIMPLE_DIR_EXTEND_CREDITS; in ocfs2_extend_dir()
3278 credits = ocfs2_calc_extend_credits(sb, el); in ocfs2_extend_dir()
3281 credits = OCFS2_SIMPLE_DIR_EXTEND_CREDITS; in ocfs2_extend_dir()
3286 credits++; /* For attaching the new dirent block to the in ocfs2_extend_dir()
3289 handle = ocfs2_start_trans(osb, credits); in ocfs2_extend_dir()
3702 int credits = ocfs2_clusters_to_blocks(osb->sb, 3); in ocfs2_dx_dir_rebalance_credits() local
3704 credits += ocfs2_calc_extend_credits(osb->sb, &dx_root->dr_list); in ocfs2_dx_dir_rebalance_credits()
3705 credits += ocfs2_quota_trans_credits(osb->sb); in ocfs2_dx_dir_rebalance_credits()
3706 return credits; in ocfs2_dx_dir_rebalance_credits()
3720 int credits, ret, i, num_used, did_quota = 0; in ocfs2_dx_dir_rebalance() local
3776 credits = ocfs2_dx_dir_rebalance_credits(osb, dx_root); in ocfs2_dx_dir_rebalance()
3777 handle = ocfs2_start_trans(osb, credits); in ocfs2_dx_dir_rebalance()