Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ext4/
Dext4_jbd2.h265 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()
Dext4_jbd2.c90 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()
Dinode.c2650 int needed_blocks, rsv_blocks = 0, ret = 0; in ext4_writepages() local
2713 rsv_blocks = 1 + ext4_chunk_trans_blocks(inode, in ext4_writepages()
2782 EXT4_HT_WRITE_PAGE, needed_blocks, rsv_blocks); in ext4_writepages()
/Linux-v5.15/fs/jbd2/
Dtransaction.c233 int rsv_blocks) in add_transaction_credits() argument
238 int total = blocks + rsv_blocks; in add_transaction_credits()
310 if (!rsv_blocks) in add_transaction_credits()
313 needed = atomic_add_return(rsv_blocks, &journal->j_reserved_credits); in add_transaction_credits()
316 sub_reserved_credits(journal, rsv_blocks); in add_transaction_credits()
321 atomic_read(&journal->j_reserved_credits) + rsv_blocks in add_transaction_credits()
341 int rsv_blocks = 0; in start_this_handle() local
345 rsv_blocks = handle->h_rsv_handle->h_total_credits; in start_this_handle()
352 if ((rsv_blocks > journal->j_max_transaction_buffers / 2) || in start_this_handle()
353 (rsv_blocks + blocks > journal->j_max_transaction_buffers)) { in start_this_handle()
[all …]
/Linux-v5.15/include/trace/events/
Dext4.h1742 TP_PROTO(struct super_block *sb, int blocks, int rsv_blocks,
1745 TP_ARGS(sb, blocks, rsv_blocks, revoke_creds, IP),
1751 __field( int, rsv_blocks )
1759 __entry->rsv_blocks = rsv_blocks;
1765 __entry->blocks, __entry->rsv_blocks, __entry->revoke_creds,
/Linux-v5.15/include/linux/
Djbd2.h1520 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,