Lines Matching refs:chain_index

57 	u32 chain_index;  member
91 n->chain_index = tp->chain->index; in tcf_exts_miss_cookie_base_alloc()
470 u32 chain_index) in tcf_chain_create() argument
482 chain->index = chain_index; in tcf_chain_create()
565 u32 chain_index) in tcf_chain_lookup() argument
572 if (chain->index == chain_index) in tcf_chain_lookup()
580 u32 chain_index) in tcf_chain_lookup_rcu() argument
585 if (chain->index == chain_index) in tcf_chain_lookup_rcu()
597 u32 chain_index, bool create, in __tcf_chain_get() argument
604 chain = tcf_chain_lookup(block, chain_index); in __tcf_chain_get()
610 chain = tcf_chain_create(block, chain_index); in __tcf_chain_get()
636 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get() argument
639 return __tcf_chain_get(block, chain_index, create, false); in tcf_chain_get()
642 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act() argument
644 return __tcf_chain_get(block, chain_index, true, true); in tcf_chain_get_by_act()
651 void *tmplt_priv, u32 chain_index,
1765 chain = n->chain_index; in tcf_classify()
2129 u32 chain_index; in tc_new_tfilter() local
2210 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_new_tfilter()
2211 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_new_tfilter()
2216 chain = tcf_chain_get(block, chain_index, true); in tc_new_tfilter()
2362 u32 chain_index; in tc_del_tfilter() local
2421 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_del_tfilter()
2422 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_del_tfilter()
2427 chain = tcf_chain_get(block, chain_index, false); in tc_del_tfilter()
2519 u32 chain_index; in tc_get_tfilter() local
2577 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_get_tfilter()
2578 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_get_tfilter()
2583 chain = tcf_chain_get(block, chain_index, false); in tc_get_tfilter()
2823 void *tmplt_priv, u32 chain_index, in tc_chain_fill_node() argument
2854 if (nla_put_u32(skb, TCA_CHAIN, chain_index)) in tc_chain_fill_node()
2909 void *tmplt_priv, u32 chain_index, in tc_chain_notify_delete() argument
2921 if (tc_chain_fill_node(tmplt_ops, tmplt_priv, chain_index, net, skb, in tc_chain_notify_delete()
2989 u32 chain_index; in tc_ctl_chain() local
3012 chain_index = tca[TCA_CHAIN] ? nla_get_u32(tca[TCA_CHAIN]) : 0; in tc_ctl_chain()
3013 if (chain_index > TC_ACT_EXT_VAL_MASK) { in tc_ctl_chain()
3020 chain = tcf_chain_lookup(block, chain_index); in tc_ctl_chain()
3039 chain = tcf_chain_create(block, chain_index); in tc_ctl_chain()