Lines Matching refs:hash
8 * creates a client control block and adds it to the hash
265 int hash = item->ek_fsidtype;
269 hash ^= hash_mem(cp, len, EXPKEY_HASHBITS);
270 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS);
271 hash &= EXPKEY_HASHMASK;
272 return hash;
279 int hash = svc_expkey_hash(item);
282 hash);
293 int hash = svc_expkey_hash(new);
296 &old->h, hash);
739 int hash;
741 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS);
742 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS);
743 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS);
744 return hash;
751 int hash = svc_export_hash(exp);
754 hash);
765 int hash = svc_export_hash(old);
769 hash);
1358 unsigned hash, export;
1365 hash = n >> 32;
1369 for (ch=export_table[hash]; ch; ch=ch->next)
1374 hash++;
1376 } while(hash < EXPORT_HASHMAX && export_table[hash]==NULL);
1377 if (hash >= EXPORT_HASHMAX)
1380 return export_table[hash];
1386 int hash = (*pos >> 32);
1389 hash = 0;
1391 hash++;
1398 while (hash < EXPORT_HASHMAX && export_table[hash] == NULL) {
1399 hash++;
1402 if (hash >= EXPORT_HASHMAX)
1405 return export_table[hash];