Lines Matching refs: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
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()
528 const struct tc_action_ops *ops, int bind, in tcf_idr_create_from_flags() argument
532 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags()
557 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
577 if (bind) in tcf_idr_check_alloc()
771 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
781 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
813 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
815 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
819 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
846 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
859 int bind, int ref, bool terse) in tcf_action_dump() argument
871 tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
1196 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1216 if (tcf_action_dump(skb, actions, bind, ref, false) < 0) in tca_get_fill()