Searched refs:btrfs_truncate_block (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/btrfs/
H A Dbtrfs_inode.h459 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len,
H A Dfile.c2657 ret = btrfs_truncate_block(BTRFS_I(inode), offset, len,
2668 ret = btrfs_truncate_block(BTRFS_I(inode), offset, 0, 0);
2704 ret = btrfs_truncate_block(BTRFS_I(inode),
2936 ret = btrfs_truncate_block(BTRFS_I(inode), offset, len,
2968 ret = btrfs_truncate_block(BTRFS_I(inode), offset, 0, 0);
2985 ret = btrfs_truncate_block(BTRFS_I(inode), offset + len,
3106 ret = btrfs_truncate_block(BTRFS_I(inode), inode->i_size, 0, 0);
H A Dinode.c4728 int btrfs_truncate_block(struct btrfs_inode *inode, loff_t from, loff_t len, function
4944 err = btrfs_truncate_block(inode, oldsize, 0, 0);
8484 * We can't call btrfs_truncate_block inside a trans handle as we could
8487 * do btrfs_truncate_block and then update the disk_i_size.
8493 ret = btrfs_truncate_block(inode, inode->vfs_inode.i_size, 0, 0);

Completed in 247 milliseconds