Lines Matching refs:tmplt_ops
544 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops,
546 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops,
555 const struct tcf_proto_ops *tmplt_ops; in __tcf_chain_put() local
577 tmplt_ops = chain->tmplt_ops; in __tcf_chain_put()
582 tc_chain_notify_delete(tmplt_ops, tmplt_priv, chain->index, in __tcf_chain_put()
593 tc_chain_tmplt_del(tmplt_ops, tmplt_priv); in __tcf_chain_put()
2136 if (chain->tmplt_ops && chain->tmplt_ops != tp->ops) { in tc_new_tfilter()
2658 static int tc_chain_fill_node(const struct tcf_proto_ops *tmplt_ops, in tc_chain_fill_node() argument
2670 ops = tmplt_ops; in tc_chain_fill_node()
2721 if (tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_chain_notify()
2737 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, in tc_chain_notify_delete() argument
2750 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2792 chain->tmplt_ops = ops; in tc_chain_tmplt_add()
2797 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops, in tc_chain_tmplt_del() argument
2801 if (!tmplt_ops) in tc_chain_tmplt_del()
2804 tmplt_ops->tmplt_destroy(tmplt_priv); in tc_chain_tmplt_del()
2805 module_put(tmplt_ops->owner); in tc_chain_tmplt_del()
3013 err = tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_dump_chain()