Lines Matching refs:hash
11 * The sh algorithm is to select server by the hash key of source IP
21 * Notes that servernode is a 256-bucket hash table that maps the hash
59 * for IPVS SH entry hash table
81 * Returns hash value for IPVS SH entry
107 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0);
108 struct ip_vs_dest *dest = rcu_dereference(s->buckets[hash].dest);
117 * point (in fact, it is chosen to be the original hash value to make the
125 unsigned int hash, ihash;
144 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset);
145 dest = rcu_dereference(s->buckets[hash].dest);
160 * Assign all the hash buckets of the specified table with the service.
208 * Flush all the hash buckets of the specified table.
238 IP_VS_DBG(6, "SH hash table (memory=%zdbytes) allocated for "
242 /* assign the hash buckets with current dests */
253 /* got to clean up hash buckets here */
258 IP_VS_DBG(6, "SH hash table (memory=%zdbytes) released\n",
268 /* assign the hash buckets with the updated service */