Searched refs:rsv_blocks (Results 1 – 4 of 4) sorted by relevance
/fs/ext4/ |
D | ext4_jbd2.h | 265 int type, int blocks, int rsv_blocks, 313 #define ext4_journal_start_with_reserve(inode, type, blocks, rsv_blocks)\ argument 314 __ext4_journal_start((inode), __LINE__, (type), (blocks), (rsv_blocks),\ 323 int blocks, int rsv_blocks, in __ext4_journal_start() argument 327 rsv_blocks, revoke_creds); in __ext4_journal_start()
|
D | ext4_jbd2.c | 90 int type, int blocks, int rsv_blocks, in __ext4_journal_start_sb() argument 96 trace_ext4_journal_start(sb, blocks, rsv_blocks, revoke_creds, in __ext4_journal_start_sb() 105 return jbd2__journal_start(journal, blocks, rsv_blocks, revoke_creds, in __ext4_journal_start_sb()
|
D | inode.c | 2696 int needed_blocks, rsv_blocks = 0, ret = 0; in ext4_writepages() local 2759 rsv_blocks = 1 + ext4_chunk_trans_blocks(inode, in ext4_writepages() 2828 EXT4_HT_WRITE_PAGE, needed_blocks, rsv_blocks); in ext4_writepages()
|
/fs/jbd2/ |
D | transaction.c | 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() [all …]
|