Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ethtool/
Dchannels.c114 unsigned int from_channel, old_total, i; in ethnl_set_channels() local
141 old_total = channels.combined_count + in ethnl_set_channels()
205 for (i = from_channel; i < old_total; i++) in ethnl_set_channels()
/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.c2827 u64 old_total; in btrfs_grow_device() local
2836 old_total = btrfs_super_total_bytes(super_copy); in btrfs_grow_device()
2846 round_down(old_total + diff, fs_info->sectorsize)); in btrfs_grow_device()
4641 u64 old_total = btrfs_super_total_bytes(super_copy); in btrfs_shrink_device() local
4786 WARN_ON(diff > old_total); in btrfs_shrink_device()
4788 round_down(old_total - diff, fs_info->sectorsize)); in btrfs_shrink_device()