Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dinet_hashtables.c510 if (sk->sk_hash != hash) in __inet_lookup_established()
562 if (sk2->sk_hash != hash) in __inet_check_established()
581 sk->sk_hash = hash; in __inet_check_established()
629 if (esk->sk_hash != sk->sk_hash) in inet_ehash_lookup_by_sk()
666 sk->sk_hash = sk_ehashfn(sk); in inet_ehash_insert()
667 head = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_ehash_insert()
669 lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_ehash_insert()
673 WARN_ON_ONCE(sk->sk_hash != osk->sk_hash); in inet_ehash_insert()
801 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_unhash()
1134 spinlock_t *lock = inet_ehash_lockp(hinfo, sk->sk_hash); in __inet_hash_connect()
[all …]
H A Dinet_timewait_sock.c114 struct inet_ehash_bucket *ehead = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_twsk_hashdance_schedule()
115 spinlock_t *lock = inet_ehash_lockp(hashinfo, sk->sk_hash); in inet_twsk_hashdance_schedule()
207 tw->tw_hash = sk->sk_hash; in inet_twsk_alloc()
/linux/net/ipv6/
H A Dinet6_hashtables.c70 if (sk->sk_hash != hash) in __inet6_lookup_established()
287 if (sk2->sk_hash != hash) in __inet6_check_established()
307 sk->sk_hash = hash; in __inet6_check_established()
/linux/net/unix/
H A Daf_unix.c391 sk_add_node(sk, &net->unx.table.buckets[sk->sk_hash]); in __unix_insert_socket()
400 sk->sk_hash = hash; in __unix_set_addr_hash()
406 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_remove_socket()
408 spin_unlock(&net->unx.table.locks[sk->sk_hash]); in unix_remove_socket()
413 spin_lock(&net->unx.table.locks[sk->sk_hash]); in unix_insert_unbound_socket()
415 spin_unlock(&net->unx.table.locks[sk->sk_hash]); in unix_insert_unbound_socket()
420 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
421 sk_add_bind_node(sk, &bsd_socket_buckets[sk->sk_hash]); in unix_insert_bsd_socket()
422 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket()
428 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket()
[all …]
/linux/net/sched/
H A Dsch_fq.c420 f->socket_hash != sk->sk_hash)) { in fq_classify()
422 f->socket_hash = sk->sk_hash; in fq_classify()
448 f->socket_hash = sk->sk_hash; in fq_classify()
H A Dem_meta.c494 dst->value = skb->sk->sk_hash; in META_COLLECTOR()
/linux/net/core/
H A Dsock_reuseport.c644 hash = migrating_sk->sk_hash; in reuseport_migrate_sock()
/linux/net/atm/
H A Dcommon.c47 sk->sk_hash = vcc->vci & (VCC_HTABLE_SIZE - 1); in __vcc_insert_socket()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c3730 if (skb->sk && skb->sk->sk_hash) in i40e_swdcb_skb_tx_hash()
3731 hash = skb->sk->sk_hash; in i40e_swdcb_skb_tx_hash()
/linux/include/net/
H A Dsock.h358 #define sk_hash __sk_common.skc_hash macro