Home
last modified time | relevance | path

Searched refs:rsv_blocks (Results 1 – 4 of 4) sorted by relevance

/fs/ext4/
Dext4_jbd2.h271 int type, int blocks, int rsv_blocks);
311 #define ext4_journal_start_with_reserve(inode, type, blocks, rsv_blocks) \ argument
312 __ext4_journal_start((inode), __LINE__, (type), (blocks), (rsv_blocks))
316 int blocks, int rsv_blocks) in __ext4_journal_start() argument
319 rsv_blocks); in __ext4_journal_start()
Dext4_jbd2.c63 int type, int blocks, int rsv_blocks) in __ext4_journal_start_sb() argument
68 trace_ext4_journal_start(sb, blocks, rsv_blocks, _RET_IP_); in __ext4_journal_start_sb()
76 return jbd2__journal_start(journal, blocks, rsv_blocks, GFP_NOFS, in __ext4_journal_start_sb()
Dinode.c2665 int needed_blocks, rsv_blocks = 0, ret = 0; in ext4_writepages() local
2717 rsv_blocks = 1 + (PAGE_SIZE >> inode->i_blkbits); in ext4_writepages()
2780 EXT4_HT_WRITE_PAGE, needed_blocks, rsv_blocks); in ext4_writepages()
/fs/jbd2/
Dtransaction.c180 int rsv_blocks) in add_transaction_credits() argument
184 int total = blocks + rsv_blocks; in add_transaction_credits()
250 if (!rsv_blocks) in add_transaction_credits()
253 needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); in add_transaction_credits()
256 sub_reserved_credits(journal, rsv_blocks); in add_transaction_credits()
261 atomic_read(&journal->j_reserved_credits) + rsv_blocks in add_transaction_credits()
280 int rsv_blocks = 0; in start_this_handle() local
284 rsv_blocks = handle->h_rsv_handle->h_buffer_credits; in start_this_handle()
291 if ((rsv_blocks > journal->j_max_transaction_buffers / 2) || in start_this_handle()
292 (rsv_blocks + blocks > journal->j_max_transaction_buffers)) { in start_this_handle()
[all …]