Home
last modified time | relevance | path

Searched refs:sk_hash (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c490 if (sk->sk_hash != hash) in __inet_lookup_established()
542 if (sk2->sk_hash != hash) in __inet_check_established()
560 sk->sk_hash = hash; in __inet_check_established()
608 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk()
645 sk->sk_hash = sk_ehashfn(sk); in inet_ehash_insert()
646 head = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_ehash_insert()
648 lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_ehash_insert()
652 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); in inet_ehash_insert()
793 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_unhash()
A Dinet_timewait_sock.c119 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_twsk_hashdance()
120 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_twsk_hashdance()
204 tw->tw_hash = sk->sk_hash; in inet_twsk_alloc()
/linux-6.3-rc2/net/ipv6/
A Dinet6_hashtables.c70 if (sk->sk_hash != hash) in __inet6_lookup_established()
266 if (sk2->sk_hash != hash) in __inet6_check_established()
285 sk->sk_hash = hash; in __inet6_check_established()
A Dtcp_ipv6.c1067 txhash = sk->sk_hash; in tcp_v6_send_reset()
/linux-6.3-rc2/net/unix/
A Daf_unix.c322 sk->sk_hash = hash; in __unix_set_addr_hash()
328 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_remove_socket()
330 spin_unlock(&net->unx.table.locks[sk->sk_hash]); in unix_remove_socket()
335 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_insert_unbound_socket()
342 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
344 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
350 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket()
352 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket()
969 sk->sk_hash = unix_unbound_hash(sk); in unix_create1()
1127 unsigned int new_hash, old_hash = sk->sk_hash; in unix_autobind()
[all …]
/linux-6.3-rc2/net/sched/
A Dsch_fq.c321 f->socket_hash != sk->sk_hash)) { in fq_classify()
323 f->socket_hash = sk->sk_hash; in fq_classify()
349 f->socket_hash = sk->sk_hash; in fq_classify()
A Dem_meta.c494 dst->value = skb->sk->sk_hash; in META_COLLECTOR()
/linux-6.3-rc2/net/core/
A Dsock_reuseport.c645 hash = migrating_sk->sk_hash; in reuseport_migrate_sock()
/linux-6.3-rc2/net/atm/
A Dcommon.c47 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/
A Di40e_txrx.c3679 if (skb->sk && skb->sk->sk_hash) in i40e_swdcb_skb_tx_hash()
3680 hash = skb->sk->sk_hash; in i40e_swdcb_skb_tx_hash()
/linux-6.3-rc2/include/net/
A Dsock.h372 #define sk_hash __sk_common.skc_hash macro

Completed in 37 milliseconds