Searched refs:blocks_for_truncate (Results 1 – 2 of 2) sorted by relevance
110 static unsigned long blocks_for_truncate(struct inode *inode) in blocks_for_truncate() function147 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()
127 static unsigned long blocks_for_truncate(struct inode *inode) in blocks_for_truncate() function164 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()