Lines Matching refs:bucket
2501 int bucket = state->bucket; in neigh_get_first() local
2504 for (bucket = 0; bucket < (1 << nht->hash_shift); bucket++) { in neigh_get_first()
2505 n = rcu_dereference_bh(nht->hash_buckets[bucket]); in neigh_get_first()
2529 state->bucket = bucket; in neigh_get_first()
2571 if (++state->bucket >= (1 << nht->hash_shift)) in neigh_get_next()
2574 n = rcu_dereference_bh(nht->hash_buckets[state->bucket]); in neigh_get_next()
2603 int bucket = state->bucket; in pneigh_get_first() local
2606 for (bucket = 0; bucket <= PNEIGH_HASHMASK; bucket++) { in pneigh_get_first()
2607 pn = tbl->phash_buckets[bucket]; in pneigh_get_first()
2613 state->bucket = bucket; in pneigh_get_first()
2631 if (++state->bucket > PNEIGH_HASHMASK) in pneigh_get_next()
2633 pn = tbl->phash_buckets[state->bucket]; in pneigh_get_next()
2680 state->bucket = 0; in neigh_seq_start()