Lines Matching defs:bucket
319 unsigned int bucket, n;
329 bucket = *_pos >> shift;
331 if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
336 if (bucket == 0)
342 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1);
345 bucket++;
347 *_pos = (bucket << shift) | n;
354 unsigned int bucket, n;
361 bucket = *_pos >> shift;
363 p = seq_hlist_next_rcu(v, &rxnet->peer_hash[bucket], _pos);
368 bucket++;
370 *_pos = (bucket << shift) | n;
372 if (bucket >= HASH_SIZE(rxnet->peer_hash)) {
381 p = seq_hlist_start_rcu(&rxnet->peer_hash[bucket], n - 1);