Lines Matching refs:index
222 unsigned long index = key ^ kv->key;
227 return index >> kv->pos;
273 * index into the parent's child array. That is, they will be used to find
282 * The bits from (n->pos) to (n->pos + n->bits - 1) - "C" - are the index into
939 unsigned long index = 0;
943 n = get_child_rcu(n, index);
948 index = get_cindex(key, n);
952 * prefix plus zeros for the bits in the cindex. The index
955 * if (index >= (1ul << bits))
964 if (index >= (1ul << n->bits)) {
1454 unsigned long index;
1472 index = get_cindex(key, n);
1476 * prefix plus zeros for the "bits" in the prefix. The index
1479 * if (index >= (1ul << bits))
1488 if (index >= (1ul << n->bits))
1500 cindex = index;
1503 n = get_child_rcu(n, index);
1555 /* Get Child's index */
1570 index = key ^ n->key;
1579 if (index >= (1ul << fa->fa_slen))
1791 /* record parent and next child index */
1824 /* no need to compare keys since we bumped the index */
2450 unsigned int index;
2456 unsigned long cindex = iter->index;
2460 pr_debug("get_next iter={node=%p index=%d depth=%d}\n",
2461 iter->tnode, iter->index, iter->depth);
2472 iter->index = cindex;
2476 iter->index = 0;
2492 iter->index = 0;
2512 iter->index = 0;
2516 iter->index = 0;