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()
1439 lockstart = round_down(pos, root->sectorsize); in check_can_nocow()
1440 lockend = round_up(pos + *write_bytes, root->sectorsize) - 1; in check_can_nocow()
1642 lockstart = round_down(pos, root->sectorsize); in __btrfs_buffered_write()
1787 start_pos = round_down(pos, root->sectorsize); in btrfs_file_write_iter()
1790 end_pos = round_up(pos + count, root->sectorsize); in btrfs_file_write_iter()
2296 lockstart = round_up(offset, BTRFS_I(inode)->root->sectorsize); in btrfs_punch_hole()
2298 BTRFS_I(inode)->root->sectorsize) - 1; in btrfs_punch_hole()
2561 int blocksize = BTRFS_I(inode)->root->sectorsize; in btrfs_fallocate()
2735 lockstart = round_down(start, root->sectorsize); in find_desired_extent()
2736 lockend = round_up(i_size_read(inode), root->sectorsize); in find_desired_extent()
2738 lockend = lockstart + root->sectorsize; in find_desired_extent()