Lines Matching refs:bucket
256 unsigned int bucket, n;
266 bucket = *_pos >> shift;
268 if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
273 if (bucket == 0)
279 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1);
282 bucket++;
284 *_pos = (bucket << shift) | n;
291 unsigned int bucket, n;
298 bucket = *_pos >> shift;
300 p = seq_hlist_next_rcu(v, &rxnet->peer_hash[bucket], _pos);
305 bucket++;
307 *_pos = (bucket << shift) | n;
309 if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
318 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1);