• Home
  • Raw
  • Download

Lines Matching refs:head

66 						 struct inet_bind_hashbucket *head,  in inet_bind_bucket_create()  argument
79 hlist_add_head(&tb->node, &head->chain); in inet_bind_bucket_create()
111 struct inet_bind_hashbucket *head = &hashinfo->bhash[bhash]; in __inet_put_port() local
114 spin_lock(&head->lock); in __inet_put_port()
120 spin_unlock(&head->lock); in __inet_put_port()
137 struct inet_bind_hashbucket *head = &table->bhash[bhash]; in __inet_inherit_port() local
141 spin_lock(&head->lock); in __inet_inherit_port()
144 spin_unlock(&head->lock); in __inet_inherit_port()
155 inet_bind_bucket_for_each(tb, &head->chain) { in __inet_inherit_port()
162 sock_net(sk), head, port, in __inet_inherit_port()
165 spin_unlock(&head->lock); in __inet_inherit_port()
172 spin_unlock(&head->lock); in __inet_inherit_port()
208 &ilb2->head); in inet_hash2()
211 &ilb2->head); in inet_hash2()
289 inet_lhash2_for_each_icsk_rcu(icsk, &ilb2->head) { in inet_lhash2_lookup()
407 struct inet_ehash_bucket *head = &hashinfo->ehash[slot]; in __inet_lookup_established() local
410 sk_nulls_for_each_rcu(sk, node, &head->chain) { in __inet_lookup_established()
454 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established() local
462 sk_nulls_for_each(sk2, node, &head->chain) { in __inet_check_established()
483 __sk_nulls_add_node_rcu(sk, &head->chain); in __inet_check_established()
560 struct inet_ehash_bucket *head; in inet_ehash_insert() local
567 head = inet_ehash_bucket(hashinfo, sk->sk_hash); in inet_ehash_insert()
568 list = &head->chain; in inet_ehash_insert()
740 struct inet_bind_hashbucket *head; in __inet_hash_connect() local
782 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
784 spin_lock_bh(&head->lock); in __inet_hash_connect()
789 inet_bind_bucket_for_each(tb, &head->chain) { in __inet_hash_connect()
804 net, head, port, l3mdev); in __inet_hash_connect()
806 spin_unlock_bh(&head->lock); in __inet_hash_connect()
813 spin_unlock_bh(&head->lock); in __inet_hash_connect()
840 spin_unlock(&head->lock); in __inet_hash_connect()
883 INIT_HLIST_HEAD(&h->lhash2[i].head); in init_hashinfo_lhash2()