Searched refs:reg_state (Results 1 – 18 of 18) sorted by relevance
191 if (device->reg_state == IB_DEV_UNINITIALIZED) { in ib_dealloc_device()196 BUG_ON(device->reg_state != IB_DEV_UNREGISTERED); in ib_dealloc_device()314 device->reg_state = IB_DEV_REGISTERED; in ib_register_device()362 device->reg_state = IB_DEV_UNREGISTERED; in ib_unregister_device()
27 return dev->reg_state == NETREG_REGISTERED; in dev_isalive()
135 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get()239 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
1634 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues()1635 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues()1673 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues()5111 if (dev->reg_state == NETREG_UNINITIALIZED) { in rollback_registered_many()5120 BUG_ON(dev->reg_state != NETREG_REGISTERED); in rollback_registered_many()5130 dev->reg_state = NETREG_UNREGISTERING; in rollback_registered_many()5384 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice()5431 dev->reg_state = NETREG_REGISTERED; in register_netdevice()5451 dev->reg_state = NETREG_UNREGISTERED; in register_netdevice()5493 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev()[all …]
36 return dev->reg_state <= NETREG_REGISTERED; in dev_isalive()1270 BUG_ON(dev->reg_state != NETREG_RELEASED); in netdev_release()
35 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_read()64 if (sdata->dev->reg_state == NETREG_REGISTERED) in ieee80211_if_write()
303 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on()321 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off()
532 if (tun->dev->reg_state != NETREG_REGISTERED) in tun_chr_poll()823 if (tun->dev->reg_state != NETREG_REGISTERED) { in tun_do_read()1505 if (dev->reg_state == NETREG_REGISTERED) in tun_chr_close()
823 if (dev->reg_state != NETREG_UNREGISTERING) in macvlan_device_event()
813 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
490 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
1527 u8 reg_state; in adjust_TXVGA_for_iq_mag() local1531 reg_state = 0; in adjust_TXVGA_for_iq_mag()
844 if (net_dev->reg_state == NETREG_REGISTERED) { in i2400m_reset()
1284 } reg_state:16; member2621 if (dev->reg_state != NETREG_REGISTERED) in netdev_name()
1163 } reg_state; member
2108 if (card->dev->reg_state != NETREG_UNINITIALIZED) in lcs_register_netdev()
3787 if (adapter->port[i]->reg_state == NETREG_REGISTERED) in remove_one()
7617 if (netdev->reg_state == NETREG_REGISTERED) in ixgbe_remove()