Lines Matching refs:bucket
2183 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2189 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2203 if (++st->bucket < INET_LHTABLE_SIZE) in listening_get_next()
2213 st->bucket = 0; in listening_get_idx()
2226 return hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].chain); in empty_bucket()
2241 for (; st->bucket <= tcp_hashinfo.ehash_mask; ++st->bucket) { in established_get_first()
2244 spinlock_t *lock = inet_ehash_lockp(&tcp_hashinfo, st->bucket); in established_get_first()
2251 sk_nulls_for_each(sk, node, &tcp_hashinfo.ehash[st->bucket].chain) { in established_get_first()
2284 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket)); in established_get_next()
2285 ++st->bucket; in established_get_next()
2294 st->bucket = 0; in established_get_idx()
2323 int bucket = st->bucket; in tcp_seek_last_pos() local
2330 if (st->bucket >= INET_LHTABLE_SIZE) in tcp_seek_last_pos()
2334 while (offset-- && rc && bucket == st->bucket) in tcp_seek_last_pos()
2338 st->bucket = 0; in tcp_seek_last_pos()
2342 if (st->bucket > tcp_hashinfo.ehash_mask) in tcp_seek_last_pos()
2345 while (offset-- && rc && bucket == st->bucket) in tcp_seek_last_pos()
2367 st->bucket = 0; in tcp_seq_start()
2392 st->bucket = 0; in tcp_seq_next()
2415 spin_unlock(&tcp_hashinfo.listening_hash[st->bucket].lock); in tcp_seq_stop()
2419 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket)); in tcp_seq_stop()