Home
last modified time | relevance | path

Searched refs:h_buffer_credits (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/fs/jbd2/
Dtransaction.c261 int blocks = handle->h_buffer_credits; in start_this_handle()
277 rsv_blocks = handle->h_rsv_handle->h_buffer_credits; in start_this_handle()
386 handle->h_buffer_credits = nblocks; in new_handle()
474 sub_reserved_credits(journal, handle->h_buffer_credits); in jbd2_journal_free_reserved()
591 handle->h_buffer_credits, in jbd2_journal_extend()
594 handle->h_buffer_credits += nblocks; in jbd2_journal_extend()
644 atomic_sub(handle->h_buffer_credits, in jbd2__journal_restart()
648 handle->h_rsv_handle->h_buffer_credits); in jbd2__journal_restart()
664 handle->h_buffer_credits = nblocks; in jbd2__journal_restart()
1285 if (handle->h_buffer_credits <= 0) { in jbd2_journal_dirty_metadata()
[all …]
/linux-4.1.27/fs/ext4/
Dext4_jbd2.c117 trace_ext4_journal_start_reserved(sb, handle->h_buffer_credits, in __ext4_journal_start_reserved()
276 handle->h_buffer_credits, err); in __ext4_handle_dirty_metadata()
287 handle->h_buffer_credits, err); in __ext4_handle_dirty_metadata()
Dext4_jbd2.h294 if (ext4_handle_valid(handle) && handle->h_buffer_credits < needed) in ext4_handle_has_enough_credits()
Dresize.c1078 handle->h_buffer_credits == 0 && in update_backups()
Dextents.c122 if (handle->h_buffer_credits > needed) in ext4_ext_truncate_extend_restart()
5216 if (handle->h_buffer_credits < 7) { in ext4_access_path()
/linux-4.1.27/fs/jbd/
Dtransaction.c88 int nblocks = handle->h_buffer_credits; in start_this_handle()
248 handle->h_buffer_credits = nblocks; in new_handle()
357 handle->h_buffer_credits += nblocks; in journal_extend()
406 transaction->t_outstanding_credits -= handle->h_buffer_credits; in journal_restart()
418 handle->h_buffer_credits = nblocks; in journal_restart()
1157 J_ASSERT_JH(jh, handle->h_buffer_credits > 0); in journal_dirty_metadata()
1158 handle->h_buffer_credits--; in journal_dirty_metadata()
1341 handle->h_buffer_credits++; in journal_forget()
1438 transaction->t_outstanding_credits -= handle->h_buffer_credits; in journal_stop()
/linux-4.1.27/include/linux/
Djbd.h314 int h_buffer_credits; member
Djbd2.h430 int h_buffer_credits; member
/linux-4.1.27/fs/ext3/
Dresize.c163 if (handle->h_buffer_credits >= thresh) in extend_or_restart_transaction()
719 if (handle->h_buffer_credits == 0 && in update_backups()
Dinode.c156 if (handle->h_buffer_credits > EXT3_RESERVE_TRANS_BLOCKS) in try_to_extend_transaction()
/linux-4.1.27/fs/ocfs2/
Dalloc.c2286 if (handle->h_buffer_credits < credits) in ocfs2_extend_rotate_transaction()
2288 credits - handle->h_buffer_credits); in ocfs2_extend_rotate_transaction()
2365 int ret, start, orig_credits = handle->h_buffer_credits; in ocfs2_rotate_tree_right()
3051 handle->h_buffer_credits, in ocfs2_remove_rightmost_path()
3154 int ret, orig_credits = handle->h_buffer_credits; in ocfs2_rotate_tree_left()
3393 handle->h_buffer_credits, in ocfs2_merge_rec_right()
3555 handle->h_buffer_credits, in ocfs2_merge_rec_left()
5387 handle->h_buffer_credits, in ocfs2_truncate_rec()
Djournal.c436 old_nblocks = handle->h_buffer_credits; in ocfs2_extend_trans()
477 old_nblks = handle->h_buffer_credits; in ocfs2_allocate_extend_trans()