Home
last modified time | relevance | path

Searched refs:hashent (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/kernel/
Duser.c38 static inline void uid_hash_insert(struct user_struct *up, struct user_struct **hashent) in uid_hash_insert() argument
40 struct user_struct *next = *hashent; in uid_hash_insert()
45 up->pprev = hashent; in uid_hash_insert()
46 *hashent = up; in uid_hash_insert()
59 static inline struct user_struct *uid_hash_find(uid_t uid, struct user_struct **hashent) in uid_hash_find() argument
63 next = *hashent; in uid_hash_find()
87 struct user_struct **hashent = uidhashentry(uid); in alloc_uid() local
91 up = uid_hash_find(uid, hashent); in alloc_uid()
110 up = uid_hash_find(uid, hashent); in alloc_uid()
114 uid_hash_insert(new, hashent); in alloc_uid()
/linux-2.4.37.9/net/sctp/
Dinput.c571 epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); in __sctp_hash_endpoint()
572 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_hash_endpoint()
600 epb->hashent = sctp_ep_hashfn(epb->bind_addr.port); in __sctp_unhash_endpoint()
602 head = &sctp_ep_hashtable[epb->hashent]; in __sctp_unhash_endpoint()
661 epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, asoc->peer.port); in __sctp_hash_established()
663 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_hash_established()
691 epb->hashent = sctp_assoc_hashfn(epb->bind_addr.port, in __sctp_unhash_established()
694 head = &sctp_assoc_hashtable[epb->hashent]; in __sctp_unhash_established()
/linux-2.4.37.9/net/ipv4/
Dtcp_minisocks.c63 ehead = &tcp_ehash[tw->hashent]; in tcp_timewait_kill()
302 struct tcp_ehash_bucket *ehead = &tcp_ehash[sk->hashent]; in __tcp_tw_hashdance()
375 tw->hashent = sk->hashent; in tcp_time_wait()
Dtcp_ipv4.c365 skp = &tcp_ehash[(sk->hashent = tcp_sk_hashfn(sk))].chain; in __tcp_v4_hash()
366 lock = &tcp_ehash[sk->hashent].lock; in __tcp_v4_hash()
400 struct tcp_ehash_bucket *head = &tcp_ehash[sk->hashent]; in tcp_unhash()
628 sk->hashent = hash; in __tcp_v4_check_established()
/linux-2.4.37.9/net/ipv6/
Dtcp_ipv6.c71 int hashent = (lport ^ fport); in tcp_v6_hashfn() local
73 hashent ^= (laddr->s6_addr32[3] ^ faddr->s6_addr32[3]); in tcp_v6_hashfn()
74 hashent ^= hashent>>16; in tcp_v6_hashfn()
75 hashent ^= hashent>>8; in tcp_v6_hashfn()
76 return (hashent & (tcp_ehash_size - 1)); in tcp_v6_hashfn()
228 skp = &tcp_ehash[(sk->hashent = tcp_v6_sk_hashfn(sk))].chain; in __tcp_v6_hash()
229 lock = &tcp_ehash[sk->hashent].lock; in __tcp_v6_hash()
494 sk->hashent = hash; in tcp_v6_check_established()
/linux-2.4.37.9/fs/
Ddquot.c195 static inline struct dquot *find_dquot(unsigned int hashent, struct super_block *sb, unsigned int i… in find_dquot() argument
200 for (head = dquot_hash[hashent].next; head != dquot_hash+hashent; head = head->next) { in find_dquot()
593 unsigned int hashent = hashfn(sb, id, type); in dqget() local
604 if ((dquot = find_dquot(hashent, sb, id, type)) == NODQUOT) { in dqget()
/linux-2.4.37.9/include/net/sctp/
Dstructs.h1116 int hashent; member
/linux-2.4.37.9/include/net/
Dsock.h619 int hashent; member
Dtcp.h178 int hashent; member