Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/usb/cdc_ether.c, line 461
- drivers/net/usb/cdc_ncm.c, line 948
- drivers/net/usb/int51x1.c, line 110
- drivers/net/usb/qmi_wwan.c, line 788
- drivers/net/usb/usbnet.c, line 178
Smatch caller information:
drivers/net/usb/int51x1.c int51x1_bind() -> usbnet_get_ethernet_addr()
| 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->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->net | 4096-ptr_max |
| 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->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 | 1 | iMACAddress | 3 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/usb/cdc_ether.c usbnet_cdc_bind() -> usbnet_get_ethernet_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data.ether | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.wait.head.next->next | 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.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.dep_map->name | 0-255 |
| 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->net->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->phy_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->wait.head.next->next | 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 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/usb/qmi_wwan.c qmi_wwan_bind() -> usbnet_get_ethernet_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data.control | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data.control->authorized | 1 |
| PARAM_VALUE | 0 | dev->data.control->condition | 1 |
| PARAM_VALUE | 0 | dev->data.control->cur_altsetting | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data.control->dev.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data.control->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | dev->data.control->needs_binding | 0 |
| PARAM_VALUE | 0 | dev->data.data | 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->hard_mtu | 1-u16max |
| 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->net | 4096-ptr_max |
| 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->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 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/usb/cdc_ncm.c cdc_ncm_bind_common() -> usbnet_get_ethernet_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.poisoned | 0 |
| PARAM_VALUE | 0 | dev->deferred.urb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->deferred.urb_list.prev->prev | 4096-ptr_max |
| 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->bind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->check_connect | 0,4360945745349664768,4410088904158785536,5653805294529658880,6205464036663947264 |
| PARAM_VALUE | 0 | dev->driver_info->data | 0-2,4,1245443,2039071,10460575,537268737 |
| PARAM_VALUE | 0 | dev->driver_info->early_init | 0 |
| PARAM_VALUE | 0 | dev->driver_info->flags | 32,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->in | 0-2,4 |
| PARAM_VALUE | 0 | dev->driver_info->indication | 0 |
| PARAM_VALUE | 0 | dev->driver_info->link_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->manage_power | 0,1506678758508355584,2826099265391374336,5417900502053539840,6162498990675783680,7442110100846649344,8583981312855863296 |
| PARAM_VALUE | 0 | dev->driver_info->out | 0,2-3 |
| PARAM_VALUE | 0 | dev->driver_info->recover | 0,3716476772017917952 |
| PARAM_VALUE | 0 | dev->driver_info->reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->rx_fixup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->set_rx_mode | 0,1133741414766354432,2427045778604806144 |
| PARAM_VALUE | 0 | dev->driver_info->status | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->stop | 0,222419360661372928,4259716044864118784,5435611627426725888,6723014208665305088,6896059178680975360 |
| PARAM_VALUE | 0 | dev->driver_info->tx_fixup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_info->unbind | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->in | 128-u32max |
| PARAM_VALUE | 0 | dev->interrupt_count | 0 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->interrupt_mutex.magic | 4096-ptr_max |
| 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.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->intf->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 0 | dev->intf->needs_binding | 0 |
| PARAM_VALUE | 0 | dev->net | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->net->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->out | 1073741824-u32max |
| 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->status | 4096-ptr_max |
| 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->udev->actconfig | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->udev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | dev->udev->state | 0-7,9-u32max |
| 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 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| DATA_SOURCE | 0 | dev | $0 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING |