Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/sungem.c gem_change_mtu() -> gem_set_link_modes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->cell_enabled | s32min-(-1),1-s32max |
| 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->lstate | 5 |
| PARAM_VALUE | 0 | gp->mac_rx_cfg | 12,36 |
| 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->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->dev.iommu->pci_32bit_workaround | 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 |
| CAPPED_DATA | 0 | gp->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &gp->napi.timer | != $0->napi.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/sun/sungem.c gem_link_timer() -> gem_set_link_modes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->lstate | 5 |
| PARAM_VALUE | 0 | gp->phy_type | 2-3 |
| PARAM_VALUE | 0 | gp->reset_task_pending | 0 |
| FUZZY_MAX | 0 | gp->phy_type | 3 |
| BIT_INFO | 0 | gp->phy_type | 0x2,0x3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sun/sungem.c gem_link_timer() -> gem_set_link_modes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gp | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->lstate | 5 |
| PARAM_VALUE | 0 | gp->phy_mii.def | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->phy_mii.def->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->phy_type | 0-1 |
| PARAM_VALUE | 0 | gp->reset_task_pending | 0 |
| FUZZY_MAX | 0 | gp->phy_type | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sun/sungem.c gem_reset_task() -> gem_set_link_modes()
| 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->lstate | 5 |
| PARAM_VALUE | 0 | gp->mac_rx_cfg | 12,36 |
| 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->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gp->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | gp->reset_task_pending | s32min-(-1),1-s32max |
| 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 |
| 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 |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |