Lines Matching refs:sectorsize
56 root->fs_info->sectorsize) { in btrfs_readlink()
312 target = malloc(fs_info->sectorsize); in btrfs_lookup_path()
436 ASSERT(IS_ALIGNED(offset, fs_info->sectorsize) && in btrfs_read_extent_reg()
437 IS_ALIGNED(len, fs_info->sectorsize)); in btrfs_read_extent_reg()
528 ASSERT(IS_ALIGNED(file_offset, root->fs_info->sectorsize)); in lookup_data_extent()
617 u64 aligned_start = round_down(start, fs_info->sectorsize); in read_and_truncate_page()
621 int page_len = fs_info->sectorsize - page_off; in read_and_truncate_page()
624 ASSERT(start + len <= aligned_start + fs_info->sectorsize); in read_and_truncate_page()
625 buf = malloc_cache_aligned(fs_info->sectorsize); in read_and_truncate_page()
638 round_down(start, fs_info->sectorsize), in read_and_truncate_page()
639 fs_info->sectorsize, buf); in read_and_truncate_page()
656 u64 aligned_start = round_down(file_offset, fs_info->sectorsize); in btrfs_file_read()
657 u64 aligned_end = round_down(file_offset + len, fs_info->sectorsize); in btrfs_file_read()
678 round_up(file_offset, fs_info->sectorsize) - in btrfs_file_read()
682 cur += fs_info->sectorsize; in btrfs_file_read()