Lines Matching refs:bucket
2450 int bucket = state->bucket; in neigh_get_first() local
2453 for (bucket = 0; bucket < (1 << nht->hash_shift); bucket++) { in neigh_get_first()
2454 n = rcu_dereference_bh(nht->hash_buckets[bucket]); in neigh_get_first()
2478 state->bucket = bucket; in neigh_get_first()
2520 if (++state->bucket >= (1 << nht->hash_shift)) in neigh_get_next()
2523 n = rcu_dereference_bh(nht->hash_buckets[state->bucket]); in neigh_get_next()
2552 int bucket = state->bucket; in pneigh_get_first() local
2555 for (bucket = 0; bucket <= PNEIGH_HASHMASK; bucket++) { in pneigh_get_first()
2556 pn = tbl->phash_buckets[bucket]; in pneigh_get_first()
2562 state->bucket = bucket; in pneigh_get_first()
2580 if (++state->bucket > PNEIGH_HASHMASK) in pneigh_get_next()
2582 pn = tbl->phash_buckets[state->bucket]; in pneigh_get_next()
2629 state->bucket = 0; in neigh_seq_start()