Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/net/ethernet/xircom/xirc2ps_cs.c, line 1359 (as a function)
- drivers/usb/gadget/legacy/hid.c, line 90 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/composite.c usb_add_config() -> usb_add_config param 2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bConfigurationValue | 1-3 |
| PARAM_VALUE | 0 | dev->cdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->functions.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->next_interface_id | 0 |
| CAPPED_DATA | 0 | dev->bConfigurationValue | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| MEM_ZERO | 0 | dev->interface | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/dev_ioctl.c netif_setifmap() -> (struct net_device_ops)->ndo_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 1 | map | 8903194791674163200 |
| PARAM_VALUE | 1 | map->mem_end | 0-u32max |
| PARAM_VALUE | 1 | map->mem_start | 0-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| CONTAINER | 0 | -144-8+0 | $(-1) |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/core/dev_ioctl.c netif_setifmap() -> (struct net_device_ops)->ndo_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 1586268954384080896,2133952100825280512,4430316855586635776 |
| DATA_SOURCE | 0 | dev | $0 |
| CONTAINER | 0 | -144-8+0 | $(-1) |
| USER_DATA | 1 | map->base_addr | 0-u16max |
| USER_DATA | 1 | map->dma | 0-255 |
| USER_DATA | 1 | map->irq | 0-255 |
| USER_DATA | 1 | map->mem_end | 0-u64max |
| USER_DATA | 1 | map->mem_start | 0-u64max |
| USER_DATA | 1 | map->port | 0-255 |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/core/rtnetlink.c do_setlink() -> (struct net_device_ops)->ndo_set_config()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 1 | map | 6148569810480046080 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | map->base_addr | 0-u16max |
| USER_DATA | 1 | map->dma | 0-255 |
| USER_DATA | 1 | map->irq | 0-255 |
| USER_DATA | 1 | map->mem_end | 0-u64max |
| USER_DATA | 1 | map->mem_start | 0-u64max |
| USER_DATA | 1 | map->port | 0-255 |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |