Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 473 (as a function)
- net/switchdev/switchdev.c, line 785 (as a function)
Referenced in 11 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 3071
- drivers/net/ethernet/intel/ice/ice_eswitch_br.c, line 866
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c, line 1748
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c, line 4072
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c, line 622
- drivers/net/ethernet/mscc/ocelot_net.c, line 1709
- drivers/net/ethernet/ti/am65-cpsw-switchdev.c, line 484
- drivers/net/ethernet/ti/cpsw_switchdev.c, line 494
- drivers/net/ethernet/ti/icssg/icssg_switchdev.c, line 429
- drivers/net/ethernet/ti/icssm/icssm_switchdev.c, line 278
- net/switchdev/switchdev.c, line 800
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_switchdev_blocking_event() -> switchdev_handle_port_obj_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 5218442862542991360 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 2099441632218763264 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 8673813761107320832 |
| 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_add()
| 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 | add_cb | 469135679710216192 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 2935213165803528192 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 8490252009428631552 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 332097756592979968 |
| 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_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_obj_info | 4096-ptr_max |
| PARAM_VALUE | 3 | add_cb | 1457228656893779968 |
| 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 |