Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/alibaba/eea/eea_adminq.c, line 126
- drivers/net/ethernet/alibaba/eea/eea_net.c
- drivers/net/ethernet/alibaba/eea/eea_pci.c
Smatch caller information:
drivers/net/ethernet/alibaba/eea/eea_pci.c eea_init_device() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->db_blk_size | 8-512 |
| PARAM_VALUE | 0 | edev->rx_num | 0-1000 |
| PARAM_VALUE | 0 | edev->status | 1-2 |
| PARAM_VALUE | 0 | edev->tx_num | 0-1000 |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | edev->ha_lock.osq.tail.counter | s32min-s32max |
| HOST_DATA | 0 | edev->ha_lock.owner.counter | s64min-s64max |
| HOST_DATA | 0 | edev->tx_num | 0-1000 |
| HALF_LOCKED2 | &edev->ha_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/alibaba/eea/eea_pci.c eea_pci_setup() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->status | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &edev->ha_lock | ||
| HALF_LOCKED2 | &pci_dev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/alibaba/eea/eea_net.c eea_net_ha_reset_remove() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet->wait_pci_ready | 0 |
| PARAM_VALUE | 0 | edev->ep_dev | 4096-ptr_max |
| BUF_SIZE | 0 | edev | 208 |
| CAPPED_DATA | 0 | edev | 1 |
| DATA_SOURCE | 0 | edev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &edev->ha_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/alibaba/eea/eea_net.c eea_net_probe() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->db_blk_size | 8-512 |
| PARAM_VALUE | 0 | edev->dma_dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | edev->enet | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet->edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->ep_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->features | 0 |
| PARAM_VALUE | 0 | edev->rx_num | 0-1000 |
| PARAM_VALUE | 0 | edev->status | 1-2 |
| PARAM_VALUE | 0 | edev->tx_num | 0-1000 |
| CAPPED_DATA | 0 | edev->rx_num | 1 |
| CAPPED_DATA | 0 | edev->tx_num | 1 |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | edev->ha_lock.osq.tail.counter | s32min-s32max |
| HOST_DATA | 0 | edev->ha_lock.owner.counter | s64min-s64max |
| HOST_DATA | 0 | edev->tx_num | 0-1000[c] |
| HALF_LOCKED2 | &edev->ha_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/alibaba/eea/eea_net.c eea_net_remove() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->dev_unreg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | edev->enet->netdev->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | edev->enet->wait_pci_ready | 0 |
| PARAM_VALUE | 0 | edev->ep_dev | 4096-ptr_max |
| BUF_SIZE | 0 | edev | 208 |
| CAPPED_DATA | 0 | edev | 1 |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &edev->ha_lock |
drivers/net/ethernet/alibaba/eea/eea_net.c eea_net_shutdown() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->enet->netdev->close_list.next | 7608961968850681856 |
| PARAM_VALUE | 0 | edev->enet->netdev->close_list.prev | 7608961968850681856 |
| PARAM_VALUE | 0 | edev->enet->wait_pci_ready | 0 |
| PARAM_VALUE | 0 | edev->ep_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->ep_dev->ha_ready | 0 |
| PARAM_VALUE | 0 | edev->ha_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | edev->ha_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | edev->ha_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | edev->ha_lock.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | edev | 208 |
| CAPPED_DATA | 0 | edev | 1 |
| DATA_SOURCE | 0 | edev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/ethernet/alibaba/eea/eea_adminq.c eea_device_broken() -> eea_device_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | edev | 4096-ptr_max |
| PARAM_VALUE | 0 | edev->dma_dev->dma_io_tlb_mem->can_grow | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | edev->ha_lock.osq.tail.counter | s32min-s32max |
| HOST_DATA | 0 | edev->ha_lock.owner.counter | s64min-s64max |
| HOST_DATA | 0 | edev->tx_num | 0-1000 |
| LOCK2 | &enet->adminq.lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct eea_aq)->lock |