Lines Matching refs:tmplt_ops
532 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops,
534 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops,
543 const struct tcf_proto_ops *tmplt_ops; in __tcf_chain_put() local
565 tmplt_ops = chain->tmplt_ops; in __tcf_chain_put()
570 tc_chain_notify_delete(tmplt_ops, tmplt_priv, chain->index, in __tcf_chain_put()
581 tc_chain_tmplt_del(tmplt_ops, tmplt_priv); in __tcf_chain_put()
2105 if (chain->tmplt_ops && chain->tmplt_ops != tp->ops) { in tc_new_tfilter()
2613 static int tc_chain_fill_node(const struct tcf_proto_ops *tmplt_ops, in tc_chain_fill_node() argument
2625 ops = tmplt_ops; in tc_chain_fill_node()
2676 if (tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_chain_notify()
2694 static int tc_chain_notify_delete(const struct tcf_proto_ops *tmplt_ops, in tc_chain_notify_delete() argument
2707 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2743 chain->tmplt_ops = ops; in tc_chain_tmplt_add()
2748 static void tc_chain_tmplt_del(const struct tcf_proto_ops *tmplt_ops, in tc_chain_tmplt_del() argument
2752 if (!tmplt_ops) in tc_chain_tmplt_del()
2755 tmplt_ops->tmplt_destroy(tmplt_priv); in tc_chain_tmplt_del()
2756 module_put(tmplt_ops->owner); in tc_chain_tmplt_del()
2977 err = tc_chain_fill_node(chain->tmplt_ops, chain->tmplt_priv, in tc_dump_chain()