Documented in 1 files:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/net/ethernet/intel/ice/ice_main.c ice_set_rx_mode() -> ice_is_switchdev_running()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &netdev->addr_list_lock
HALF_LOCKED2 bh
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_update_repr() -> ice_is_switchdev_running()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &pf->lag_mutex

drivers/net/ethernet/intel/ice/ice_txrx.c ice_xmit_frame_ring() -> ice_is_switchdev_running()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &netdev->tx_global_lock
HALF_LOCKED2 &txq->_xmit_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_is_fltr_pf_tx_lldp() -> ice_is_switchdev_running()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte

drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_set_tx_topology() -> ice_is_switchdev_running()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
DATA_SOURCE 0 pf $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &pf->vfs.table_lock

drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_changeupper_event() -> ice_is_switchdev_running()

Type Parameter Key Value
UNITS 0 pf unit_byte
LOCK2 &pf->lag_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ice_pf)->lag_mutex

drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_changeupper_event() -> ice_is_switchdev_running()

Type Parameter Key Value
UNITS 0 pf unit_byte
LOCK2 &pf->lag_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ice_pf)->lag_mutex

drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_chk_comp() -> ice_is_switchdev_running()

Type Parameter Key Value
PARAM_VALUE 0 pf 4096-ptr_max
UNITS 0 pf unit_byte
LOCK2 &pf->lag_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ice_pf)->lag_mutex

drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_is_switchdev_running() -> ice_is_switchdev_running()

Type Parameter Key Value
PARAM_VALUE 0 pf 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 pf unit_byte
LOCK2 rcu_read