mall_tc_entry 1333 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_mall_tc_entry *mall_tc_entry; mall_tc_entry 1335 drivers/net/ethernet/mellanox/mlxsw/spectrum.c list_for_each_entry(mall_tc_entry, &port->mall_tc_list, list) mall_tc_entry 1336 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (mall_tc_entry->cookie == cookie) mall_tc_entry 1337 drivers/net/ethernet/mellanox/mlxsw/spectrum.c return mall_tc_entry; mall_tc_entry 1422 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_mall_tc_entry *mall_tc_entry; mall_tc_entry 1432 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mall_tc_entry = kzalloc(sizeof(*mall_tc_entry), GFP_KERNEL); mall_tc_entry 1433 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!mall_tc_entry) mall_tc_entry 1435 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mall_tc_entry->cookie = f->cookie; mall_tc_entry 1442 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mall_tc_entry->type = MLXSW_SP_PORT_MALL_MIRROR; mall_tc_entry 1443 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mirror = &mall_tc_entry->mirror; mall_tc_entry 1449 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mall_tc_entry->type = MLXSW_SP_PORT_MALL_SAMPLE; mall_tc_entry 1459 drivers/net/ethernet/mellanox/mlxsw/spectrum.c list_add_tail(&mall_tc_entry->list, &mlxsw_sp_port->mall_tc_list); mall_tc_entry 1463 drivers/net/ethernet/mellanox/mlxsw/spectrum.c kfree(mall_tc_entry); mall_tc_entry 1470 drivers/net/ethernet/mellanox/mlxsw/spectrum.c struct mlxsw_sp_port_mall_tc_entry *mall_tc_entry; mall_tc_entry 1472 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mall_tc_entry = mlxsw_sp_port_mall_tc_entry_find(mlxsw_sp_port, mall_tc_entry 1474 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (!mall_tc_entry) { mall_tc_entry 1478 drivers/net/ethernet/mellanox/mlxsw/spectrum.c list_del(&mall_tc_entry->list); mall_tc_entry 1480 drivers/net/ethernet/mellanox/mlxsw/spectrum.c switch (mall_tc_entry->type) { mall_tc_entry 1483 drivers/net/ethernet/mellanox/mlxsw/spectrum.c &mall_tc_entry->mirror); mall_tc_entry 1492 drivers/net/ethernet/mellanox/mlxsw/spectrum.c kfree(mall_tc_entry); mall_tc_entry 852 net/dsa/slave.c struct dsa_mall_tc_entry *mall_tc_entry; mall_tc_entry 854 net/dsa/slave.c list_for_each_entry(mall_tc_entry, &p->mall_tc_list, list) mall_tc_entry 855 net/dsa/slave.c if (mall_tc_entry->cookie == cookie) mall_tc_entry 856 net/dsa/slave.c return mall_tc_entry; mall_tc_entry 867 net/dsa/slave.c struct dsa_mall_tc_entry *mall_tc_entry; mall_tc_entry 891 net/dsa/slave.c mall_tc_entry = kzalloc(sizeof(*mall_tc_entry), GFP_KERNEL); mall_tc_entry 892 net/dsa/slave.c if (!mall_tc_entry) mall_tc_entry 895 net/dsa/slave.c mall_tc_entry->cookie = cls->cookie; mall_tc_entry 896 net/dsa/slave.c mall_tc_entry->type = DSA_PORT_MALL_MIRROR; mall_tc_entry 897 net/dsa/slave.c mirror = &mall_tc_entry->mirror; mall_tc_entry 906 net/dsa/slave.c kfree(mall_tc_entry); mall_tc_entry 910 net/dsa/slave.c list_add_tail(&mall_tc_entry->list, &p->mall_tc_list); mall_tc_entry 920 net/dsa/slave.c struct dsa_mall_tc_entry *mall_tc_entry; mall_tc_entry 926 net/dsa/slave.c mall_tc_entry = dsa_slave_mall_tc_entry_find(dev, cls->cookie); mall_tc_entry 927 net/dsa/slave.c if (!mall_tc_entry) mall_tc_entry 930 net/dsa/slave.c list_del(&mall_tc_entry->list); mall_tc_entry 932 net/dsa/slave.c switch (mall_tc_entry->type) { mall_tc_entry 934 net/dsa/slave.c ds->ops->port_mirror_del(ds, dp->index, &mall_tc_entry->mirror); mall_tc_entry 940 net/dsa/slave.c kfree(mall_tc_entry);