Home
last modified time | relevance | path

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

/linux-5.19.10/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.c2677 int needed_blocks, rsv_blocks = 0, ret = 0; in ext4_writepages() local
2740 rsv_blocks = 1 + ext4_chunk_trans_blocks(inode, in ext4_writepages()
2809 EXT4_HT_WRITE_PAGE, needed_blocks, rsv_blocks); in ext4_writepages()
/linux-5.19.10/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-5.19.10/include/trace/events/
Dext4.h1748 TP_PROTO(struct super_block *sb, int blocks, int rsv_blocks,
1751 TP_ARGS(sb, blocks, rsv_blocks, revoke_creds, IP),
1757 __field( int, rsv_blocks )
1765 __entry->rsv_blocks = rsv_blocks;
1771 __entry->blocks, __entry->rsv_blocks, __entry->revoke_creds,
/linux-5.19.10/include/linux/
Djbd2.h1512 extern handle_t *jbd2__journal_start(journal_t *, int blocks, int rsv_blocks,