Lines Matching refs:nblocks

457 static handle_t *new_handle(int nblocks)  in new_handle()  argument
462 handle->h_total_credits = nblocks; in new_handle()
468 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, in jbd2__journal_start() argument
484 nblocks += DIV_ROUND_UP(revoke_records, in jbd2__journal_start()
486 handle = new_handle(nblocks); in jbd2__journal_start()
514 line_no, nblocks); in jbd2__journal_start()
540 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) in jbd2_journal_start() argument
542 return jbd2__journal_start(journal, nblocks, 0, 0, GFP_NOFS, 0, 0); in jbd2_journal_start()
643 int jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records) in jbd2_journal_extend() argument
661 "transaction not running\n", handle, nblocks); in jbd2_journal_extend()
665 nblocks += DIV_ROUND_UP( in jbd2_journal_extend()
672 wanted = atomic_add_return(nblocks, in jbd2_journal_extend()
677 "transaction too large\n", handle, nblocks); in jbd2_journal_extend()
678 atomic_sub(nblocks, &transaction->t_outstanding_credits); in jbd2_journal_extend()
686 nblocks); in jbd2_journal_extend()
688 handle->h_total_credits += nblocks; in jbd2_journal_extend()
689 handle->h_requested_credits += nblocks; in jbd2_journal_extend()
694 jbd_debug(3, "extended handle %p by %d\n", handle, nblocks); in jbd2_journal_extend()
764 int jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records, in jbd2__journal_restart() argument
797 handle->h_total_credits = nblocks + in jbd2__journal_restart()
811 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart() argument
813 return jbd2__journal_restart(handle, nblocks, 0, GFP_NOFS); in jbd2_journal_restart()