Lines Matching defs:hash
318 * Print out hash table data
331 uint64_t hash;
351 hash = (uint64_t)pmap->space | ((uint64_t)pmap->space << maxAdrSpb) | ((uint64_t)pmap->space << (2 * maxAdrSpb)); /* Get hash value */
352 hash = hash & 0x0000001FFFFFFFFF; /* Make sure we stay within supported ranges */
354 esid = ((llva >> 14) & -maxAdrSp) ^ hash; /* Get ESID */
355 llva = ((llva >> 12) & 0xFFFF) ^ esid; /* Get index into hash table */
357 if(s4bit) htsize = hash_table_size >> 7; /* Get number of entries in hash table for 64-bit */
358 else htsize = hash_table_size >> 6; /* get number of entries in hash table for 32-bit */
502 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va;
529 hash = space | (space << maxAdrSpb) | (space << (2 * maxAdrSpb)); /* Get the hash */
530 pva = ptegindex ^ hash; /* Get part of the vaddr */
531 seg = (xpteg[i] >> 7) ^ hash; /* Get the segment number */
549 llhash = (unsigned long long)space | ((unsigned long long)space << maxAdrSpb) | ((unsigned long long)space << (2 * maxAdrSpb)); /* Get the hash */
855 * Check check mappings and hash table for consistency
864 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va, free, free2, xauto, PTEGcnt, wimgkk, wimgxx, slotoff;
877 pteg = hash_table_base; /* Start of hash table */
940 hash = space | (space << maxAdrSpb) | (space << (2 * maxAdrSpb)); /* Get the hash */
941 pva = i ^ hash; /* Get part of the vaddr */
942 seg = (xpteg[slot] >> 7) ^ hash; /* Get the segment number */
953 llhash = (unsigned long long)space | ((unsigned long long)space << maxAdrSpb) | ((unsigned long long)space << (2 * maxAdrSpb)); /* Get the hash */