Home
last modified time | relevance | path

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

/Linux-v5.10/net/ethtool/
Dchannels.c114 unsigned int from_channel, old_total, i; in ethnl_set_channels() local
142 old_total = channels.combined_count + in ethnl_set_channels()
204 for (i = from_channel; i < old_total; i++) in ethnl_set_channels()
/Linux-v5.10/fs/btrfs/
Dvolumes.c2769 u64 old_total; in btrfs_grow_device() local
2778 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2788 round_down(old_total + diff, fs_info->sectorsize)); in btrfs_grow_device()
4579 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device() local
4724 WARN_ON(diff > old_total); in btrfs_shrink_device()
4726 round_down(old_total - diff, fs_info->sectorsize)); in btrfs_shrink_device()