Lines Matching refs:old_flags
5518 unsigned int old_flags = dev->flags; in __dev_set_promiscuity() local
5540 if (dev->flags != old_flags) { in __dev_set_promiscuity()
5550 (old_flags & IFF_PROMISC), in __dev_set_promiscuity()
5560 __dev_notify_flags(dev, old_flags, IFF_PROMISC); in __dev_set_promiscuity()
5577 unsigned int old_flags = dev->flags; in dev_set_promiscuity() local
5583 if (dev->flags != old_flags) in dev_set_promiscuity()
5591 unsigned int old_flags = dev->flags, old_gflags = dev->gflags; in __dev_set_allmulti() local
5611 if (dev->flags ^ old_flags) { in __dev_set_allmulti()
5615 __dev_notify_flags(dev, old_flags, in __dev_set_allmulti()
5714 unsigned int old_flags = dev->flags; in __dev_change_flags() local
5733 if ((old_flags ^ flags) & IFF_MULTICAST) in __dev_change_flags()
5745 if ((old_flags ^ flags) & IFF_UP) in __dev_change_flags()
5746 ret = ((old_flags & IFF_UP) ? __dev_close : __dev_open)(dev); in __dev_change_flags()
5750 unsigned int old_flags = dev->flags; in __dev_change_flags() local
5755 if (dev->flags != old_flags) in __dev_change_flags()
5773 void __dev_notify_flags(struct net_device *dev, unsigned int old_flags, in __dev_notify_flags() argument
5776 unsigned int changes = dev->flags ^ old_flags; in __dev_notify_flags()
5809 unsigned int changes, old_flags = dev->flags, old_gflags = dev->gflags; in dev_change_flags() local
5815 changes = (old_flags ^ dev->flags) | (old_gflags ^ dev->gflags); in dev_change_flags()
5816 __dev_notify_flags(dev, old_flags, changes); in dev_change_flags()