Lines Matching refs:old_flags
5706 unsigned int old_flags = dev->flags; in __dev_set_promiscuity() local
5728 if (dev->flags != old_flags) { in __dev_set_promiscuity()
5738 (old_flags & IFF_PROMISC), in __dev_set_promiscuity()
5748 __dev_notify_flags(dev, old_flags, IFF_PROMISC); in __dev_set_promiscuity()
5765 unsigned int old_flags = dev->flags; in dev_set_promiscuity() local
5771 if (dev->flags != old_flags) in dev_set_promiscuity()
5779 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti() local
5799 if (dev->flags ^ old_flags) { in __dev_set_allmulti()
5803 __dev_notify_flags(dev, old_flags, in __dev_set_allmulti()
5902 unsigned int old_flags = dev->flags; in __dev_change_flags() local
5921 if ((old_flags ^ flags) & IFF_MULTICAST) in __dev_change_flags()
5933 if ((old_flags ^ flags) & IFF_UP) in __dev_change_flags()
5934 ret = ((old_flags & IFF_UP) ? __dev_close : __dev_open)(dev); in __dev_change_flags()
5938 unsigned int old_flags = dev->flags; in __dev_change_flags() local
5943 if (dev->flags != old_flags) in __dev_change_flags()
5961 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags() argument
5964 unsigned int changes = dev->flags ^ old_flags; in __dev_notify_flags()
5997 unsigned int changes, old_flags = dev->flags, old_gflags = dev->gflags; in dev_change_flags() local
6003 changes = (old_flags ^ dev->flags) | (old_gflags ^ dev->gflags); in dev_change_flags()
6004 __dev_notify_flags(dev, old_flags, changes); in dev_change_flags()