Lines Matching refs:sectorsize
2613 device->io_width = fs_info->sectorsize; in btrfs_init_new_device()
2614 device->io_align = fs_info->sectorsize; in btrfs_init_new_device()
2615 device->sector_size = fs_info->sectorsize; in btrfs_init_new_device()
2617 fs_info->sectorsize); in btrfs_init_new_device()
2657 fs_info->sectorsize)); in btrfs_init_new_device()
2822 new_size = round_down(new_size, fs_info->sectorsize); in btrfs_grow_device()
2826 diff = round_down(new_size - device->total_bytes, fs_info->sectorsize); in btrfs_grow_device()
2835 round_down(old_total + diff, fs_info->sectorsize)); in btrfs_grow_device()
4691 new_size = round_down(new_size, fs_info->sectorsize); in btrfs_shrink_device()
4693 diff = round_down(old_size - new_size, fs_info->sectorsize); in btrfs_shrink_device()
4829 round_down(old_total - diff, fs_info->sectorsize)); in btrfs_shrink_device()
5266 btrfs_set_stack_chunk_sector_size(chunk, fs_info->sectorsize); in btrfs_finish_chunk_alloc()
5438 unsigned long len = fs_info->sectorsize; in btrfs_full_stripe_len()