Lines Matching defs:hash
8 * creates a client control block and adds it to the hash
276 int hash = item->ek_fsidtype;
280 hash ^= hash_mem(cp, len, EXPKEY_HASHBITS);
281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS);
282 hash &= EXPKEY_HASHMASK;
283 return hash;
290 int hash = svc_expkey_hash(item);
292 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash);
304 int hash = svc_expkey_hash(new);
306 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash);
885 int hash;
887 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS);
888 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS);
889 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS);
890 return hash;
897 int hash = svc_export_hash(exp);
899 ch = sunrpc_cache_lookup_rcu(exp->cd, &exp->h, hash);
910 int hash = svc_export_hash(old);
912 ch = sunrpc_cache_update(old->cd, &new->h, &old->h, hash);