• Home
  • Raw
  • Download

Lines Matching refs:bucket

2344 	for (; st->bucket <= tcp_hashinfo.lhash2_mask; st->bucket++) {  in listening_get_first()
2349 ilb2 = &tcp_hashinfo.lhash2[st->bucket]; in listening_get_first()
2387 ilb2 = &tcp_hashinfo.lhash2[st->bucket]; in listening_get_next()
2389 ++st->bucket; in listening_get_next()
2398 st->bucket = 0; in listening_get_idx()
2411 return hlist_nulls_empty(&tcp_hashinfo.ehash[st->bucket].chain); in empty_bucket()
2423 for (; st->bucket <= tcp_hashinfo.ehash_mask; ++st->bucket) { in established_get_first()
2426 spinlock_t *lock = inet_ehash_lockp(&tcp_hashinfo, st->bucket); in established_get_first()
2433 sk_nulls_for_each(sk, node, &tcp_hashinfo.ehash[st->bucket].chain) { in established_get_first()
2459 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket)); in established_get_next()
2460 ++st->bucket; in established_get_next()
2469 st->bucket = 0; in established_get_idx()
2498 int bucket = st->bucket; in tcp_seek_last_pos() local
2505 if (st->bucket > tcp_hashinfo.lhash2_mask) in tcp_seek_last_pos()
2509 while (offset-- && rc && bucket == st->bucket) in tcp_seek_last_pos()
2513 st->bucket = 0; in tcp_seek_last_pos()
2517 if (st->bucket > tcp_hashinfo.ehash_mask) in tcp_seek_last_pos()
2520 while (offset-- && rc && bucket == st->bucket) in tcp_seek_last_pos()
2542 st->bucket = 0; in tcp_seq_start()
2567 st->bucket = 0; in tcp_seq_next()
2590 spin_unlock(&tcp_hashinfo.lhash2[st->bucket].lock); in tcp_seq_stop()
2594 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket)); in tcp_seq_stop()
2809 spin_unlock(&tcp_hashinfo.lhash2[st->bucket].lock); in bpf_iter_tcp_listening_batch()
2836 spin_unlock_bh(inet_ehash_lockp(&tcp_hashinfo, st->bucket)); in bpf_iter_tcp_established_batch()
2856 st->bucket++; in bpf_iter_tcp_batch()
2858 st->bucket > tcp_hashinfo.lhash2_mask) { in bpf_iter_tcp_batch()
2860 st->bucket = 0; in bpf_iter_tcp_batch()