Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/realtek/8139cp.c cp_close() -> cp_stop_hw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | cp->napi.timer.is_queued | 0 |
| PARAM_VALUE | 0 | cp->napi.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | cp->napi.timer.node.node.prev | 0 |
| CAPPED_DATA | 0 | cp->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &cp->napi.timer | != $0->napi.timer.base->running |
| BIT_INFO | 0 | cp->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cp->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct cp_private)->lock |
drivers/net/ethernet/realtek/8139cp.c cp_init_one() -> cp_stop_hw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->cpcmd | 43,59 |
| PARAM_VALUE | 0 | cp->dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->mii_if.dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->mii_if.mdio_read | 1086584823668187136 |
| PARAM_VALUE | 0 | cp->mii_if.mdio_write | 3914107551732121600 |
| PARAM_VALUE | 0 | cp->mii_if.phy_id | 32 |
| PARAM_VALUE | 0 | cp->mii_if.phy_id_mask | 31 |
| PARAM_VALUE | 0 | cp->mii_if.reg_num_mask | 31 |
| PARAM_VALUE | 0 | cp->msg_enable | 0-s32max |
| PARAM_VALUE | 0 | cp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->regs | 4096-ptr_max |
| BUF_SIZE | 0 | cp->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| FUZZY_MAX | 0 | cp->cpcmd | 59 |
| FUZZY_MAX | 0 | cp->msg_enable | 7 |
| BIT_INFO | 0 | cp->cpcmd | 0x2b,0x3f |
| HARD_MAX | 0 | cp->cpcmd | 59 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | cp->pdev->current_state | 0-3[c] |
drivers/net/ethernet/realtek/8139cp.c cp_open() -> cp_stop_hw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev->dev_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev->priv->rx_config | 41994,41998-41999 |
| PARAM_VALUE | 0 | cp->napi->thread->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cp->napi.config | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | cp->napi.dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 0 | cp->napi.napi_hash_node.pprev | 0 |
| PARAM_VALUE | 0 | cp->napi.thread | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.thread->blocked_on | 0 |
| PARAM_VALUE | 0 | cp->napi.thread->cpus_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->napi.thread->migration_disabled | 0-1 |
| PARAM_VALUE | 0 | cp->napi.thread->on_rq | 0-1,3-255 |
| PARAM_VALUE | 0 | cp->napi.thread->saved_state | 0 |
| PARAM_VALUE | 0 | cp->napi.thread->wake_cpu | 0-s32max |
| PARAM_VALUE | 0 | cp->napi.timer.is_queued | 0 |
| PARAM_VALUE | 0 | cp->napi.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | cp->napi.timer.node.node.prev | 0 |
| PARAM_VALUE | 0 | cp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cp->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | cp->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->rx_tail | 0 |
| PARAM_VALUE | 0 | cp->tx_head | 0 |
| PARAM_VALUE | 0 | cp->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->tx_ring->addr | 0 |
| PARAM_VALUE | 0 | cp->tx_ring->opts1 | 0 |
| PARAM_VALUE | 0 | cp->tx_ring->opts2 | 0 |
| PARAM_VALUE | 0 | cp->tx_tail | 0 |
| PARAM_VALUE | 0 | cp->wol_enabled | 0 |
| PARAM_VALUE | 0 | *cp->dev->name | 0 |
| PARAM_VALUE | 0 | *cp->tx_opts | 0-4294967295 |
| CAPPED_DATA | 0 | cp->napi.timer.base | 1 |
| PARAM_COMPARE | 0 | &cp->napi.timer | != $0->napi.timer.base->running |
| BIT_INFO | 0 | cp->msg_enable | 0x0,0xffffffff |
| MEM_ZERO | 0 | cp->tx_opts | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/realtek/8139cp.c cp_tx_timeout() -> cp_stop_hw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | *cp->dev->name | 0-255 |
| BIT_INFO | 0 | cp->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cp->lock | |
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| TYPE_LOCK | (struct cp_private)->lock |