Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mediatek/mtk_star_emac.c mtk_star_tx_complete_one() -> mtk_star_dma_unmap_tx()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 *priv->tx_ring->dma_addrs 0
PARAM_VALUE 0 *priv->tx_ring->skbs 0
PARAM_VALUE 1 desc_data 6079473489708220416
PARAM_VALUE 1 desc_data->flags 2147483648-4294901760
PARAM_VALUE 1 desc_data->len 0-u16max
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mediatek/mtk_star_emac.c mtk_star_ring_free_skbs() -> mtk_star_ring_free_skbs param 2()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->descs_base 4096-ptr_max
PARAM_VALUE 0 priv->phydev 0,4096-ptr_max
PARAM_VALUE 0 priv->phydev->adjust_link 0
PARAM_VALUE 0 priv->phydev->attached_dev 0
PARAM_VALUE 0 priv->phydev->devlink 0
PARAM_VALUE 0 priv->phydev->interrupts 0
PARAM_VALUE 0 priv->phydev->is_genphy_driven 0
PARAM_VALUE 0 priv->phydev->mdio.bus 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.bus->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev->driver_data->fake_cis 0-255
PARAM_VALUE 0 priv->phydev->mdio.dev->kobj.parent->kset->kobj.release.timer->entry->next->pprev 1-u64max
PARAM_VALUE 0 priv->phydev->mdio.dev->kobj.release.timer->entry->next->pprev 1-u64max
PARAM_VALUE 0 priv->phydev->mdio.dev->kobj.release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev->p->deferred_probe_reason 0-255
PARAM_VALUE 0 priv->phydev->mdio.dev->p->knode_bus.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev->p->knode_class.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev->p->knode_driver.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev->p->knode_parent.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev.driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->battery_dev->id (-2)
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cis_mem.card_start 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.work.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.work.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.kobj.release.work.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->device_count 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->functions 0-u16max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->ops_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->ops_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->ops_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->pcmcia_pfc 0-255
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->present.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->resource_setup_done 0-255
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->skt_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->skt_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->skt_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->skt_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->state 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.driver_data->touch_dev->id (-2)
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->entry.next->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->entry.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.work.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.work.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->kset->kobj.release.work.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->release.timer.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->release.timer.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->release.timer.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.parent->release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.kobj.sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 priv->phydev->mdio.dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.links.status 0,3
PARAM_VALUE 0 priv->phydev->mdio.dev.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->phydev->mdio.dev.p->dead 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.p->knode_bus.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.work.is_hard 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.work.is_soft 0-1
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 priv->phydev->mdio.dev.pm_domain 0,4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.can_wakeup 0
PARAM_VALUE 0 priv->phydev->mdio.dev.power.completion.done u32max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->phydev->mdio.dev.power.irq_safe 0
PARAM_VALUE 0 priv->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->phydev->mdio.reset_ctrl->rcdev 0-s64max
PARAM_VALUE 0 priv->phydev->phy_link_change 0
PARAM_VALUE 0 priv->phydev->phylink 0
PARAM_VALUE 0 priv->phydev->sfp_bus->started 0-1
PARAM_VALUE 0 priv->phydev->state 0-4
PARAM_VALUE 0 priv->phydev->state_queue.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->regs 4096-ptr_max
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 priv->regs->cache_dirty 0-1
PARAM_VALUE 0 priv->rx_napi.config 0,4096-ptr_max
PARAM_VALUE 0 priv->rx_napi.dev 4096-ptr_max
PARAM_VALUE 0 priv->rx_napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 priv->rx_napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->rx_napi.napi_hash_node->next->pprev 1-u64max
PARAM_VALUE 0 priv->rx_napi.napi_hash_node.next->pprev 1-u64max
PARAM_VALUE 0 priv->rx_napi.napi_hash_node.pprev 0
PARAM_VALUE 0 priv->rx_napi.timer.is_queued 0
PARAM_VALUE 0 priv->rx_napi.timer.node.node.next 0
PARAM_VALUE 0 priv->rx_napi.timer.node.node.prev 0
PARAM_VALUE 0 priv->rx_ring.descs->reserved 0
PARAM_VALUE 0 priv->rx_ring.descs->vtag 0
PARAM_VALUE 0 priv->tx_napi.config 0,4096-ptr_max
PARAM_VALUE 0 priv->tx_napi.dev 4096-ptr_max
PARAM_VALUE 0 priv->tx_napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 priv->tx_napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->tx_napi.napi_hash_node->next->pprev 1-u64max
PARAM_VALUE 0 priv->tx_napi.napi_hash_node.next->pprev 1-u64max
PARAM_VALUE 0 priv->tx_napi.napi_hash_node.pprev 0
PARAM_VALUE 0 priv->tx_napi.timer.is_queued 0
PARAM_VALUE 0 priv->tx_napi.timer.node.node.next 0
PARAM_VALUE 0 priv->tx_napi.timer.node.node.prev 0
PARAM_VALUE 0 priv->tx_ring.descs->reserved 0
PARAM_VALUE 0 priv->tx_ring.descs->vtag 0
PARAM_VALUE 1 desc_data 2625385749481476096
PARAM_VALUE 1 desc_data->dma_addr 1-u64max
CAPPED_DATA 0 priv->phydev 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 priv->phydev->attached_dev->flags 0-526849[c]
USER_DATA 0 priv->phydev->attached_dev->group s32min-s32max
USER_DATA 0 priv->phydev->attached_dev->ifindex s32min-s32max
USER_DATA 0 priv->phydev->attached_dev->mtu 0-s32max[c]
USER_DATA 0 priv->phydev->attached_dev->num_tc 1-16[c]
USER_DATA 0 priv->phydev->attached_dev->real_num_rx_queues 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->proto_down
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->stats.tx_bytes
NO_OVERFLOW_SIMPLE 0 priv->phydev->attached_dev->tx_queue_len