Lines Matching defs:bind
373 static int __tcf_action_put(struct tc_action *p, bool bind)
378 if (bind)
387 if (bind)
393 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict)
397 /* Release with strict==1 and bind==0 is only called through act API
398 * interface (classifiers always bind). Only case when action with
399 * positive reference count and zero bind count can exist is when it was
401 * action if it was created by classifier). So only case when bind count
410 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0)
413 if (__tcf_action_put(p, bind))
420 int tcf_idr_release(struct tc_action *a, bool bind)
425 ret = __tcf_idr_release(a, bind, false);
508 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
540 err = tcf_action_dump_old(skb, a, bind, ref);
779 int bind, bool cpustats, u32 flags)
788 if (bind)
837 const struct tc_action_ops *ops, int bind,
841 return tcf_idr_create(tn, index, est, a, ops, bind,
860 * its reference and bind counters, and return 1. Otherwise insert temporary
869 struct tc_action **a, int bind)
901 if (bind)
1187 int tcf_action_destroy(struct tc_action *actions[], int bind)
1196 ret = __tcf_idr_release(a, bind, true);
1239 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
1241 return a->ops->dump(skb, a, bind, ref);
1245 int bind, int ref, bool terse)
1256 tcf_action_dump_1(skb, a, bind, ref);
1646 u32 portid, u32 seq, u16 flags, int event, int bind,
1670 if (tcf_action_dump(skb, actions, bind, ref, false) < 0)