Lines Matching refs:tp_new
1708 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique() argument
1718 if (tcf_proto_exists_destroying(chain, tp_new)) { in tcf_chain_tp_insert_unique()
1720 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1727 err = tcf_chain_tp_insert(chain, &chain_info, tp_new); in tcf_chain_tp_insert_unique()
1731 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1732 tp_new = tp; in tcf_chain_tp_insert_unique()
1734 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1735 tp_new = ERR_PTR(err); in tcf_chain_tp_insert_unique()
1738 return tp_new; in tcf_chain_tp_insert_unique()
2071 struct tcf_proto *tp_new = NULL; in tc_new_tfilter() local
2097 tp_new = tcf_proto_create(name, protocol, prio, chain, in tc_new_tfilter()
2099 if (IS_ERR(tp_new)) { in tc_new_tfilter()
2100 err = PTR_ERR(tp_new); in tc_new_tfilter()
2105 tp = tcf_chain_tp_insert_unique(chain, tp_new, protocol, prio, in tc_new_tfilter()