Lines Matching refs:tmplt_ops
526 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops,
528 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops,
537 const struct tcf_proto_ops *tmplt_ops; in __tcf_chain_put() local
559 tmplt_ops = chain->tmplt_ops; in __tcf_chain_put()
564 tc_chain_notify_delete(tmplt_ops, tmplt_priv, chain->index, in __tcf_chain_put()
575 tc_chain_tmplt_del(tmplt_ops, tmplt_priv); in __tcf_chain_put()
2115 if (chain->tmplt_ops && chain->tmplt_ops != tp->ops) { in tc_new_tfilter()
2639 static int tc_chain_fill_node(const struct tcf_proto_ops *tmplt_ops, in tc_chain_fill_node() argument
2651 ops = tmplt_ops; in tc_chain_fill_node()
2702 if (tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_chain_notify()
2718 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, in tc_chain_notify_delete() argument
2731 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2773 chain->tmplt_ops = ops; in tc_chain_tmplt_add()
2778 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops, in tc_chain_tmplt_del() argument
2782 if (!tmplt_ops) in tc_chain_tmplt_del()
2785 tmplt_ops->tmplt_destroy(tmplt_priv); in tc_chain_tmplt_del()
2786 module_put(tmplt_ops->owner); in tc_chain_tmplt_del()
2997 err = tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_dump_chain()