Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 460 (as a function)
- net/switchdev/switchdev.c, line 689 (as a function)
Referenced in 4 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 3053
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c, line 522
- net/dsa/user.c, line 3792
- net/switchdev/switchdev.c, line 708
Smatch caller information:
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_event() -> switchdev_handle_fdb_event_to_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | event | 3-4 |
| PARAM_VALUE | 2 | fdb_info | 4096-ptr_max |
| PARAM_VALUE | 5 | mod_cb | 4114567765343399936 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | event | $1 |
| DATA_SOURCE | 2 | fdb_info | $2 |
| PARAM_COMPARE | 0 | dev | == $2->dev |
| PARAM_COMPARE | 0 | dev | == $2->dev |
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_switchdev_event() -> switchdev_handle_fdb_event_to_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | event | 3-4 |
| PARAM_VALUE | 2 | fdb_info | 4096-ptr_max |
| PARAM_VALUE | 5 | mod_cb | 8226127125905768448 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | event | $1 |
| DATA_SOURCE | 2 | fdb_info | $2 |
| PARAM_COMPARE | 0 | dev | == $2->dev |
| PARAM_COMPARE | 0 | dev | == $2->dev |
net/dsa/user.c dsa_user_switchdev_event() -> switchdev_handle_fdb_event_to_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | event | 3-4 |
| PARAM_VALUE | 2 | fdb_info | 4096-ptr_max |
| PARAM_VALUE | 5 | mod_cb | 1379624553007894528 |
| DATA_SOURCE | 0 | dev | r switchdev_notifier_info_to_dev |
| DATA_SOURCE | 1 | event | $1 |
| DATA_SOURCE | 2 | fdb_info | $2 |
| PARAM_COMPARE | 0 | dev | == $2->dev |
| PARAM_COMPARE | 0 | dev | == $2->dev |