Lines Matching refs:sectorsize
249 u64 aligned_end = ALIGN(end, root->sectorsize); in cow_file_range_inline()
263 (actual_end & (root->sectorsize - 1)) == 0) || in cow_file_range_inline()
401 u64 blocksize = root->sectorsize; in compress_file_range()
923 u64 blocksize = root->sectorsize; in cow_file_range()
975 root->sectorsize, 0, alloc_hint, in cow_file_range()
1369 extent_end = ALIGN(extent_end, root->sectorsize); in run_delalloc_nocow()
4287 root->sectorsize), (u64)-1, 0); in btrfs_truncate_inode_items()
4386 root->sectorsize); in btrfs_truncate_inode_items()
4584 u32 blocksize = root->sectorsize; in btrfs_truncate_page()
4734 u64 hole_start = ALIGN(oldsize, root->sectorsize); in btrfs_cont_expand()
4735 u64 block_end = ALIGN(size, root->sectorsize); in btrfs_cont_expand()
4778 last_byte = ALIGN(last_byte , root->sectorsize); in btrfs_cont_expand()
6772 extent_end = ALIGN(extent_start + size, root->sectorsize); in btrfs_get_extent()
6821 em->len = ALIGN(copy_size, root->sectorsize); in btrfs_get_extent()
7080 ret = btrfs_reserve_extent(root, len, root->sectorsize, 0, in btrfs_new_extent_direct()
7198 range_end = round_up(offset + num_bytes, root->sectorsize) - 1; in can_nocow_extent()
7445 len = min_t(u64, len, root->sectorsize); in btrfs_get_blocks_direct()
8288 unsigned blocksize_mask = root->sectorsize - 1; in check_direct_IO()
8717 u64 mask = root->sectorsize - 1; in btrfs_truncate()