Lines Matching refs:bind
125 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument
130 if (bind) in __tcf_action_put()
139 if (bind) in __tcf_action_put()
145 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
162 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
165 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
402 int bind, bool cpustats) in tcf_idr_create() argument
411 if (bind) in tcf_idr_create()
485 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
505 if (bind) in tcf_idr_check_alloc()
699 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
709 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
718 static int tcf_action_destroy_1(struct tc_action *a, int bind) in tcf_action_destroy_1() argument
722 return tcf_action_destroy(actions, bind); in tcf_action_destroy_1()
748 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
750 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
754 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
779 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
792 int bind, int ref) in tcf_action_dump() argument
803 err = tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
844 char *name, int ovr, int bind, in tcf_action_init_1() argument
916 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind, in tcf_action_init_1()
919 err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, in tcf_action_init_1()
936 tcf_action_destroy_1(a, bind); in tcf_action_init_1()
956 struct nlattr *est, char *name, int ovr, int bind, in tcf_action_init() argument
972 act = tcf_action_init_1(net, tp, tb[i], est, name, ovr, bind, in tcf_action_init()
988 tcf_action_destroy(actions, bind); in tcf_action_init()
1039 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1059 if (tcf_action_dump(skb, actions, bind, ref) < 0) in tca_get_fill()