Lines Matching refs:chain_index

349 					  u32 chain_index)  in tcf_chain_create()  argument
361 chain->index = chain_index; in tcf_chain_create()
444 u32 chain_index) in tcf_chain_lookup() argument
451 if (chain->index == chain_index) in tcf_chain_lookup()
459 u32 chain_index) in tcf_chain_lookup_rcu() argument
464 if (chain->index == chain_index) in tcf_chain_lookup_rcu()
475 u32 chain_index, bool create, in __tcf_chain_get() argument
482 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
488 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
514 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
517 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
520 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() argument
522 return __tcf_chain_get(block, chain_index, true, true); in tcf_chain_get_by_act()
529 void *tmplt_priv, u32 chain_index,
1956 u32 chain_index; in tc_new_tfilter() local
2038 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2039 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_new_tfilter()
2044 chain = tcf_chain_get(block, chain_index, true); in tc_new_tfilter()
2185 u32 chain_index; in tc_del_tfilter() local
2247 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter()
2248 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_del_tfilter()
2253 chain = tcf_chain_get(block, chain_index, false); in tc_del_tfilter()
2345 u32 chain_index; in tc_get_tfilter() local
2403 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter()
2404 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_get_tfilter()
2409 chain = tcf_chain_get(block, chain_index, false); in tc_get_tfilter()
2649 void *tmplt_priv, u32 chain_index, in tc_chain_fill_node() argument
2679 if (nla_put_u32(skb, TCA_CHAIN, chain_index)) in tc_chain_fill_node()
2730 void *tmplt_priv, u32 chain_index, in tc_chain_notify_delete() argument
2742 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2809 u32 chain_index; in tc_ctl_chain() local
2836 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain()
2837 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_ctl_chain()
2844 chain = tcf_chain_lookup(block, chain_index); in tc_ctl_chain()
2863 chain = tcf_chain_create(block, chain_index); in tc_ctl_chain()
3603 entry->chain_index = tcf_gact_goto_chain_index(act); in tc_setup_flow_action()