Home
last modified time | relevance | path

Searched refs:idrinfo (Results 1 – 2 of 2) sorted by relevance

/net/sched/
Dact_api.c127 struct tcf_idrinfo *idrinfo = p->idrinfo; in __tcf_action_put() local
129 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
132 idr_remove(&idrinfo->action_idr, p->tcfa_index); in __tcf_action_put()
133 mutex_unlock(&idrinfo->lock); in __tcf_action_put()
214 static int tcf_dump_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, in tcf_dump_walker() argument
221 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker()
226 mutex_lock(&idrinfo->lock); in tcf_dump_walker()
261 mutex_unlock(&idrinfo->lock); in tcf_dump_walker()
279 idr_remove(&p->idrinfo->action_idr, p->tcfa_index); in tcf_idr_release_unsafe()
287 static int tcf_del_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, in tcf_del_walker() argument
[all …]
Dact_ipt.c82 ipt_destroy_target(ipt->tcfi_t, a->idrinfo->net); in tcf_ipt_release()