Home
last modified time | relevance | path

Searched refs:blocks_for_truncate (Results 1 – 2 of 2) sorted by relevance

/fs/ext3/
Dinode.c110 static unsigned long blocks_for_truncate(struct inode *inode) in blocks_for_truncate() function
147 result = ext3_journal_start(inode, blocks_for_truncate(inode)); in start_transaction()
165 if (!ext3_journal_extend(handle, blocks_for_truncate(inode))) in try_to_extend_transaction()
178 return ext3_journal_restart(handle, blocks_for_truncate(inode)); in ext3_journal_test_restart()
/fs/ext4/
Dinode.c127 static unsigned long blocks_for_truncate(struct inode *inode) in blocks_for_truncate() function
164 result = ext4_journal_start(inode, blocks_for_truncate(inode)); in start_transaction()
184 if (!ext4_journal_extend(handle, blocks_for_truncate(inode))) in try_to_extend_transaction()
198 return ext4_journal_restart(handle, blocks_for_truncate(inode)); in ext4_journal_test_restart()
216 handle = ext4_journal_start(inode, blocks_for_truncate(inode)+3); in ext4_delete_inode()