Lines Matching refs:credits
224 * ocfs2_extend_trans - Extend a handle by nblocks credits. This may
328 * Convenience macros to calculate number of credits needed.
365 int credits = 0;
368 credits += OCFS2_QWRITE_CREDITS;
370 credits += OCFS2_QWRITE_CREDITS;
371 return credits;
486 int credits = 1 + OCFS2_SUBALLOC_ALLOC;
488 credits += ocfs2_clusters_to_blocks(sb, 1);
489 credits += ocfs2_quota_trans_credits(sb);
491 return credits;
494 /* inode update, new refcount block and its allocation credits. */
503 * It doesn't include the credits for sub alloc change.
566 * Allocating a discontiguous block group requires the credits from
567 * ocfs2_calc_group_alloc_credits() as well as enough credits to fill
570 * it with these credits.