Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/ethtool/tsconfig.c ethnl_set_tsconfig() -> dev_get_hwtstamp_phylib()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cfg_pending 1-u64max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 1 cfg 7779768415501103104
PARAM_VALUE 1 cfg->flags 0
PARAM_VALUE 1 cfg->ifr 0
PARAM_VALUE 1 cfg->qualifier 0
PARAM_VALUE 1 cfg->rx_filter 0
PARAM_VALUE 1 cfg->source 0
PARAM_VALUE 1 cfg->tx_type 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/ethtool/tsconfig.c tsconfig_prepare_data() -> dev_get_hwtstamp_phylib()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_hwtstamp_get 4096-ptr_max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->cpsw->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 cfg 1821713304520515584
PARAM_VALUE 1 cfg->flags 0
PARAM_VALUE 1 cfg->ifr 0
PARAM_VALUE 1 cfg->qualifier 0
PARAM_VALUE 1 cfg->rx_filter 0
PARAM_VALUE 1 cfg->source 0
PARAM_VALUE 1 cfg->tx_type 0
RX_PATH
TASK_NOT_RUNNING

net/core/dev_ioctl.c dev_get_hwtstamp() -> dev_get_hwtstamp_phylib()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_hwtstamp_get 4096-ptr_max
PARAM_VALUE 1 cfg 9054957201456492544
PARAM_VALUE 1 cfg->flags 0
PARAM_VALUE 1 cfg->ifr 851655773585498112,1747569776254316544,2680579816152653824,8721377307336359936
PARAM_VALUE 1 cfg->qualifier 0
PARAM_VALUE 1 cfg->rx_filter 0
PARAM_VALUE 1 cfg->source 0
PARAM_VALUE 1 cfg->tx_type 0
DATA_SOURCE 0 dev $0
LOCK2 &net->rtnl_mutex
LOCK2 global &rtnl_mutex
TYPE_LOCK (struct net)->rtnl_mutex

net/core/dev_ioctl.c generic_hwtstamp_get_lower() -> dev_get_hwtstamp_phylib()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_hwtstamp_get 4096-ptr_max
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 cfg $1
RX_PATH
TASK_NOT_RUNNING