Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 15 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 6983402343843880960
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/mscc/ocelot_net.c ocelot_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 6983402343843880960
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/renesas/rswitch_l2.c rswitch_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 2616203108916101120
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/renesas/rswitch_l2.c rswitch_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 2616203108916101120
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 7177560456412680192
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/ti/cpsw_switchdev.c cpsw_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 7177560456412680192
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 4499794356401487872
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 port_attr_info $1

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 588327002214305792
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 588327002214305792
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 770368093235900416
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 770368093235900416
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 6136741923466448896
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c lan966x_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 6136741923466448896
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 4584765540420235264
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 4584765540420235264
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 5107127687001210880
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/adi/adin1110.c adin1110_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 1427992241510010880
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_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_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 7312185608257449984
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

drivers/net/ethernet/marvell/prestera/prestera_switchdev.c prestera_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 7312185608257449984
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

net/dsa/user.c dsa_user_switchdev_blocking_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 797677593108025344
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev

net/dsa/user.c dsa_user_switchdev_event() -> switchdev_handle_port_attr_set()

Type Parameter Key Value
PARAM_VALUE 1 port_attr_info 4096-ptr_max
PARAM_VALUE 3 set_cb 797677593108025344
DATA_SOURCE 0 dev r switchdev_notifier_info_to_dev
DATA_SOURCE 1 port_attr_info $2
PARAM_COMPARE 0 dev == $1->dev
PARAM_COMPARE 0 dev == $1->dev