Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 496 (as a function)
- net/switchdev/switchdev.c, line 896 (as a function)
Referenced in 11 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 3076
- drivers/net/ethernet/intel/ice/ice_eswitch_br.c, line 871
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 1753
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, line 4080
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c, line 627
- drivers/net/ethernet/mscc/ocelot_net.c, line 1714
- drivers/net/ethernet/ti/am65-cpsw-switchdev.c, line 489
- drivers/net/ethernet/ti/cpsw_switchdev.c, line 499
- drivers/net/ethernet/ti/icssg/icssg_switchdev.c, line 434
- drivers/net/ethernet/ti/icssm/icssm_switchdev.c, line 284
- net/switchdev/switchdev.c, line 910
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_switchdev_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 7469978050755936256 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/ti/cpsw_switchdev.c cpsw_switchdev_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 4635529673293881344 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 1518704980176310272 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 0,4096-ptr_max |
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 4194197070060797952 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_switchdev_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 2460423119761354752 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/ti/icssm/icssm_switchdev.c icssm_prueth_sw_blocking_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 756141356786192384 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/intel/ice/ice_eswitch_br.c ice_eswitch_br_event_blocking() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 4374865156944068608 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_switchdev_blk_event() -> switchdev_handle_port_obj_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | del_cb | 4835760882645241856 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | port_obj_info | $2 |
| PARAM_COMPARE | 0 | dev | == $1->dev |
| PARAM_COMPARE | 0 | dev | == $1->dev |