Lines Matching refs:chain_index
59 u32 chain_index; member
93 n->chain_index = tp->chain->index; in tcf_exts_miss_cookie_base_alloc()
472 u32 chain_index) in tcf_chain_create() argument
484 chain->index = chain_index; in tcf_chain_create()
567 u32 chain_index) in tcf_chain_lookup() argument
574 if (chain->index == chain_index) in tcf_chain_lookup()
582 u32 chain_index) in tcf_chain_lookup_rcu() argument
587 if (chain->index == chain_index) in tcf_chain_lookup_rcu()
599 u32 chain_index, bool create, in __tcf_chain_get() argument
606 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
612 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
638 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
641 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
644 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() argument
646 return __tcf_chain_get(block, chain_index, true, true); in tcf_chain_get_by_act()
653 void *tmplt_priv, u32 chain_index,
1764 chain = n->chain_index; in tcf_classify()
2128 u32 chain_index; in tc_new_tfilter() local
2209 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2210 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_new_tfilter()
2215 chain = tcf_chain_get(block, chain_index, true); in tc_new_tfilter()
2361 u32 chain_index; in tc_del_tfilter() local
2420 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter()
2421 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_del_tfilter()
2426 chain = tcf_chain_get(block, chain_index, false); in tc_del_tfilter()
2518 u32 chain_index; in tc_get_tfilter() local
2576 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter()
2577 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_get_tfilter()
2582 chain = tcf_chain_get(block, chain_index, false); in tc_get_tfilter()
2822 void *tmplt_priv, u32 chain_index, in tc_chain_fill_node() argument
2853 if (nla_put_u32(skb, TCA_CHAIN, chain_index)) in tc_chain_fill_node()
2908 void *tmplt_priv, u32 chain_index, in tc_chain_notify_delete() argument
2920 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2987 u32 chain_index; in tc_ctl_chain() local
3010 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain()
3011 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_ctl_chain()
3018 chain = tcf_chain_lookup(block, chain_index); in tc_ctl_chain()
3037 chain = tcf_chain_create(block, chain_index); in tc_ctl_chain()