Lines Matching refs:blocksize
408 u64 blocksize = root->sectorsize; in compress_file_range() local
454 if (total_compressed <= blocksize && in compress_file_range()
469 num_bytes = ALIGN(end - start + 1, blocksize); in compress_file_range()
470 num_bytes = max(blocksize, num_bytes); in compress_file_range()
571 total_compressed = ALIGN(total_compressed, blocksize); in compress_file_range()
930 u64 blocksize = root->sectorsize; in cow_file_range() local
942 num_bytes = ALIGN(end - start + 1, blocksize); in cow_file_range()
943 num_bytes = max(blocksize, num_bytes); in cow_file_range()
4622 u32 blocksize = root->sectorsize; in btrfs_truncate_page() local
4631 if ((offset & (blocksize - 1)) == 0 && in btrfs_truncate_page()
4632 (!len || ((len & (blocksize - 1)) == 0))) in btrfs_truncate_page()
9234 u32 blocksize = inode->i_sb->s_blocksize; in btrfs_getattr() local
9243 stat->blocks = (ALIGN(inode_get_bytes(inode), blocksize) + in btrfs_getattr()
9244 ALIGN(delalloc_bytes, blocksize)) >> 9; in btrfs_getattr()