Home
last modified time | relevance | path

Searched refs:old_total (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/ethtool/
H A Dchannels.c112 unsigned int from_channel, old_total, i; in ethnl_set_channels() local
122 old_total = channels.combined_count + in ethnl_set_channels()
189 for (i = from_channel; i < old_total; i++) in ethnl_set_channels()
/openbmc/linux/fs/btrfs/
H A Dvolumes.c2917 u64 old_total; in btrfs_grow_device() local
2927 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2937 round_down(old_total + diff, fs_info->sectorsize)); in btrfs_grow_device()
4856 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device() local
5000 WARN_ON(diff > old_total); in btrfs_shrink_device()
5002 round_down(old_total - diff, fs_info->sectorsize)); in btrfs_shrink_device()