Lines Matching refs:hash
20 #define pr_fmt(fmt) "hash-mmu: " fmt
269 unsigned long hash, hpteg;
298 hash = hpt_hash(vpn, shift, ssize);
299 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP);
318 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP);
794 * If hash size isn't already provided by the platform, we try to
930 * Cell may require the hash table down low when using the
979 /* create bolted the linear mapping in the hash table */
1069 * 4k use hugepd format, so for hash set then to
1097 panic("hash__early_init_mmu: No MMU hash ops defined!\n");
1109 pr_info("Initializing hash mmu with SLB\n");
1121 /* Initialize hash table for that CPU */
1294 * -1 - critical hash insertion error
1487 * Dump some info in case of hash insertion failure, they should
1626 * time and may take a hash fault reading the user stack, see
1629 * If that takes a hash fault on the same page as we lock here, it
1634 * will prevent them taking hash faults (see the NMI test in
1659 /* Dump some info in case of hash insertion failure, they should
1674 * We use it to preload an HPTE into the hash table corresponding to
1702 * We also avoid filling the hash if not coming from a fault.
1744 * Return the global hash slot, corresponding to the given PTE, which contains
1750 unsigned long hash, gslot, hidx;
1752 hash = hpt_hash(vpn, shift, ssize);
1755 hash = ~hash;
1756 gslot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
1790 unsigned long hidx, shift, vpn, hash, slot;
1826 hash = hpt_hash(vpn, shift, ssize);
1828 hash = ~hash;
1830 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
1856 * low_hash_fault is called when we the low level hash code failed
1876 long hpte_insert_repeating(unsigned long hash, unsigned long vpn,
1884 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP;
1886 /* Insert into the hash table, primary slot */
1892 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP;
1898 hpte_group = (hash & htab_hash_mask) *
1912 unsigned long hash;
1918 hash = hpt_hash(vpn, PAGE_SHIFT, mmu_kernel_ssize);
1924 ret = hpte_insert_repeating(hash, vpn, __pa(vaddr), mode,
1937 unsigned long hash, hidx, slot;
1941 hash = hpt_hash(vpn, PAGE_SHIFT, mmu_kernel_ssize);
1948 hash = ~hash;
1949 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP;
1987 * non-virtualized 64-bit hash MMU systems don't have a limitation