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()
476 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument
485 if (bind) in tcf_idr_create()
532 const struct tc_action_ops *ops, int bind, in tcf_idr_create_from_flags() argument
536 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags()
561 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
581 if (bind) in tcf_idr_check_alloc()
784 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
794 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
826 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
828 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
832 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
859 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
872 int bind, int ref, bool terse) in tcf_action_dump() argument
884 tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
1208 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1228 if (tcf_action_dump(skb, actions, bind, ref, false) < 0) in tca_get_fill()