Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/spacemit/k1_emac.c emac_clean_tx_desc_ring() -> emac_free_tx_buf()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->last_triggered->trigger.brightness 255
PARAM_VALUE 0 priv->ndev->phydev->led_link_trigger->trigger.brightness 0-4294967295
PARAM_VALUE 0 priv->ndev->phydev->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.bus 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev->kobj.parent->kset->kobj.release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->battery_dev->id (-2)
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->skt_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.driver_data->touch_dev->id (-2)
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.entry.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.parent->release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.p->dead 0-1
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.p->deferred_probe_reason 0-s64max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.p->knode_bus.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.parent->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.completion.done u32max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->phydev->mdio.dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 priv->ndev->phydev->priv->ts_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->ndev->phydev->sfp_bus->started 0-1
PARAM_VALUE 0 priv->ndev->phydev->skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 priv->ndev->phydev->skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 priv->ndev->phydev->skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 priv->ndev->phydev->state 0-4
PARAM_VALUE 0 priv->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 priv->pdev->dev.power.request 0-4
PARAM_VALUE 0 priv->pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 priv->pdev->dev.power.runtime_status 0,2
PARAM_VALUE 0 priv->pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 priv->tx_ring.total_cnt 1-u32max
PARAM_VALUE 0 *priv->ndev->name 0-255
PARAM_VALUE 0 *priv->ndev->phydev->attached_dev->name 0-255
CAPPED_DATA 0 priv->ndev->phydev 1
CAPPED_DATA 1 i 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 i unit_array_size

drivers/net/ethernet/spacemit/k1_emac.c emac_tx_clean_desc() -> emac_free_tx_buf()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->ndev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->tx_ring.desc_addr 4096-ptr_max
DATA_SOURCE 0 priv $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 i unit_array_size
LOCK2 &ndev->tx_global_lock
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct net_device)->tx_global_lock

drivers/net/ethernet/spacemit/k1_emac.c emac_tx_mem_map() -> emac_free_tx_buf()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->ndev 4096-ptr_max
PARAM_VALUE 0 priv->pdev->dev.iommu->pci_32bit_workaround 0-1
CAPPED_DATA 0 priv->tx_ring.tail 1
DATA_SOURCE 0 priv $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 i unit_array_size
HALF_LOCKED2 &ndev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read