Lines Matching refs:reg_state
2934 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()
2935 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()
2983 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()
5859 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog()
5868 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog()
10126 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice()
10222 dev->reg_state = ret ? NETREG_UNREGISTERED : NETREG_REGISTERED; in register_netdevice()
10311 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev()
10507 if (unlikely(dev->reg_state != NETREG_UNREGISTERING)) { in netdev_run_todo()
10514 dev->reg_state = NETREG_UNREGISTERED; in netdev_run_todo()
10709 WARN_ON(dev->reg_state == NETREG_REGISTERED); in netdev_sw_irq_coalesce_default_on()
10881 if (dev->reg_state == NETREG_UNREGISTERING) { in free_netdev()
10909 if (dev->reg_state == NETREG_UNINITIALIZED) { in free_netdev()
10914 BUG_ON(dev->reg_state != NETREG_UNREGISTERED); in free_netdev()
10915 dev->reg_state = NETREG_RELEASED; in free_netdev()
10983 if (dev->reg_state == NETREG_UNINITIALIZED) { in unregister_netdevice_many_notify()
10992 BUG_ON(dev->reg_state != NETREG_REGISTERED); in unregister_netdevice_many_notify()
11004 dev->reg_state = NETREG_UNREGISTERING; in unregister_netdevice_many_notify()
11136 if (dev->reg_state != NETREG_REGISTERED) in __dev_change_net_namespace()