Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/sungem.c gem_do_start() -> gem_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->mac_rx_cfg | 12,36 |
| PARAM_VALUE | 0 | gp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | gp->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | gp->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | gp->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | gp->rx_buf_sz | s32min-(-1),1518-s32max |
| PARAM_VALUE | 0 | gp->rx_new | 0 |
| PARAM_VALUE | 0 | gp->rx_old | 0 |
| PARAM_VALUE | 0 | gp->tx_new | 0 |
| PARAM_VALUE | 0 | gp->tx_old | 0 |
| PARAM_VALUE | 0 | *gp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *gp->rx_skbs | 0 |
| PARAM_VALUE | 0 | *gp->tx_skbs | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sun/sungem.c gem_do_stop() -> gem_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev->tx_global_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->link_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | gp->link_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | gp->link_timer.function | 0 |
| PARAM_VALUE | 0 | gp->napi.config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gp->napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->napi.dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.is_queued | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | gp->reset_task_pending | 0 |
| CAPPED_DATA | 0 | gp->napi.timer.base | 1 |
| CAPPED_DATA | 0 | &gp->link_timer | 1 |
| PARAM_COMPARE | 0 | &gp->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sun/sungem.c gem_init_one() -> gem_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->cell_enabled | 1-s32max |
| PARAM_VALUE | 0 | gp->dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->link_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | gp->link_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | gp->link_timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->lstate | 0 |
| PARAM_VALUE | 0 | gp->msg_enable | 7 |
| PARAM_VALUE | 0 | gp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | gp->pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | gp->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | gp->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->timer_ticks | 0 |
| BUF_SIZE | 0 | gp->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gp->pdev->current_state | 0-3[c] |
drivers/net/ethernet/sun/sungem.c gem_reinit_chip() -> gem_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| DATA_SOURCE | 0 | gp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/sun/sungem.c gem_stop_phy() -> gem_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev->tx_global_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->link_timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | gp->link_timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | gp->link_timer.function | 0 |
| PARAM_VALUE | 0 | gp->napi.config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gp->napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->napi.dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | gp->napi.dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | gp->napi.napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.is_queued | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | gp->napi.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | gp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->reset_task_pending | 0 |
| PARAM_VALUE | 0 | *gp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *gp->rx_skbs | 0 |
| PARAM_VALUE | 0 | *gp->tx_skbs | 0 |
| CAPPED_DATA | 0 | gp->napi.timer.base | 1 |
| DATA_SOURCE | 0 | gp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |