Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_get_ethtool_stats() -> mtk_stats_update_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mac | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->hw | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->hw_stats | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &hwstats->stats_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mtk_hw_stats)->stats_lock |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_get_stats64() -> mtk_stats_update_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mac | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->hw_stats | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hw_stats->stats_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct mtk_hw_stats)->stats_lock |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_stats_update() -> mtk_stats_update_mac()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mac | 4096-ptr_max |
| PARAM_VALUE | 0 | mac->hw_stats | 1-u64max |
| NOCHECK_CALL |