switchdev_work 2775 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work, switchdev_work 2780 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 2785 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c fdb_info = &switchdev_work->fdb_info; switchdev_work 2793 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switch (switchdev_work->event) { switchdev_work 2823 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work) switchdev_work 2826 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 2833 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (switchdev_work->event != SWITCHDEV_FDB_ADD_TO_DEVICE && switchdev_work 2834 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->event != SWITCHDEV_FDB_DEL_TO_DEVICE) switchdev_work 2837 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (switchdev_work->event == SWITCHDEV_FDB_ADD_TO_DEVICE && switchdev_work 2838 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c !switchdev_work->fdb_info.added_by_user) switchdev_work 2856 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->fdb_info.vid); switchdev_work 2864 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_bridge_vxlan_fdb_event(mlxsw_sp, switchdev_work, fid, switchdev_work 2873 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_switchdev_event_work *switchdev_work = switchdev_work 2875 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 2882 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_bridge_nve_fdb_event(switchdev_work); switchdev_work 2890 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switch (switchdev_work->event) { switchdev_work 2892 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c fdb_info = &switchdev_work->fdb_info; switchdev_work 2903 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c fdb_info = &switchdev_work->fdb_info; switchdev_work 2918 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(switchdev_work->fdb_info.addr); switchdev_work 2919 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(switchdev_work); switchdev_work 2926 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work) switchdev_work 2930 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 2939 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info = &switchdev_work->vxlan_fdb_info; switchdev_work 2998 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work) switchdev_work 3002 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 3010 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_fdb_info = &switchdev_work->vxlan_fdb_info; switchdev_work 3041 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_switchdev_event_work *switchdev_work = switchdev_work 3043 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct net_device *dev = switchdev_work->dev; switchdev_work 3060 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switch (switchdev_work->event) { switchdev_work 3062 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_vxlan_fdb_add(mlxsw_sp, switchdev_work); switchdev_work 3065 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_vxlan_fdb_del(mlxsw_sp, switchdev_work); switchdev_work 3071 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(switchdev_work); switchdev_work 3077 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work, switchdev_work 3080 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct vxlan_dev *vxlan = netdev_priv(switchdev_work->dev); switchdev_work 3112 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->vxlan_fdb_info = *vxlan_fdb_info; switchdev_work 3122 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_switchdev_event_work *switchdev_work; switchdev_work 3144 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); switchdev_work 3145 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!switchdev_work) switchdev_work 3148 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->dev = dev; switchdev_work 3149 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->event = event; switchdev_work 3159 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c INIT_WORK(&switchdev_work->work, switchdev_work 3161 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c memcpy(&switchdev_work->fdb_info, ptr, switchdev_work 3162 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c sizeof(switchdev_work->fdb_info)); switchdev_work 3163 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); switchdev_work 3164 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!switchdev_work->fdb_info.addr) switchdev_work 3166 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, switchdev_work 3176 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c INIT_WORK(&switchdev_work->work, switchdev_work 3178 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = mlxsw_sp_switchdev_vxlan_work_prepare(switchdev_work, switchdev_work 3185 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(switchdev_work); switchdev_work 3189 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_core_schedule_work(&switchdev_work->work); switchdev_work 3195 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(switchdev_work); switchdev_work 2757 drivers/net/ethernet/rocker/rocker_main.c struct rocker_switchdev_event_work *switchdev_work = switchdev_work 2759 drivers/net/ethernet/rocker/rocker_main.c struct rocker_port *rocker_port = switchdev_work->rocker_port; switchdev_work 2764 drivers/net/ethernet/rocker/rocker_main.c switch (switchdev_work->event) { switchdev_work 2766 drivers/net/ethernet/rocker/rocker_main.c fdb_info = &switchdev_work->fdb_info; switchdev_work 2777 drivers/net/ethernet/rocker/rocker_main.c fdb_info = &switchdev_work->fdb_info; switchdev_work 2787 drivers/net/ethernet/rocker/rocker_main.c kfree(switchdev_work->fdb_info.addr); switchdev_work 2788 drivers/net/ethernet/rocker/rocker_main.c kfree(switchdev_work); switchdev_work 2797 drivers/net/ethernet/rocker/rocker_main.c struct rocker_switchdev_event_work *switchdev_work; switchdev_work 2808 drivers/net/ethernet/rocker/rocker_main.c switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); switchdev_work 2809 drivers/net/ethernet/rocker/rocker_main.c if (WARN_ON(!switchdev_work)) switchdev_work 2812 drivers/net/ethernet/rocker/rocker_main.c INIT_WORK(&switchdev_work->work, rocker_switchdev_event_work); switchdev_work 2813 drivers/net/ethernet/rocker/rocker_main.c switchdev_work->rocker_port = rocker_port; switchdev_work 2814 drivers/net/ethernet/rocker/rocker_main.c switchdev_work->event = event; switchdev_work 2819 drivers/net/ethernet/rocker/rocker_main.c memcpy(&switchdev_work->fdb_info, ptr, switchdev_work 2820 drivers/net/ethernet/rocker/rocker_main.c sizeof(switchdev_work->fdb_info)); switchdev_work 2821 drivers/net/ethernet/rocker/rocker_main.c switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); switchdev_work 2822 drivers/net/ethernet/rocker/rocker_main.c if (unlikely(!switchdev_work->fdb_info.addr)) { switchdev_work 2823 drivers/net/ethernet/rocker/rocker_main.c kfree(switchdev_work); switchdev_work 2827 drivers/net/ethernet/rocker/rocker_main.c ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, switchdev_work 2833 drivers/net/ethernet/rocker/rocker_main.c kfree(switchdev_work); switchdev_work 2838 drivers/net/ethernet/rocker/rocker_main.c &switchdev_work->work); switchdev_work 1190 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct ethsw_switchdev_event_work *switchdev_work = switchdev_work 1192 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct net_device *dev = switchdev_work->dev; switchdev_work 1197 drivers/staging/fsl-dpaa2/ethsw/ethsw.c fdb_info = &switchdev_work->fdb_info; switchdev_work 1199 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switch (switchdev_work->event) { switchdev_work 1226 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(switchdev_work->fdb_info.addr); switchdev_work 1227 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(switchdev_work); switchdev_work 1236 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct ethsw_switchdev_event_work *switchdev_work; switchdev_work 1245 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); switchdev_work 1246 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!switchdev_work) switchdev_work 1249 drivers/staging/fsl-dpaa2/ethsw/ethsw.c INIT_WORK(&switchdev_work->work, ethsw_switchdev_event_work); switchdev_work 1250 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switchdev_work->dev = dev; switchdev_work 1251 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switchdev_work->event = event; switchdev_work 1256 drivers/staging/fsl-dpaa2/ethsw/ethsw.c memcpy(&switchdev_work->fdb_info, ptr, switchdev_work 1257 drivers/staging/fsl-dpaa2/ethsw/ethsw.c sizeof(switchdev_work->fdb_info)); switchdev_work 1258 drivers/staging/fsl-dpaa2/ethsw/ethsw.c switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); switchdev_work 1259 drivers/staging/fsl-dpaa2/ethsw/ethsw.c if (!switchdev_work->fdb_info.addr) switchdev_work 1262 drivers/staging/fsl-dpaa2/ethsw/ethsw.c ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, switchdev_work 1269 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(switchdev_work); switchdev_work 1273 drivers/staging/fsl-dpaa2/ethsw/ethsw.c queue_work(ethsw_owq, &switchdev_work->work); switchdev_work 1278 drivers/staging/fsl-dpaa2/ethsw/ethsw.c kfree(switchdev_work); switchdev_work 1569 net/dsa/slave.c struct dsa_switchdev_event_work *switchdev_work = switchdev_work 1571 net/dsa/slave.c struct net_device *dev = switchdev_work->dev; switchdev_work 1577 net/dsa/slave.c switch (switchdev_work->event) { switchdev_work 1579 net/dsa/slave.c fdb_info = &switchdev_work->fdb_info; switchdev_work 1594 net/dsa/slave.c fdb_info = &switchdev_work->fdb_info; switchdev_work 1607 net/dsa/slave.c kfree(switchdev_work->fdb_info.addr); switchdev_work 1608 net/dsa/slave.c kfree(switchdev_work); switchdev_work 1614 net/dsa/slave.c switchdev_work, switchdev_work 1618 net/dsa/slave.c memcpy(&switchdev_work->fdb_info, fdb_info, switchdev_work 1619 net/dsa/slave.c sizeof(switchdev_work->fdb_info)); switchdev_work 1620 net/dsa/slave.c switchdev_work->fdb_info.addr = kzalloc(ETH_ALEN, GFP_ATOMIC); switchdev_work 1621 net/dsa/slave.c if (!switchdev_work->fdb_info.addr) switchdev_work 1623 net/dsa/slave.c ether_addr_copy((u8 *)switchdev_work->fdb_info.addr, switchdev_work 1633 net/dsa/slave.c struct dsa_switchdev_event_work *switchdev_work; switchdev_work 1646 net/dsa/slave.c switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); switchdev_work 1647 net/dsa/slave.c if (!switchdev_work) switchdev_work 1650 net/dsa/slave.c INIT_WORK(&switchdev_work->work, switchdev_work 1652 net/dsa/slave.c switchdev_work->dev = dev; switchdev_work 1653 net/dsa/slave.c switchdev_work->event = event; switchdev_work 1658 net/dsa/slave.c if (dsa_slave_switchdev_fdb_work_init(switchdev_work, ptr)) switchdev_work 1663 net/dsa/slave.c kfree(switchdev_work); switchdev_work 1667 net/dsa/slave.c dsa_schedule_work(&switchdev_work->work); switchdev_work 1671 net/dsa/slave.c kfree(switchdev_work);