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);
735 int bind, bool cpustats, u32 flags)
744 if (bind)
793 const struct tc_action_ops *ops, int bind,
797 return tcf_idr_create(tn, index, est, a, ops, bind,
816 * its reference and bind counters, and return 1. Otherwise insert temporary
822 struct tc_action **a, int bind)
842 if (bind)
1115 int tcf_action_destroy(struct tc_action *actions[], int bind)
1125 ret = __tcf_idr_release(a, bind, true);
1157 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
1159 return a->ops->dump(skb, a, bind, ref);
1163 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
1195 err = tcf_action_dump_old(skb, a, bind, ref);
1208 int bind, int ref, bool terse)
1220 tcf_action_dump_1(skb, a, bind, ref);
1576 u32 portid, u32 seq, u16 flags, int event, int bind,
1600 if (tcf_action_dump(skb, actions, bind, ref, false) < 0)