Lines Matching refs:bind
102 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument
107 if (bind) in __tcf_action_put()
116 if (bind) in __tcf_action_put()
122 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument
139 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release()
142 if (__tcf_action_put(p, bind)) in __tcf_idr_release()
359 int bind, bool cpustats) in tcf_idr_create() argument
368 if (bind) in tcf_idr_create()
437 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument
457 if (bind) in tcf_idr_check_alloc()
646 int tcf_action_destroy(struct tc_action *actions[], int bind) in tcf_action_destroy() argument
656 ret = __tcf_idr_release(a, bind, true); in tcf_action_destroy()
665 static int tcf_action_destroy_1(struct tc_action *a, int bind) in tcf_action_destroy_1() argument
669 return tcf_action_destroy(actions, bind); in tcf_action_destroy_1()
695 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument
697 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old()
701 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument
726 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1()
739 int bind, int ref) in tcf_action_dump() argument
750 err = tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump()
792 char *name, int ovr, int bind, in tcf_action_init_1() argument
870 err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind, in tcf_action_init_1()
873 err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held, in tcf_action_init_1()
891 tcf_action_destroy_1(a, bind); in tcf_action_init_1()
898 tcf_action_destroy_1(a, bind); in tcf_action_init_1()
918 struct nlattr *est, char *name, int ovr, int bind, in tcf_action_init() argument
933 act = tcf_action_init_1(net, tp, tb[i], est, name, ovr, bind, in tcf_action_init()
949 tcf_action_destroy(actions, bind); in tcf_action_init()
998 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1018 if (tcf_action_dump(skb, actions, bind, ref) < 0) in tca_get_fill()