Lines Matching refs:sectorsize
501 start_pos = pos & ~((u64)root->sectorsize - 1); in btrfs_dirty_pages()
502 num_bytes = ALIGN(write_bytes + pos - start_pos, root->sectorsize); in btrfs_dirty_pages()
930 root->sectorsize); in __btrfs_drop_extents()
1449 lockstart = round_down(pos, root->sectorsize); in check_can_nocow()
1450 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow()
1631 __pos = round_down(pos, root->sectorsize) + in __btrfs_buffered_write()
1658 lockstart = round_down(pos, root->sectorsize); in __btrfs_buffered_write()
1803 start_pos = round_down(pos, root->sectorsize); in btrfs_file_write_iter()
1806 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter()
2319 lockstart = round_up(offset, BTRFS_I(inode)->root->sectorsize); in btrfs_punch_hole()
2321 BTRFS_I(inode)->root->sectorsize) - 1; in btrfs_punch_hole()
2641 int blocksize = BTRFS_I(inode)->root->sectorsize; in btrfs_fallocate()
2848 lockstart = round_down(start, root->sectorsize); in find_desired_extent()
2849 lockend = round_up(i_size_read(inode), root->sectorsize); in find_desired_extent()
2851 lockend = lockstart + root->sectorsize; in find_desired_extent()