Lines Matching refs:blocksize
401 u64 blocksize = root->sectorsize; in compress_file_range() local
447 if (total_compressed <= blocksize && in compress_file_range()
462 num_bytes = ALIGN(end - start + 1, blocksize); in compress_file_range()
463 num_bytes = max(blocksize, num_bytes); in compress_file_range()
564 total_compressed = ALIGN(total_compressed, blocksize); in compress_file_range()
923 u64 blocksize = root->sectorsize; in cow_file_range() local
935 num_bytes = ALIGN(end - start + 1, blocksize); in cow_file_range()
936 num_bytes = max(blocksize, num_bytes); in cow_file_range()
4584 u32 blocksize = root->sectorsize; in btrfs_truncate_page() local
4593 if ((offset & (blocksize - 1)) == 0 && in btrfs_truncate_page()
4594 (!len || ((len & (blocksize - 1)) == 0))) in btrfs_truncate_page()
9093 u32 blocksize = inode->i_sb->s_blocksize; in btrfs_getattr() local
9102 stat->blocks = (ALIGN(inode_get_bytes(inode), blocksize) + in btrfs_getattr()
9103 ALIGN(delalloc_bytes, blocksize)) >> 9; in btrfs_getattr()