Lines Matching refs:credits
225 * ocfs2_extend_trans - Extend a handle by nblocks credits. This may
329 * Convenience macros to calculate number of credits needed.
366 int credits = 0;
369 credits += OCFS2_QWRITE_CREDITS;
371 credits += OCFS2_QWRITE_CREDITS;
372 return credits;
487 int credits = 1 + OCFS2_SUBALLOC_ALLOC;
489 credits += ocfs2_clusters_to_blocks(sb, 1);
490 credits += ocfs2_quota_trans_credits(sb);
492 return credits;
495 /* inode update, new refcount block and its allocation credits. */
504 * It doesn't include the credits for sub alloc change.
567 * Allocating a discontiguous block group requires the credits from
568 * ocfs2_calc_group_alloc_credits() as well as enough credits to fill
571 * it with these credits.