Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dinet_hashtables.c516 if (sk->sk_hash != hash) in __inet_lookup_established()
568 if (sk2->sk_hash != hash) in __inet_check_established()
586 sk->sk_hash = hash; in __inet_check_established()
634 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk()
671 sk->sk_hash = sk_ehashfn(sk); in inet_ehash_insert()
672 head = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_ehash_insert()
674 lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_ehash_insert()
678 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); in inet_ehash_insert()
806 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_unhash()
1135 spinlock_t *lock = inet_ehash_lockp(hinfo, sk->sk_hash); in __inet_hash_connect()
[all …]
H 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()
/openbmc/linux/net/ipv6/
H A Dinet6_hashtables.c71 if (sk->sk_hash != hash) in __inet6_lookup_established()
287 if (sk2->sk_hash != hash) in __inet6_check_established()
306 sk->sk_hash = hash; in __inet6_check_established()
/openbmc/linux/net/unix/
H A Daf_unix.c326 sk->sk_hash = hash; in __unix_set_addr_hash()
332 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_remove_socket()
339 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_insert_unbound_socket()
346 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
348 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
354 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket()
356 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket()
977 sk->sk_hash = unix_unbound_hash(sk); in unix_create1()
1159 old_hash = sk->sk_hash; in unix_autobind()
1239 old_hash = sk->sk_hash; in unix_bind_bsd()
[all …]
/openbmc/linux/net/sched/
H 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()
H A Dem_meta.c494 dst->value = skb->sk->sk_hash; in META_COLLECTOR()
/openbmc/linux/net/core/
H A Dsock_reuseport.c645 hash = migrating_sk->sk_hash; in reuseport_migrate_sock()
/openbmc/linux/net/atm/
H A Dcommon.c47 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3784 if (skb->sk && skb->sk->sk_hash) in i40e_swdcb_skb_tx_hash()
3785 hash = skb->sk->sk_hash; in i40e_swdcb_skb_tx_hash()
/openbmc/linux/include/net/
H A Dsock.h373 #define sk_hash __sk_common.skc_hash macro