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 mutex_lock(&idrinfo->lock); in __tcf_action_put() 379 idr_remove(&idrinfo->action_idr, p->tcfa_index); in __tcf_action_put() 380 mutex_unlock(&idrinfo->lock); in __tcf_action_put() 386 mutex_unlock(&idrinfo->lock); in __tcf_action_put() 560 static int tcf_dump_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, 567 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() 572 mutex_lock(&idrinfo->lock); in tcf_dump_walker() 613 mutex_unlock(&idrinfo in tcf_dump_walker() 561 tcf_dump_walker(struct tcf_idrinfo * idrinfo,struct sk_buff * skb,struct netlink_callback * cb) tcf_dump_walker() argument 640 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 694 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_generic_walker() local 710 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_search() local 754 tcf_idr_delete_index(struct tcf_idrinfo * idrinfo,u32 index) tcf_idr_delete_index() argument 792 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_create() local 860 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_cleanup() local 881 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_check_alloc() local 943 tcf_idrinfo_destroy(const struct tc_action_ops * ops,struct tcf_idrinfo * idrinfo) tcf_idrinfo_destroy() argument 1333 struct tcf_idrinfo *idrinfo; tcf_idr_insert_many() local 1848 struct tcf_idrinfo *idrinfo = a->idrinfo; tcf_action_delete() local 1922 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()
|