Searched refs:idrinfo (Results 1 – 2 of 2) sorted by relevance
| /linux/net/sched/ |
| H A D | act_api.c | 373 struct tcf_idrinfo *idrinfo = p->idrinfo; in __tcf_action_put() local 375 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put() 378 idr_remove(&idrinfo->action_idr, p->tcfa_index); in __tcf_action_put() 379 mutex_unlock(&idrinfo->lock); in __tcf_action_put() 552 static int tcf_dump_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, in tcf_dump_walker() 559 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() 564 mutex_lock(&idrinfo->lock); in tcf_dump_walker() 605 mutex_unlock(&idrinfo->lock); in tcf_dump_walker() 623 idr_remove(&p->idrinfo in tcf_idr_release_unsafe() 549 tcf_dump_walker(struct tcf_idrinfo * idrinfo,struct sk_buff * skb,struct netlink_callback * cb) tcf_dump_walker() argument 628 tcf_del_walker(struct tcf_idrinfo * idrinfo,struct sk_buff * skb,const struct tc_action_ops * ops,struct netlink_ext_ack * extack) tcf_del_walker() argument 682 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_generic_walker() local 698 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_search() local 742 tcf_idr_delete_index(struct tcf_idrinfo * idrinfo,u32 index) tcf_idr_delete_index() argument 780 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_create() local 848 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_cleanup() local 869 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_check_alloc() local 931 tcf_idrinfo_destroy(const struct tc_action_ops * ops,struct tcf_idrinfo * idrinfo) tcf_idrinfo_destroy() argument 1321 struct tcf_idrinfo *idrinfo; tcf_idr_insert_many() local 1836 struct tcf_idrinfo *idrinfo = a->idrinfo; tcf_action_delete() local 1905 struct tcf_idrinfo *idrinfo; tcf_action_reoffload_cb() local [all...] |
| /linux/include/net/ |
| H A D | act_api.h | 27 struct tcf_idrinfo *idrinfo; member 154 struct tcf_idrinfo *idrinfo; member 164 tn->idrinfo = kmalloc_obj(*tn->idrinfo); in tc_action_net_init() 165 if (!tn->idrinfo) in tc_action_net_init() 168 tn->idrinfo->net = net; in tc_action_net_init() 169 mutex_init(&tn->idrinfo->lock); in tc_action_net_init() 170 idr_init(&tn->idrinfo->action_idr); in tc_action_net_init() 175 struct tcf_idrinfo *idrinfo); 185 tcf_idrinfo_destroy(tn->ops, tn->idrinfo); in tc_action_net_exit() 186 kfree(tn->idrinfo); in tc_action_net_exit()
|