Lines Matching defs:cindex
998 t_key cindex, key;
1004 cindex = tkey_extract_bits(key, tp->pos, tp->bits);
1005 wasfull = tnode_full(tp, tnode_get_child(tp, cindex));
1008 tnode_put_child_reorg((struct tnode *)tp, cindex,
1040 t_key cindex;
1123 cindex = tkey_extract_bits(key, tp->pos, tp->bits);
1124 put_child(t, (struct tnode *)tp, cindex, (struct node *)l);
1158 cindex = tkey_extract_bits(key, tp->pos, tp->bits);
1159 put_child(t, (struct tnode *)tp, cindex,
1391 t_key cindex = 0;
1421 cindex = tkey_extract_bits(mask_pfx(key, current_prefix_length),
1424 n = tnode_get_child_rcu(pn, cindex);
1541 /* As zero don't change the child key (cindex) */
1543 && !(cindex & (1<<(chopped_off-1))))
1557 cindex &= ~(1 << (chopped_off-1));
1564 cindex = tkey_extract_bits(pn->key, parent->pos, parent->bits);
1591 t_key cindex = tkey_extract_bits(l->key, tp->pos, tp->bits);
1592 put_child(t, (struct tnode *)tp, cindex, NULL);
2053 unsigned cindex = iter->index;
2063 while (cindex < (1<<tn->bits)) {
2064 struct node *n = tnode_get_child_rcu(tn, cindex);
2069 iter->index = cindex + 1;
2079 ++cindex;
2085 cindex = tkey_extract_bits(tn->key, p->pos, p->bits)+1;