Lines Matching refs:nblocks

429 static handle_t *new_handle(int nblocks)  in new_handle()  argument
434 handle->h_buffer_credits = nblocks; in new_handle()
440 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() argument
456 handle = new_handle(nblocks); in jbd2__journal_start()
483 line_no, nblocks); in jbd2__journal_start()
509 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() argument
511 return jbd2__journal_start(journal, nblocks, 0, GFP_NOFS, 0, 0); in jbd2_journal_start()
599 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend() argument
617 "transaction not running\n", handle, nblocks); in jbd2_journal_extend()
622 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
627 "transaction too large\n", handle, nblocks); in jbd2_journal_extend()
628 atomic_sub(nblocks, &transaction->t_outstanding_credits); in jbd2_journal_extend()
635 "insufficient log space\n", handle, nblocks); in jbd2_journal_extend()
636 atomic_sub(nblocks, &transaction->t_outstanding_credits); in jbd2_journal_extend()
644 nblocks); in jbd2_journal_extend()
646 handle->h_buffer_credits += nblocks; in jbd2_journal_extend()
647 handle->h_requested_credits += nblocks; in jbd2_journal_extend()
650 jbd_debug(3, "extended handle %p by %d\n", handle, nblocks); in jbd2_journal_extend()
675 int jbd2__journal_restart(handle_t *handle, int nblocks, gfp_t gfp_mask) in jbd2__journal_restart() argument
717 handle->h_buffer_credits = nblocks; in jbd2__journal_restart()
730 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart() argument
732 return jbd2__journal_restart(handle, nblocks, GFP_NOFS); in jbd2_journal_restart()