Defined in 2 files as a function:
- drivers/net/usb/rndis_host.c, line 460 (as a function)
- drivers/usb/gadget/function/f_rndis.c, line 659 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/usb/rndis_host.c zte_rndis_bind() -> rndis_bind()
| 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 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->authorized | 1 |
| PARAM_VALUE | 1 | intf->condition | 1 |
| PARAM_VALUE | 1 | intf->dev.driver | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 1 | intf->needs_binding | 0 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | intf | $1 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/composite.c usb_add_function() -> (struct usb_function)->bind()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->bind | 1-u64max |
| PARAM_VALUE | 1 | intf->config | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->disable | 1-u64max |
| PARAM_VALUE | 1 | intf->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->set_alt | 1-u64max |
| BUF_SIZE | 0 | dev->descriptors | (-1),16 |
| BUF_SIZE | 0 | dev->label | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | intf->fi | (-1),176 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | intf | $1 |
| STR_LEN | 0 | dev->cdev | (-1) |
| STR_LEN | 0 | dev->label | (-1),15,18 |
| STR_LEN | 1 | intf->config->cdev | (-1) |
| STR_LEN | 1 | intf->config->label | (-1),15,18 |
| CONTAINER | 1 | -72+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/usb/usbnet.c usbnet_probe() -> (struct driver_info)->bind()
| 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->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 | intf | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->authorized | 1 |
| PARAM_VALUE | 1 | intf->condition | 1 |
| PARAM_VALUE | 1 | intf->dev.driver | 4096-ptr_max |
| PARAM_VALUE | 1 | intf->needs_altsetting0 | 0 |
| PARAM_VALUE | 1 | intf->needs_binding | 0 |
| BUF_SIZE | 0 | dev->driver_name | 4-25,28-29,32 |
| DATA_SOURCE | 1 | intf | $0 |
| MEM_ZERO | 0 | &dev->deferred | |
| RX_PATH | |||
| TASK_NOT_RUNNING |