Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/dsa/dsa.c dsa_switch_probe() -> dsa_switch_release_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->num_ports | 1-u32max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_config | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_disable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_enable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_down | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_up | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_select_pcs | 0,4096-ptr_max |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds->dev | (-1),1616 |
| BUF_SIZE | 0 | ds->ops | (-1),952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | (-1),80 |
| BUF_SIZE | 0 | ds->priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ds->num_ports | |
| UNITS | 0 | ds | unit_byte |
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_switch_probe() -> dsa_switch_release_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->cd | 1-u64max |
| PARAM_VALUE | 0 | ds->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->of_node | 0 |
| PARAM_VALUE | 0 | ds->dev->platform_data | 1-u64max |
| PARAM_VALUE | 0 | ds->dst | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->num_ports | 1-u32max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_config | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_disable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_enable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_down | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_up | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_select_pcs | 0,4096-ptr_max |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds->dev | (-1),1616 |
| BUF_SIZE | 0 | ds->ops | (-1),952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | (-1),80 |
| BUF_SIZE | 0 | ds->priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ds->num_ports | |
| UNITS | 0 | ds | unit_byte |
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_switch_probe() -> dsa_switch_release_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->ports.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->max_num_bridges | 0,3,48 |
| PARAM_VALUE | 0 | ds->num_lag_ids | 0,2,16 |
| PARAM_VALUE | 0 | ds->num_ports | 1-s32max |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0,8 |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_config | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_disable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_enable_tx_lpi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_down | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_link_up | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->phylink_mac_ops->mac_select_pcs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->user_mii_bus | 0,4096-ptr_max |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds | (-1),144 |
| BUF_SIZE | 0 | ds->dev | (-1),1616 |
| BUF_SIZE | 0 | ds->ops | (-1),952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | (-1),80 |
| BUF_SIZE | 0 | ds->priv | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ds->num_ports | |
| UNITS | 0 | ds | unit_byte |
| LOCK2 | global &dsa2_mutex |
net/dsa/dsa.c dsa_switch_remove() -> dsa_switch_release_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->setup | 0 |
| BUF_SIZE | 0 | ds | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ds | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ds->dev | (-1),1616 |
| BUF_SIZE | 0 | ds->ops | (-1),952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | (-1),80 |
| DATA_SOURCE | 0 | ds | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ds->num_ports | |
| UNITS | 0 | ds | unit_byte |
| LOCK2 | global &dsa2_mutex |