Lines Matching refs:index
221 unsigned long index = key ^ kv->key;
226 return index >> kv->pos;
272 * index into the parent's child array. That is, they will be used to find
281 * The bits from (n->pos) to (n->pos + n->bits - 1) - "C" - are the index into
938 unsigned long index = 0;
942 n = get_child_rcu(n, index);
947 index = get_cindex(key, n);
951 * prefix plus zeros for the bits in the cindex. The index
954 * if (index >= (1ul << bits))
963 if (index >= (1ul << n->bits)) {
1407 unsigned long index;
1425 index = get_cindex(key, n);
1429 * prefix plus zeros for the "bits" in the prefix. The index
1432 * if (index >= (1ul << bits))
1441 if (index >= (1ul << n->bits))
1453 cindex = index;
1456 n = get_child_rcu(n, index);
1508 /* Get Child's index */
1523 index = key ^ n->key;
1532 if (index >= (1ul << fa->fa_slen))
1741 /* record parent and next child index */
1774 /* no need to compare keys since we bumped the index */
2408 unsigned int index;
2414 unsigned long cindex = iter->index;
2418 pr_debug("get_next iter={node=%p index=%d depth=%d}\n",
2419 iter->tnode, iter->index, iter->depth);
2430 iter->index = cindex;
2434 iter->index = 0;
2450 iter->index = 0;
2470 iter->index = 0;
2474 iter->index = 0;