bridge_vlan 382 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 384 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_vlan 385 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_vlan->vid == vid) bridge_vlan 386 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_vlan; bridge_vlan 395 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 397 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = kzalloc(sizeof(*bridge_vlan), GFP_KERNEL); bridge_vlan 398 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_vlan) bridge_vlan 401 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c INIT_LIST_HEAD(&bridge_vlan->port_vlan_list); bridge_vlan 402 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan->vid = vid; bridge_vlan 403 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_add(&bridge_vlan->list, &bridge_port->vlans_list); bridge_vlan 405 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_vlan; bridge_vlan 409 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_destroy(struct mlxsw_sp_bridge_vlan *bridge_vlan) bridge_vlan 411 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_del(&bridge_vlan->list); bridge_vlan 412 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c WARN_ON(!list_empty(&bridge_vlan->port_vlan_list)); bridge_vlan 413 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c kfree(bridge_vlan); bridge_vlan 419 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 421 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); bridge_vlan 422 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (bridge_vlan) bridge_vlan 423 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c return bridge_vlan; bridge_vlan 428 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c static void mlxsw_sp_bridge_vlan_put(struct mlxsw_sp_bridge_vlan *bridge_vlan) bridge_vlan 430 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (list_empty(&bridge_vlan->port_vlan_list)) bridge_vlan 431 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_destroy(bridge_vlan); bridge_vlan 436 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan, bridge_vlan 441 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list, bridge_vlan 446 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan->vid, state); bridge_vlan 458 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 472 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_vlan 474 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan, state); bridge_vlan 484 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry_continue_reverse(bridge_vlan, bridge_vlan 486 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_bridge_vlan_stp_set(mlxsw_sp_port, bridge_vlan, bridge_vlan 493 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan, bridge_vlan 499 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list, bridge_vlan 518 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 521 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_vlan 523 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan, bridge_vlan 533 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry_continue_reverse(bridge_vlan, bridge_vlan 535 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_port_bridge_vlan_flood_set(mlxsw_sp_port, bridge_vlan, bridge_vlan 542 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan, bridge_vlan 546 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c u16 vid = bridge_vlan->vid; bridge_vlan 548 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(mlxsw_sp_port_vlan, &bridge_vlan->port_vlan_list, bridge_vlan 563 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 566 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry(bridge_vlan, &bridge_port->vlans_list, list) { bridge_vlan 568 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan, set); bridge_vlan 576 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c list_for_each_entry_continue_reverse(bridge_vlan, bridge_vlan 579 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan, !set); bridge_vlan 970 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 993 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_get(bridge_port, vid); bridge_vlan 994 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (!bridge_vlan) { bridge_vlan 1000 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c &bridge_vlan->port_vlan_list); bridge_vlan 1022 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct mlxsw_sp_bridge_vlan *bridge_vlan; bridge_vlan 1033 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c bridge_vlan = mlxsw_sp_bridge_vlan_find(bridge_port, vid); bridge_vlan 1034 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c last_port = list_is_singular(&bridge_vlan->port_vlan_list); bridge_vlan 1037 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_bridge_vlan_put(bridge_vlan);