Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/net/switchdev.h, line 425 (as a function)
- net/switchdev/switchdev.c, line 495 (as a function)
Referenced in 20 files:
- drivers/net/ethernet/adi/adin1110.c
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
- drivers/net/ethernet/intel/ice/ice_eswitch_br.c
- drivers/net/ethernet/marvell/prestera/prestera_switchdev.c
- drivers/net/ethernet/mellanox/mlx5/core/en/rep/bridge.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c, line 663
- drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c
- drivers/net/ethernet/mscc/ocelot_vsc7514.c, line 414
- drivers/net/ethernet/renesas/rswitch_l2.c
- drivers/net/ethernet/rocker/rocker_main.c
- drivers/net/ethernet/ti/am65-cpsw-switchdev.c
- drivers/net/ethernet/ti/cpsw_switchdev.c
- drivers/net/ethernet/ti/icssg/icssg_switchdev.c
- drivers/net/ethernet/ti/icssm/icssm_switchdev.c
- drivers/net/vxlan/vxlan_core.c
- drivers/s390/net/qeth_l2_main.c, line 922
- net/bridge/br.c
- net/dsa/user.c
- net/switchdev/switchdev.c, line 499
Smatch caller information:
drivers/net/ethernet/renesas/rswitch_l2.c rswitch_register_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 8540872302144974848 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/renesas/rswitch_l2.c rswitch_unregister_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 8540872302144974848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/ethernet/ti/cpsw_switchdev.c cpsw_switchdev_register_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 1723615187622875136 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/cpsw_switchdev.c cpsw_switchdev_unregister_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 1723615187622875136 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/rocker/rocker_main.c rocker_probe() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 5448154032679391232 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/rocker/rocker_main.c rocker_remove() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 5448154032679391232 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_register_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 7590667090314301440 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_unregister_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 7590667090314301440 |
drivers/net/ethernet/mscc/ocelot_vsc7514.c mscc_ocelot_remove() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 1893496320009912320 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fdb_fini() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 181208682657128448 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_fdb_init() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 181208682657128448 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_register_notifier_blocks() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 9045847124646498304 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_unregister_notifier_blocks() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_unregister_notifier_blocks() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 8809305865727238144 |
| NOCHECK_CALL |
drivers/net/ethernet/ti/icssm/icssm_switchdev.c icssm_prueth_sw_register_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8952231617920692224 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/icssm/icssm_switchdev.c icssm_prueth_sw_unregister_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/net/ethernet/intel/ice/ice_eswitch_br.c ice_eswitch_br_offloads_deinit() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &pf->vfs.table_lock |
drivers/net/ethernet/intel/ice/ice_eswitch_br.c ice_eswitch_br_offloads_init() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1361298911836209152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &pf->vfs.table_lock |
drivers/net/ethernet/adi/adin1110.c adin1110_setup_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6876630928022941696 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |
drivers/net/ethernet/adi/adin1110.c adin1110_unregister_notifiers() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6876630928022941696 |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/en/rep/bridge.c mlx5e_rep_bridge_cleanup() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/rep/bridge.c mlx5e_rep_bridge_init() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 7418820533874778112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_switchdev_handler_fini() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_switchdev_handler_init() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5196472672861487104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/vxlan/vxlan_core.c vxlan_cleanup_module() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 2953932888494833664 |
| NOCHECK_CALL |
drivers/net/vxlan/vxlan_core.c vxlan_init_module() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 2953932888494833664 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |
net/dsa/user.c dsa_user_register_notifier() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3885215109822955520 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |
net/dsa/user.c dsa_user_unregister_notifier() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3885215109822955520 |
net/bridge/br.c br_deinit() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3066636925973962752 |
| NOCHECK_CALL |
net/bridge/br.c br_init() -> unregister_switchdev_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3066636925973962752 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |