Lines Matching refs:tp_new
1856 struct tcf_proto *tp_new, in tcf_chain_tp_insert_unique() argument
1866 if (tcf_proto_exists_destroying(chain, tp_new)) { in tcf_chain_tp_insert_unique()
1868 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1875 err = tcf_chain_tp_insert(chain, &chain_info, tp_new); in tcf_chain_tp_insert_unique()
1879 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1880 tp_new = tp; in tcf_chain_tp_insert_unique()
1882 tcf_proto_destroy(tp_new, rtnl_held, false, NULL); in tcf_chain_tp_insert_unique()
1883 tp_new = ERR_PTR(err); in tcf_chain_tp_insert_unique()
1886 return tp_new; in tcf_chain_tp_insert_unique()
2232 struct tcf_proto *tp_new = NULL; in tc_new_tfilter() local
2258 tp_new = tcf_proto_create(name, protocol, prio, chain, in tc_new_tfilter()
2260 if (IS_ERR(tp_new)) { in tc_new_tfilter()
2261 err = PTR_ERR(tp_new); in tc_new_tfilter()
2266 tp = tcf_chain_tp_insert_unique(chain, tp_new, protocol, prio, in tc_new_tfilter()