Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/intel/ice/ice_eswitch.c, line 219
- drivers/net/ethernet/intel/ice/ice_eswitch_br.c
- drivers/net/ethernet/intel/ice/ice_ethtool.c
- drivers/net/ethernet/intel/ice/ice_repr.c
- drivers/net/ethernet/intel/ice/ice_tc_lib.c
Smatch caller information:
drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_port_start_xmit() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &netdev->tx_global_lock |
drivers/net/ethernet/intel/ice/ice_ethtool.c ice_repr_ethtool_reset() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/intel/ice/ice_ethtool.c ice_repr_get_drvinfo() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &us_ibdev->usdev_lock | ||
| HALF_LOCKED2 | global &bnx2fc_dev_lock | ||
| HALF_LOCKED2 | global &ft_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/ice/ice_ethtool.c ice_repr_get_ethtool_stats() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
drivers/net/ethernet/intel/ice/ice_ethtool.c ice_repr_get_strings() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues |
drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_tc_setup_action() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_tc_setup_action() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | netdev | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_tc_setup_action() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_rx_stats() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_sp_stats64() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_vf_open() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 0 | netdev->rtnl_link_ops | (-1),288 |
| DATA_SOURCE | 0 | netdev | $0 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | netdev->flags | 0-527873[c] |
| USER_DATA | 0 | netdev->group | s32min-s32max |
| USER_DATA | 0 | netdev->ifindex | s32min-s32max |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | netdev->num_tc | 2-16[c] |
| USER_DATA | 0 | netdev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | *netdev->dev_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| USER_PTR | 0 | netdev->name | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_vf_stop() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| BUF_SIZE | 0 | netdev->dcbnl_ops | (-1),424 |
| BUF_SIZE | 0 | netdev->dev.parent | (-1),1616 |
| BUF_SIZE | 0 | netdev->dev.type | (-1),48 |
| BUF_SIZE | 0 | netdev->devlink_port | (-1),472 |
| BUF_SIZE | 0 | netdev->ethtool_ops | (-1),656 |
| BUF_SIZE | 0 | netdev->header_ops | (-1)-0,48 |
| BUF_SIZE | 0 | netdev->ieee80211_ptr | (-1),2512 |
| BUF_SIZE | 0 | netdev->ieee802154_ptr | (-1),272 |
| BUF_SIZE | 0 | netdev->ml_priv | (-1),48 |
| BUF_SIZE | 0 | netdev->name_node | (-1),64 |
| BUF_SIZE | 0 | netdev->name_node->name | (-1),16 |
| BUF_SIZE | 0 | netdev->nd_net.net | (-1),10304,10432,10624 |
| BUF_SIZE | 0 | netdev->netdev_ops | (-1),760 |
| BUF_SIZE | 0 | netdev->qdisc_tx_busylock | (-1),16 |
| BUF_SIZE | 0 | netdev->queue_mgmt_ops | (-1),80 |
| BUF_SIZE | 0 | netdev->rtnl_link_ops | (-1),288 |
| BUF_SIZE | 0 | netdev->stat_ops | (-1),24 |
| BUF_SIZE | 0 | netdev->sysfs_rx_queue_group | (-1),48 |
| BUF_SIZE | 0 | netdev->xdp_metadata_ops | (-1),24 |
| DATA_SOURCE | 0 | netdev | $0 |
| STR_LEN | 0 | netdev->ieee80211_ptr->wiphy | (-1),5-6 |
| STR_LEN | 0 | netdev->name | (-1),15 |
| STR_LEN | 0 | netdev->name_node->name | (-1),15 |
| STR_LEN | 0 | netdev->nd_net.net | (-1) |
| STR_LEN | 0 | netdev->rtnl_link_ops->kind | (-1),13 |
| NOSPEC | 0 | netdev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | netdev->max_mtu | 68-u16max |
| USER_DATA | 0 | netdev->flags | 0-527873[c] |
| USER_DATA | 0 | netdev->group | s32min-s32max |
| USER_DATA | 0 | netdev->ifindex | s32min-s32max |
| USER_DATA | 0 | netdev->mtu | 0-s32max[c] |
| USER_DATA | 0 | netdev->num_tc | 2-16[c] |
| USER_DATA | 0 | netdev->real_num_rx_queues | 1-s32max[c] |
| USER_DATA | 0 | netdev->threaded | 0-255 |
| USER_DATA | 0 | *netdev->dev_addr | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | netdev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->name | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->phydev->attached_dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | netdev->tx_queue_len | |
| USER_PTR | 0 | netdev->name | |
| USER_PTR | 0 | netdev->name_node->name | |
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | 0 | &netdev->lock |
drivers/net/ethernet/intel/ice/ice_eswitch_br.c ice_eswitch_br_netdev_to_port() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/ice/ice_eswitch_br.c ice_eswitch_br_port_link() -> ice_netdev_to_repr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| DATA_SOURCE | 0 | netdev | $1 |