Lines Matching refs:chain_index
369 u32 chain_index) in tcf_chain_create() argument
381 chain->index = chain_index; in tcf_chain_create()
464 u32 chain_index) in tcf_chain_lookup() argument
471 if (chain->index == chain_index) in tcf_chain_lookup()
481 u32 chain_index, bool create, in __tcf_chain_get() argument
488 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
494 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
520 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
523 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
526 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() argument
528 return __tcf_chain_get(block, chain_index, true, true); in tcf_chain_get_by_act()
535 void *tmplt_priv, u32 chain_index,
1937 u32 chain_index; in tc_new_tfilter() local
2016 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2017 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_new_tfilter()
2022 chain = tcf_chain_get(block, chain_index, true); in tc_new_tfilter()
2163 u32 chain_index; in tc_del_tfilter() local
2225 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter()
2226 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_del_tfilter()
2231 chain = tcf_chain_get(block, chain_index, false); in tc_del_tfilter()
2323 u32 chain_index; in tc_get_tfilter() local
2381 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter()
2382 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_get_tfilter()
2387 chain = tcf_chain_get(block, chain_index, false); in tc_get_tfilter()
2614 void *tmplt_priv, u32 chain_index, in tc_chain_fill_node() argument
2644 if (nla_put_u32(skb, TCA_CHAIN, chain_index)) in tc_chain_fill_node()
2695 void *tmplt_priv, u32 chain_index, in tc_chain_notify_delete() argument
2707 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2768 u32 chain_index; in tc_ctl_chain() local
2794 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain()
2795 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_ctl_chain()
2802 chain = tcf_chain_lookup(block, chain_index); in tc_ctl_chain()
2821 chain = tcf_chain_create(block, chain_index); in tc_ctl_chain()
3462 entry->chain_index = tcf_gact_goto_chain_index(act); in tc_setup_flow_action()