Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 11 files:

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