Lines Matching refs:sectorsize
92 ASSERT(IS_ALIGNED(start + len, inode->root->fs_info->sectorsize)); in btrfs_inode_set_file_extent_range()
121 ASSERT(IS_ALIGNED(start + len, inode->root->fs_info->sectorsize) || in btrfs_inode_clear_file_extent_range()
130 ASSERT(IS_ALIGNED(bytes, fs_info->sectorsize)); in bytes_to_csum_size()
286 const u32 sectorsize = fs_info->sectorsize; in search_csum_tree() local
293 ASSERT(IS_ALIGNED(disk_bytenr, sectorsize) && in search_csum_tree()
294 IS_ALIGNED(len, sectorsize)); in search_csum_tree()
304 csum_len = (itemsize / csum_size) * sectorsize; in search_csum_tree()
322 csum_len = (itemsize / csum_size) * sectorsize; in search_csum_tree()
347 const u32 sectorsize = fs_info->sectorsize; in btrfs_lookup_bio_sums() local
438 file_offset + sectorsize - 1, in btrfs_lookup_bio_sums()
443 cur_disk_bytenr, cur_disk_bytenr + sectorsize); in btrfs_lookup_bio_sums()
446 bio_offset += count * sectorsize; in btrfs_lookup_bio_sums()
479 ASSERT(IS_ALIGNED(start, fs_info->sectorsize) && in btrfs_lookup_csums_list()
480 IS_ALIGNED(end + 1, fs_info->sectorsize)); in btrfs_lookup_csums_list()
623 ASSERT(IS_ALIGNED(start, fs_info->sectorsize) && in btrfs_lookup_csums_bitmap()
624 IS_ALIGNED(end + 1, fs_info->sectorsize)); in btrfs_lookup_csums_bitmap()
777 bvec.bv_len + fs_info->sectorsize in btrfs_csum_one_bio()
783 data + (i * fs_info->sectorsize), in btrfs_csum_one_bio()
784 fs_info->sectorsize, in btrfs_csum_one_bio()
1260 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks()
1325 em->len = fs_info->sectorsize; in btrfs_extent_item_to_extent_map()
1354 end = leaf->fs_info->sectorsize; in btrfs_file_extent_end()