Lines Matching full:bind
141 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument
146 if (bind) in __tcf_action_put()
155 if (bind) in __tcf_action_put()
161 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
165 /* Release with strict==1 and bind==0 is only called through act API in __tcf_idr_release()
166 * interface (classifiers always bind). Only case when action with in __tcf_idr_release()
167 * positive reference count and zero bind count can exist is when it was in __tcf_idr_release()
169 * action if it was created by classifier). So only case when bind count in __tcf_idr_release()
178 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
181 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
188 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument
193 ret = __tcf_idr_release(a, bind, false); in tcf_idr_release()
470 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument
479 if (bind) in tcf_idr_create()
526 const struct tc_action_ops *ops, int bind, in tcf_idr_create_from_flags() argument
530 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags()
549 * its reference and bind counters, and return 1. Otherwise insert temporary
555 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
575 if (bind) in tcf_idr_check_alloc()
769 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
779 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
811 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
813 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
817 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
844 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
857 int bind, int ref, bool terse) in tcf_action_dump() argument
869 tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
1193 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1213 if (tcf_action_dump(skb, actions, bind, ref, false) < 0) in tca_get_fill()