Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

net/ethtool/strset.c strset_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/plca.c ethnl_set_plca() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 0 req_info 4096-ptr_max
PARAM_VALUE 0 req_info->dev 4096-ptr_max
PARAM_VALUE 0 req_info->dev->cfg_pending 1-u64max
PARAM_VALUE 0 req_info->dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 req_info->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max
PARAM_VALUE 0 req_info->dev->ethtool_ops->supported_ring_params 0,3,5,12,20,32-33,96
PARAM_VALUE 0 req_info->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 req_info->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 req_info->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 req_info->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 req_info->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 req_info->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 req_info->dev_tracker 0,4096-ptr_max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 2 header 1
PARAM_VALUE 3 extack 4971238048455385088
BUF_SIZE 0 req_info 24,32,40
BUF_SIZE 0 req_info 24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max
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/plca.c plca_get_cfg_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/plca.c plca_get_status_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/phy.c phy_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/mse.c mse_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/stats.c stats_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 2
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/linkstate.c linkstate_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max

net/ethtool/cabletest.c ethnl_act_cable_test() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 0 req_info 4449307423023366144
PARAM_VALUE 0 req_info->dev 4096-ptr_max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 2 header 1
PARAM_VALUE 3 extack 4971238048455385088
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
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/cabletest.c ethnl_act_cable_test_tdr() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 0 req_info 5246262706490454016
PARAM_VALUE 0 req_info->dev 4096-ptr_max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 2 header 1
PARAM_VALUE 3 extack 4971238048455385088
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
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/pse-pd.c ethnl_set_pse() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 0 req_info 4096-ptr_max
PARAM_VALUE 0 req_info->dev 4096-ptr_max
PARAM_VALUE 0 req_info->dev->cfg_pending 1-u64max
PARAM_VALUE 0 req_info->dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 req_info->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max
PARAM_VALUE 0 req_info->dev->ethtool_ops->supported_ring_params 0,3,5,12,20,32-33,96
PARAM_VALUE 0 req_info->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 req_info->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 req_info->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 req_info->dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 req_info->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 req_info->dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 req_info->dev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 req_info->dev_tracker 0,4096-ptr_max
PARAM_VALUE 1 tb 4096-ptr_max
PARAM_VALUE 2 header 1
PARAM_VALUE 3 extack 4971238048455385088
BUF_SIZE 0 req_info 24,32,40
BUF_SIZE 0 req_info 24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max
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/pse-pd.c pse_prepare_data() -> ethnl_req_get_phydev()

Type Parameter Key Value
PARAM_VALUE 2 header 1
BUF_SIZE 0 req_info (-1),24,32,40
BUF_SIZE 0 req_info (-1),24,32,40
DATA_SOURCE 0 req_info $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 extack->miss_nest->nla_type 0-u16max