Searched refs:idrinfo (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_api.c | 375 struct tcf_idrinfo *idrinfo = p->idrinfo; in __tcf_action_put() local 377 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put() 380 idr_remove(&idrinfo->action_idr, p->tcfa_index); in __tcf_action_put() 381 mutex_unlock(&idrinfo->lock); in __tcf_action_put() 507 static int tcf_dump_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, in tcf_dump_walker() argument 514 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() 519 mutex_lock(&idrinfo->lock); in tcf_dump_walker() 560 mutex_unlock(&idrinfo->lock); in tcf_dump_walker() 578 idr_remove(&p->idrinfo in tcf_idr_release_unsafe() 586 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 640 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_generic_walker() local 656 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_search() local 700 tcf_idr_delete_index(struct tcf_idrinfo *idrinfo, u32 index) tcf_idr_delete_index() argument 738 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_create() local 806 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_cleanup() local 824 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_check_alloc() local 868 tcf_idrinfo_destroy(const struct tc_action_ops *ops, struct tcf_idrinfo *idrinfo) tcf_idrinfo_destroy() argument 1283 struct tcf_idrinfo *idrinfo; tcf_idr_insert_many() local 1764 struct tcf_idrinfo *idrinfo = a->idrinfo; tcf_action_delete() local 1819 struct tcf_idrinfo *idrinfo; tcf_action_reoffload_cb() local [all...] |
H A D | act_ipt.c | 81 ipt_destroy_target(ipt->tcfi_t, a->idrinfo->net); in tcf_ipt_release()
|
/kernel/linux/linux-5.10/net/sched/ |
H A D | act_api.c | 127 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() 229 static int tcf_dump_walker(struct tcf_idrinfo *idrinfo, struct sk_buff *skb, in tcf_dump_walker() argument 236 struct idr *idr = &idrinfo->action_idr; in tcf_dump_walker() 241 mutex_lock(&idrinfo->lock); in tcf_dump_walker() 278 mutex_unlock(&idrinfo->lock); in tcf_dump_walker() 296 idr_remove(&p->idrinfo in tcf_idr_release_unsafe() 304 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 358 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_generic_walker() local 374 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_search() local 393 tcf_idr_delete_index(struct tcf_idrinfo *idrinfo, u32 index) tcf_idr_delete_index() argument 431 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_create() local 497 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_cleanup() local 515 struct tcf_idrinfo *idrinfo = tn->idrinfo; tcf_idr_check_alloc() local 559 tcf_idrinfo_destroy(const struct tc_action_ops *ops, struct tcf_idrinfo *idrinfo) tcf_idrinfo_destroy() argument 925 struct tcf_idrinfo *idrinfo; tcf_idr_insert_many() local 1373 struct tcf_idrinfo *idrinfo = a->idrinfo; tcf_action_delete() local [all...] |
H A D | act_ipt.c | 82 ipt_destroy_target(ipt->tcfi_t, a->idrinfo->net); in tcf_ipt_release()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | act_api.h | 26 struct tcf_idrinfo *idrinfo; member 119 struct tcf_idrinfo *idrinfo; member 129 tn->idrinfo = kmalloc(sizeof(*tn->idrinfo), GFP_KERNEL); in tc_action_net_init() 130 if (!tn->idrinfo) in tc_action_net_init() 133 tn->idrinfo->net = net; in tc_action_net_init() 134 mutex_init(&tn->idrinfo->lock); in tc_action_net_init() 135 idr_init(&tn->idrinfo->action_idr); in tc_action_net_init() 140 struct tcf_idrinfo *idrinfo); 151 tcf_idrinfo_destroy(tn->ops, tn->idrinfo); in tc_action_net_exit() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | act_api.h | 27 struct tcf_idrinfo *idrinfo; member 144 struct tcf_idrinfo *idrinfo; member 154 tn->idrinfo = kmalloc(sizeof(*tn->idrinfo), GFP_KERNEL); in tc_action_net_init() 155 if (!tn->idrinfo) in tc_action_net_init() 158 tn->idrinfo->net = net; in tc_action_net_init() 159 mutex_init(&tn->idrinfo->lock); in tc_action_net_init() 160 idr_init(&tn->idrinfo->action_idr); in tc_action_net_init() 165 struct tcf_idrinfo *idrinfo); 176 tcf_idrinfo_destroy(tn->ops, tn->idrinfo); in tc_action_net_exit() [all...] |
Completed in 11 milliseconds