Home
last modified time | relevance | path

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

/linux-6.1.9/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.c2693 int needed_blocks, rsv_blocks = 0, ret = 0; in ext4_writepages() local
2756 rsv_blocks = 1 + ext4_chunk_trans_blocks(inode, in ext4_writepages()
2825 EXT4_HT_WRITE_PAGE, needed_blocks, rsv_blocks); in ext4_writepages()
/linux-6.1.9/fs/jbd2/
Dtransaction.c228 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 …]
/linux-6.1.9/include/trace/events/
Dext4.h1750 TP_PROTO(struct super_block *sb, int blocks, int rsv_blocks,
1753 TP_ARGS(sb, blocks, rsv_blocks, revoke_creds, IP),
1759 __field( int, rsv_blocks )
1767 __entry->rsv_blocks = rsv_blocks;
1773 __entry->blocks, __entry->rsv_blocks, __entry->revoke_creds,
/linux-6.1.9/include/linux/
Djbd2.h1511 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,