Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/usb/asix_devices.c
- drivers/net/usb/ax88179_178a.c
- drivers/net/usb/cdc_ether.c
- drivers/net/usb/cdc_ncm.c, line 1887
- drivers/net/usb/dm9601.c, line 527
- drivers/net/usb/mcs7830.c, line 556
- drivers/net/usb/sierra_net.c, line 428
- drivers/net/usb/sr9800.c, line 161
- drivers/net/usb/usbnet.c
Smatch caller information:
drivers/net/usb/dm9601.c dm9601_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 1 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/sierra_net.c sierra_net_handle_lsi() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->udev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->udev->bus->sysdev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | *dev->net->name | 0-255 |
| PARAM_VALUE | 2 | need_reset | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | link | r sierra_net_parse_lsi |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/usbnet.c usbnet_probe() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.poisoned | 0 |
| PARAM_VALUE | 0 | dev->deferred.suspend_wakeups.counter | 0 |
| PARAM_VALUE | 0 | dev->deferred.wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->delay.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->delay.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->delay.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->done.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->done.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->done.qlen | 0 |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->flags | 2080,2592,4096-4097,4100,4112,4114,4128,4152,6176,8288,8544,9232,9744,10336,12848,14384,14896,15376,17408,48144,67072 |
| PARAM_VALUE | 0 | dev->driver_info->status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->interrupt_count | 0 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->interrupt_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | dev->intf | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->authorized | 1 |
| PARAM_VALUE | 0 | dev->intf->condition | 1 |
| PARAM_VALUE | 0 | dev->intf->dev.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | dev->intf->needs_binding | 0 |
| PARAM_VALUE | 0 | dev->maxpacket | 1-2047 |
| PARAM_VALUE | 0 | dev->net->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->phy_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | dev->phy_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dev->phy_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | dev->rx_speed | (-1) |
| PARAM_VALUE | 0 | dev->rxq.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rxq.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rxq.qlen | 0 |
| PARAM_VALUE | 0 | dev->rxq_pause.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rxq_pause.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rxq_pause.qlen | 0 |
| PARAM_VALUE | 0 | dev->tx_speed | (-1) |
| PARAM_VALUE | 0 | dev->txq.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->txq.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->txq.qlen | 0 |
| PARAM_VALUE | 0 | dev->udev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->net->name | 0-255 |
| PARAM_VALUE | 0 | *dev->udev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | link | 0 |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| BUF_SIZE | 0 | dev->padding_pkt | 1,u64max |
| BIT_INFO | 0 | dev->driver_info->flags | 0x800,0x1ffff |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/usb/ax88179_178a.c ax88179_reset() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->flags | 32,82,96,1024,1536,2080,2592,4096-4097,4100,4112,4114,4128,4152,6176,8288,8544,9232,9744,10336,12848,14384,14896,15376,17408,48144,67072 |
| PARAM_VALUE | 0 | dev->driver_info->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mii.mdio_read | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net->addr_assign_type | 0 |
| PARAM_VALUE | 0 | dev->rx_urb_size | 20480 |
| PARAM_VALUE | 0 | dev->udev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->udev->dev.of_node->properties->length | s32min-s32max |
| PARAM_VALUE | 0 | *dev->net->name | 0-255 |
| PARAM_VALUE | 0 | *dev->udev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | link | 0 |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev->driver_name | (-1),4-25,28-29,32 |
| BUF_SIZE | 0 | dev->driver_priv | (-1),20 |
| BUF_SIZE | 0 | dev->net->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | dev->net->netdev_ops | (-1),760 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/usb/ax88179_178a.c ax88179_resume() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_priv->in_pm | 1 |
| PARAM_VALUE | 1 | link | 0 |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/usb/ax88179_178a.c ax88179_set_eee() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_priv->disconnecting | 1-255 |
| PARAM_VALUE | 0 | dev->driver_priv->eee_active | 1 |
| PARAM_VALUE | 0 | dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->mii.mdio_read | 4096-ptr_max |
| PARAM_VALUE | 0 | *dev->net->name | 0-255 |
| PARAM_VALUE | 1 | link | 0 |
| PARAM_VALUE | 2 | need_reset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/usb/ax88179_178a.c ax88179_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 1 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/mcs7830.c mcs7830_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/cdc_ether.c usbnet_cdc_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/cdc_ether.c usbnet_cdc_zte_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->msg_enable | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/asix_devices.c asix_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 1 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/asix_devices.c ax88772_mac_link_down() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->net->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->net->name | 0 |
| PARAM_VALUE | 1 | link | 0 |
| PARAM_VALUE | 2 | need_reset | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/usb/asix_devices.c ax88772_mac_link_up() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->net | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->net->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *dev->net->name | 0 |
| PARAM_VALUE | 1 | link | 1 |
| PARAM_VALUE | 2 | need_reset | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |
drivers/net/usb/cdc_ncm.c cdc_ncm_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 0 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/sr9800.c sr_status() -> usbnet_link_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 2 | need_reset | 1 |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |