Lines Matching refs:sectorsize
56 root->fs_info->sectorsize) { in btrfs_readlink()
312 target = malloc(fs_info->sectorsize); in btrfs_lookup_path()
442 ASSERT(IS_ALIGNED(offset, fs_info->sectorsize) && in btrfs_read_extent_reg()
443 IS_ALIGNED(len, fs_info->sectorsize)); in btrfs_read_extent_reg()
542 ASSERT(IS_ALIGNED(file_offset, root->fs_info->sectorsize)); in lookup_data_extent()
628 u64 aligned_start = round_down(start, fs_info->sectorsize); in read_and_truncate_page()
632 int page_len = fs_info->sectorsize - page_off; in read_and_truncate_page()
635 ASSERT(start + len <= aligned_start + fs_info->sectorsize); in read_and_truncate_page()
636 buf = malloc_cache_aligned(fs_info->sectorsize); in read_and_truncate_page()
653 round_down(start, fs_info->sectorsize), in read_and_truncate_page()
654 fs_info->sectorsize, buf); in read_and_truncate_page()
671 u64 aligned_start = round_down(file_offset, fs_info->sectorsize); in btrfs_file_read()
672 u64 aligned_end = round_down(file_offset + len, fs_info->sectorsize); in btrfs_file_read()
693 round_up(file_offset, fs_info->sectorsize) - in btrfs_file_read()
697 cur += fs_info->sectorsize; in btrfs_file_read()