Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/intel/igc/igc_main.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
- net/ethtool/mm.c, line 430
Smatch caller information:
drivers/net/ethernet/intel/igc/igc_main.c igc_watchdog_task() -> ethtool_mmsv_link_state_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmsv | 4096-ptr_max |
| PARAM_VALUE | 0 | mmsv->pmac_enabled | 1 |
| PARAM_VALUE | 1 | up | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/intel/igc/igc_main.c igc_watchdog_task() -> ethtool_mmsv_link_state_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmsv | 4096-ptr_max |
| PARAM_VALUE | 0 | mmsv->pmac_enabled | 1 |
| PARAM_VALUE | 1 | up | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_link_down() -> ethtool_mmsv_link_state_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmsv | 4096-ptr_max |
| PARAM_VALUE | 1 | up | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pl->state_mutex | ||
| HALF_LOCKED2 | global &dsa2_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_mac_link_up() -> ethtool_mmsv_link_state_handle()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmsv | 4096-ptr_max |
| PARAM_VALUE | 1 | up | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pl->phydev_mutex | ||
| LOCK2 | &pl->state_mutex | ||
| HALF_LOCKED2 | &phy->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct phylink)->phydev_mutex | ||
| TYPE_LOCK | (struct phylink)->state_mutex |