Lines Matching refs:hash
251 int hash = item->ek_fsidtype; in svc_expkey_hash() local
255 hash ^= hash_mem(cp, len, EXPKEY_HASHBITS); in svc_expkey_hash()
256 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
257 hash &= EXPKEY_HASHMASK; in svc_expkey_hash()
258 return hash; in svc_expkey_hash()
265 int hash = svc_expkey_hash(item); in svc_expkey_lookup() local
267 ch = sunrpc_cache_lookup(cd, &item->h, hash); in svc_expkey_lookup()
279 int hash = svc_expkey_hash(new); in svc_expkey_update() local
281 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update()
767 int hash; in svc_export_hash() local
769 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash()
770 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
771 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
772 return hash; in svc_export_hash()
779 int hash = svc_export_hash(exp); in svc_export_lookup() local
781 ch = sunrpc_cache_lookup(exp->cd, &exp->h, hash); in svc_export_lookup()
792 int hash = svc_export_hash(old); in svc_export_update() local
794 ch = sunrpc_cache_update(old->cd, &new->h, &old->h, hash); in svc_export_update()