Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock

drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
PARAM_VALUE 0 field 4096-ptr_max
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock

drivers/net/ethernet/sfc/ethtool_common.c efx_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
PARAM_VALUE 0 field 4096-ptr_max
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock

drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock

drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
PARAM_VALUE 0 field 4096-ptr_max
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock

drivers/net/ethernet/sfc/siena/ethtool_common.c efx_siena_ethtool_get_stats() -> (struct efx_sw_stat_desc)->get_stat()

Type Parameter Key Value
PARAM_VALUE 0 field 4096-ptr_max
LOCK2 &efx->stats_lock
LOCK2 bh
TYPE_LOCK (struct efx_nic)->stats_lock