Lines Matching refs:hash
276 int hash = item->ek_fsidtype; in svc_expkey_hash() local
280 hash ^= hash_mem(cp, len, EXPKEY_HASHBITS); in svc_expkey_hash()
281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
282 hash &= EXPKEY_HASHMASK; in svc_expkey_hash()
283 return hash; in svc_expkey_hash()
290 int hash = svc_expkey_hash(item); in svc_expkey_lookup() local
292 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); in svc_expkey_lookup()
304 int hash = svc_expkey_hash(new); in svc_expkey_update() local
306 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update()
801 int hash; in svc_export_hash() local
803 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash()
804 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
805 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
806 return hash; in svc_export_hash()
813 int hash = svc_export_hash(exp); in svc_export_lookup() local
815 ch = sunrpc_cache_lookup_rcu(exp->cd, &exp->h, hash); in svc_export_lookup()
826 int hash = svc_export_hash(old); in svc_export_update() local
828 ch = sunrpc_cache_update(old->cd, &new->h, &old->h, hash); in svc_export_update()