Lines Matching full:bind

125 static int __tcf_action_put(struct tc_action *p, bool bind)  in __tcf_action_put()  argument
130 if (bind) in __tcf_action_put()
139 if (bind) in __tcf_action_put()
145 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
149 /* Release with strict==1 and bind==0 is only called through act API in __tcf_idr_release()
150 * interface (classifiers always bind). Only case when action with in __tcf_idr_release()
151 * positive reference count and zero bind count can exist is when it was in __tcf_idr_release()
153 * action if it was created by classifier). So only case when bind count in __tcf_idr_release()
162 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
165 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
410 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument
419 if (bind) in tcf_idr_create()
465 const struct tc_action_ops *ops, int bind, in tcf_idr_create_from_flags() argument
469 return tcf_idr_create(tn, index, est, a, ops, bind, in tcf_idr_create_from_flags()
488 * its reference and bind counters, and return 1. Otherwise insert temporary
494 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
514 if (bind) in tcf_idr_check_alloc()
708 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
718 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
750 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
752 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
784 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
811 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
824 int bind, int ref, bool terse) in tcf_action_dump() argument
836 tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
913 char *name, int ovr, int bind, in tcf_action_init_1() argument
990 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind, in tcf_action_init_1()
993 err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, in tcf_action_init_1()
1027 struct nlattr *est, char *name, int ovr, int bind, in tcf_action_init() argument
1043 act = tcf_action_init_1(net, tp, tb[i], est, name, ovr, bind, in tcf_action_init()
1063 tcf_action_destroy(actions, bind); in tcf_action_init()
1135 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1155 if (tcf_action_dump(skb, actions, bind, ref, false) < 0) in tca_get_fill()