Searched refs:old_total (Results 1 – 2 of 2) sorted by relevance
112 unsigned int from_channel, old_total, i; in ethnl_set_channels() local121 old_total = channels.combined_count + in ethnl_set_channels()175 for (i = from_channel; i < old_total; i++) in ethnl_set_channels()
2936 u64 old_total; in btrfs_grow_device() local2946 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()2956 round_down(old_total + diff, fs_info->sectorsize)); in btrfs_grow_device()4811 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device() local4968 WARN_ON(diff > old_total); in btrfs_shrink_device()4970 round_down(old_total - diff, fs_info->sectorsize)); in btrfs_shrink_device()