Lines Matching refs:index
52 return jhash_3words(tp->chain->index, tp->prio,
70 return tp1->chain->index == tp2->chain->index &&
359 chain->index = chain_index;
361 if (!chain->index)
379 if (chain->index)
397 if (!chain->index)
449 if (chain->index == chain_index)
462 if (chain->index == chain_index)
564 chain->index, block, NULL, 0, 0,
843 err = idr_alloc_u32(&tn->idr, block, &block->index, block->index,
856 idr_remove(&tn->idr, block->index);
881 block->index = block_index;
1131 NL_SET_ERR_MSG(extack, "Block of given index was not found");
1142 NL_SET_ERR_MSG(extack, "This filter block is shared. Please use the block index to manipulate the filters");
1555 *last_executed_chain = first_tp->chain->index;
1572 tp->chain->block->index,
1604 u32 last_executed_chain = tp ? tp->chain->index : 0;
1622 last_executed_chain = fchain->index;
1821 tcm->tcm_block_index = block->index;
1826 if (nla_put_u32(skb, TCA_CHAIN, tp->chain->index))
2041 NL_SET_ERR_MSG(extack, "Specified chain index exceeds upper limit");
2250 NL_SET_ERR_MSG(extack, "Specified chain index exceeds upper limit");
2406 NL_SET_ERR_MSG(extack, "Specified chain index exceeds upper limit");
2555 long index;
2578 /* If we work with block index, q is NULL and parent value
2620 index = 0;
2628 nla_get_u32(tca[TCA_CHAIN]) != chain->index)
2631 index_start, &index, terse_dump)) {
2640 cb->args[0] = index;
2677 tcm->tcm_block_index = block->index;
2713 chain->index, net, skb, block, portid,
2840 NL_SET_ERR_MSG(extack, "Specified chain index exceeds upper limit");
2949 long index;
2965 /* If we work with block index, q is NULL and parent value
3008 index = 0;
3013 nla_get_u32(tca[TCA_CHAIN]) != chain->index))
3015 if (index < index_start) {
3016 index++;
3022 chain->index, net, skb, block,
3028 index++;
3034 cb->args[0] = index;
3684 entry->police.index = act->tcfa_index;
3723 entry->gate.index = tcf_gate_index(act);