Lines Matching refs:chain_index

367 					  u32 chain_index)  in tcf_chain_create()  argument
379 chain->index = chain_index; in tcf_chain_create()
462 u32 chain_index) in tcf_chain_lookup() argument
469 if (chain->index == chain_index) in tcf_chain_lookup()
477 u32 chain_index) in tcf_chain_lookup_rcu() argument
482 if (chain->index == chain_index) in tcf_chain_lookup_rcu()
493 u32 chain_index, bool create, in __tcf_chain_get() argument
500 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
506 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
532 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
535 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
538 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() argument
540 return __tcf_chain_get(block, chain_index, true, true); in tcf_chain_get_by_act()
547 void *tmplt_priv, u32 chain_index,
1967 u32 chain_index; in tc_new_tfilter() local
2048 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2049 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_new_tfilter()
2054 chain = tcf_chain_get(block, chain_index, true); in tc_new_tfilter()
2198 u32 chain_index; in tc_del_tfilter() local
2257 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter()
2258 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_del_tfilter()
2263 chain = tcf_chain_get(block, chain_index, false); in tc_del_tfilter()
2355 u32 chain_index; in tc_get_tfilter() local
2413 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter()
2414 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_get_tfilter()
2419 chain = tcf_chain_get(block, chain_index, false); in tc_get_tfilter()
2659 void *tmplt_priv, u32 chain_index, in tc_chain_fill_node() argument
2689 if (nla_put_u32(skb, TCA_CHAIN, chain_index)) in tc_chain_fill_node()
2738 void *tmplt_priv, u32 chain_index, in tc_chain_notify_delete() argument
2750 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2817 u32 chain_index; in tc_ctl_chain() local
2840 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain()
2841 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_ctl_chain()
2848 chain = tcf_chain_lookup(block, chain_index); in tc_ctl_chain()
2867 chain = tcf_chain_create(block, chain_index); in tc_ctl_chain()