Lines Matching refs:nblocks
88 int nblocks = handle->h_buffer_credits; in start_this_handle() local
92 if (nblocks > journal->j_max_transaction_buffers) { in start_this_handle()
94 current->comm, nblocks, in start_this_handle()
167 needed = transaction->t_outstanding_credits + nblocks; in start_this_handle()
224 transaction->t_outstanding_credits += nblocks; in start_this_handle()
228 handle, nblocks, transaction->t_outstanding_credits, in start_this_handle()
243 static handle_t *new_handle(int nblocks) in new_handle() argument
248 handle->h_buffer_credits = nblocks; in new_handle()
271 handle_t *journal_start(journal_t *journal, int nblocks) in journal_start() argument
285 handle = new_handle(nblocks); in journal_start()
320 int journal_extend(handle_t *handle, int nblocks) in journal_extend() argument
338 "transaction not running\n", handle, nblocks); in journal_extend()
343 wanted = transaction->t_outstanding_credits + nblocks; in journal_extend()
347 "transaction too large\n", handle, nblocks); in journal_extend()
353 "insufficient log space\n", handle, nblocks); in journal_extend()
357 handle->h_buffer_credits += nblocks; in journal_extend()
358 transaction->t_outstanding_credits += nblocks; in journal_extend()
361 jbd_debug(3, "extended handle %p by %d\n", handle, nblocks); in journal_extend()
386 int journal_restart(handle_t *handle, int nblocks) in journal_restart() argument
418 handle->h_buffer_credits = nblocks; in journal_restart()