Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 27 files:
- drivers/net/dsa/b53/b53_priv.h, line 290
- drivers/net/dsa/bcm_sf2.c, line 1580
- drivers/net/dsa/dsa_loop.c, line 407
- drivers/net/dsa/hirschmann/hellcreek.c
- drivers/net/dsa/ks8995.c, line 836
- drivers/net/dsa/lan9303-core.c, line 1498
- drivers/net/dsa/lantiq/lantiq_gswip.c, line 441
- drivers/net/dsa/lantiq/lantiq_gswip_common.c, line 1718
- drivers/net/dsa/lantiq/mxl-gsw1xx.c, line 797
- drivers/net/dsa/microchip/ksz_common.c, line 4050
- drivers/net/dsa/mt7530.c, line 3591
- drivers/net/dsa/mv88e6060.c, line 346
- drivers/net/dsa/mv88e6xxx/chip.c, line 7282
- drivers/net/dsa/mxl862xx/mxl862xx.c, line 2156
- drivers/net/dsa/netc/netc_main.c, line 2494
- drivers/net/dsa/ocelot/felix_vsc9959.c, line 2721
- drivers/net/dsa/ocelot/ocelot_ext.c, line 78
- drivers/net/dsa/ocelot/seville_vsc9953.c, line 993
- drivers/net/dsa/qca/ar9331.c, line 1106
- drivers/net/dsa/qca/qca8k-8xxx.c, line 2136
- drivers/net/dsa/realtek/rtl83xx.c, line 275
- drivers/net/dsa/rzn1_a5psw.c, line 1284
- drivers/net/dsa/sja1105/sja1105_main.c, line 3351
- drivers/net/dsa/vitesse-vsc73xx-core.c
- drivers/net/dsa/xrs700x/xrs700x.c, line 848
- drivers/net/dsa/yt921x.c, line 4895
- net/dsa/dsa.c, line 1604
Smatch caller information:
drivers/net/dsa/mxl862xx/mxl862xx.c mxl862xx_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/b53/b53_mmap.c b53_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/dsa/lantiq/mxl-gsw1xx.c gsw1xx_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/b53/b53_srab.c b53_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/dsa/netc/netc_main.c netc_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/b53/b53_spi.c b53_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/vitesse-vsc73xx-core.c vsc73xx_probe() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags_len | 1-u32max |
| 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->dst->setup | 1 |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->num_ports | 8 |
| PARAM_VALUE | 0 | ds->ops | 5512698389481598976 |
| PARAM_VALUE | 0 | ds->phylink_mac_ops | 1486007022347210752 |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| BUF_SIZE | 0 | ds | 144 |
| BUF_SIZE | 0 | ds->ops | 952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | 80 |
| CAPPED_DATA | 0 | ds | 1 |
| DATA_SOURCE | 0 | ds | r devm_kzalloc |
| MEM_ZERO | 0 | ds | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/vitesse-vsc73xx-core.c vsc73xx_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/dsa/b53/b53_mdio.c b53_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/xrs700x/xrs700x.c xrs700x_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/qca/ar9331.c ar9331_sw_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/ocelot/felix_vsc9959.c felix_pci_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/realtek/rtl83xx.c rtl83xx_unregister_switch() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| BUF_SIZE | 0 | ds | 144 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/dsa_loop.c dsa_loop_drv_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/mv88e6060.c mv88e6060_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 1-u64max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ds | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/qca/qca8k-8xxx.c qca8k_sw_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/lantiq/lantiq_gswip_common.c gswip_probe_common() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags_len | 1-u32max |
| 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->dst->setup | 1 |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->num_ports | 1-s32max |
| PARAM_VALUE | 0 | ds->ops | 4679628302624788480 |
| PARAM_VALUE | 0 | ds->phylink_mac_ops | 5882091996972871680 |
| PARAM_VALUE | 0 | ds->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | *ds->dev->p->deferred_probe_reason | 0-255 |
| BUF_SIZE | 0 | ds | 144 |
| BUF_SIZE | 0 | ds->dev | (-1),1616 |
| BUF_SIZE | 0 | ds->ops | 952 |
| BUF_SIZE | 0 | ds->phylink_mac_ops | 80 |
| BUF_SIZE | 0 | ds->priv | (-1),1264 |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | r devm_kzalloc |
| MEM_ZERO | 0 | ds | |
| MEM_ZERO | 0 | ds->priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
drivers/net/dsa/yt921x.c yt921x_mdio_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_probe() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->cd | 0 |
| PARAM_VALUE | 0 | ds->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags | 4096-ptr_max |
| PARAM_VALUE | 0 | ds->dst->lags_len | 1-u32max |
| 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->dst->setup | 1 |
| PARAM_VALUE | 0 | ds->index | 0 |
| PARAM_VALUE | 0 | ds->num_ports | 0-s32max |
| PARAM_VALUE | 0 | ds->num_tx_queues | 0,8 |
| PARAM_VALUE | 0 | ds->ops | 0,4916098878704881664 |
| PARAM_VALUE | 0 | ds->priv | 0,4096-ptr_max |
| BUF_SIZE | 0 | ds | 144 |
| BUF_SIZE | 0 | ds->dev | 0,1616 |
| BUF_SIZE | 0 | ds->ops | 0,952 |
| BUF_SIZE | 0 | ds->priv | 0,2496-u64max |
| CAPPED_DATA | 0 | ds | 1 |
| CAPPED_DATA | 0 | ds->num_ports | 1 |
| DATA_SOURCE | 0 | ds | r devm_kzalloc |
| FUZZY_MAX | 0 | ds->num_ports | 0 |
| FUZZY_MAX | 0 | ds->num_tx_queues | 8 |
| HARD_MAX | 0 | ds->num_tx_queues | 8 |
| MEM_ZERO | 0 | ds | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ds->num_ports |
drivers/net/dsa/hirschmann/hellcreek.c hellcreek_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/ks8995.c ks8995_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/sja1105/sja1105_main.c sja1105_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/ocelot/seville_vsc9953.c seville_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_unregister_switch() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/lantiq/lantiq_gswip.c gswip_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/rzn1_a5psw.c a5psw_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ds | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/ocelot/ocelot_ext.c ocelot_ext_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/mt7530.c mt7530_remove_common() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/dsa/lan9303-core.c lan9303_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/net/dsa/microchip/ksz_common.c ksz_switch_remove() -> dsa_unregister_switch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ds | unit_byte |
| HALF_LOCKED2 | &dev->mutex |