Lines Matching refs:rsv_blocks
228 int rsv_blocks) in add_transaction_credits() argument
233 int total = blocks + rsv_blocks; in add_transaction_credits()
305 if (!rsv_blocks) in add_transaction_credits()
308 needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); in add_transaction_credits()
311 sub_reserved_credits(journal, rsv_blocks); in add_transaction_credits()
316 atomic_read(&journal->j_reserved_credits) + rsv_blocks in add_transaction_credits()
336 int rsv_blocks = 0; in start_this_handle() local
340 rsv_blocks = handle->h_rsv_handle->h_total_credits; in start_this_handle()
347 if ((rsv_blocks > journal->j_max_transaction_buffers / 2) || in start_this_handle()
348 (rsv_blocks + blocks > journal->j_max_transaction_buffers)) { in start_this_handle()
351 current->comm, blocks, rsv_blocks, in start_this_handle()
422 if (add_transaction_credits(journal, blocks, rsv_blocks)) { in start_this_handle()
485 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() argument
506 if (rsv_blocks) { in jbd2__journal_start()
509 rsv_handle = new_handle(rsv_blocks); in jbd2__journal_start()