Home
last modified time | relevance | path

Searched refs:hash1 (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/ipvs/
A Dip_vs_mh.c65 hsiphash_key_t hash1, hash2; member
70 static inline void generate_hash_secret(hsiphash_key_t *hash1, in generate_hash_secret() argument
73 hash1->key[0] = 2654435761UL; in generate_hash_secret()
74 hash1->key[1] = 2654435761UL; in generate_hash_secret()
144 dest->port, &s->hash1, 0) % in ip_vs_mh_permutate()
238 unsigned int hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, 0) in ip_vs_mh_get()
256 &s->hash1, 0) % IP_VS_MH_TAB_SIZE; in ip_vs_mh_get_fallback()
271 hash = ip_vs_mh_hashkey(svc->af, addr, port, &s->hash1, in ip_vs_mh_get_fallback()
398 generate_hash_secret(&s->hash1, &s->hash2); in ip_vs_mh_init_svc()
/net/unix/
A Daf_unix.c229 unsigned int hash1, unsigned int hash2) in unix_table_double_lock() argument
231 if (hash1 == hash2) { in unix_table_double_lock()
232 spin_lock(&net->unx.table.locks[hash1]); in unix_table_double_lock()
236 if (hash1 > hash2) in unix_table_double_lock()
237 swap(hash1, hash2); in unix_table_double_lock()
239 spin_lock(&net->unx.table.locks[hash1]); in unix_table_double_lock()
244 unsigned int hash1, unsigned int hash2) in unix_table_double_unlock() argument
246 if (hash1 == hash2) { in unix_table_double_unlock()
247 spin_unlock(&net->unx.table.locks[hash1]); in unix_table_double_unlock()
251 spin_unlock(&net->unx.table.locks[hash1]); in unix_table_double_unlock()

Completed in 14 milliseconds