/arch/powerpc/mm/ |
D | hugetlbpage-hash64.c | 70 unsigned long hash, slot; in __hash_page_huge() local 72 hash = hpt_hash(va, shift, ssize); in __hash_page_huge() 74 hash = ~hash; in __hash_page_huge() 75 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_huge() 84 unsigned long hash = hpt_hash(va, shift, ssize); in __hash_page_huge() local 90 hpte_group = ((hash & htab_hash_mask) * in __hash_page_huge() 109 hpte_group = ((~hash & htab_hash_mask) * in __hash_page_huge() 116 hpte_group = ((hash & htab_hash_mask) * in __hash_page_huge()
|
D | hash_native_64.c | 265 unsigned long hash; in native_hpte_find() local 270 hash = hpt_hash(va, mmu_psize_defs[psize].shift, ssize); in native_hpte_find() 274 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find() 468 unsigned long va, hash, index, hidx, shift, slot; in native_flush_hash_range() local 486 hash = hpt_hash(va, shift, ssize); in native_flush_hash_range() 489 hash = ~hash; in native_flush_hash_range() 490 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_flush_hash_range()
|
D | hash_utils_64.c | 193 unsigned long hash, hpteg; in htab_bolt_mapping() local 202 hash = hpt_hash(va, shift, ssize); in htab_bolt_mapping() 203 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping() 1161 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local 1165 hash = hpt_hash(va, shift, ssize); in flush_hash_page() 1168 hash = ~hash; in flush_hash_page() 1169 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_page() 1211 unsigned long hash, hpteg; in kernel_map_linear_page() local 1217 hash = hpt_hash(va, PAGE_SHIFT, mmu_kernel_ssize); in kernel_map_linear_page() 1218 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kernel_map_linear_page() [all …]
|
/arch/x86/vdso/ |
D | vdso-layout.lds.S | 11 .hash : { *(.hash) } :text 12 .gnu.hash : { *(.gnu.hash) }
|
/arch/x86/um/vdso/ |
D | vdso-layout.lds.S | 11 .hash : { *(.hash) } :text 12 .gnu.hash : { *(.gnu.hash) }
|
/arch/sh/kernel/vsyscall/ |
D | vsyscall.lds.S | 22 .hash : { *(.hash) } :text 23 .gnu.hash : { *(.gnu.hash) }
|
/arch/ia64/kernel/ |
D | gate.lds.S | 15 .hash : { *(.hash) } :readable 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/s390/kernel/vdso32/ |
D | vdso32.lds.S | 15 .hash : { *(.hash) } :text 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/s390/kernel/vdso64/ |
D | vdso64.lds.S | 15 .hash : { *(.hash) } :text 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kernel/vdso32/ |
D | vdso32.lds.S | 15 .hash : { *(.hash) } :text 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kernel/vdso64/ |
D | vdso64.lds.S | 15 .hash : { *(.hash) } :text 16 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_host.c | 84 ulong hash, hpteg, va; in kvmppc_mmu_map_page() local 130 hash = hpt_hash(va, PTE_SIZE, MMU_SEGSIZE_256M); in kvmppc_mmu_map_page() 133 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page() 146 hash = ~hash; in kvmppc_mmu_map_page() 158 hash = ~hash; in kvmppc_mmu_map_page() 159 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
|
D | book3s_32_mmu_host.c | 120 u32 page, hash; in kvmppc_mmu_get_pteg() local 125 hash = ((vsid ^ page) << 6); in kvmppc_mmu_get_pteg() 127 hash = ~hash; in kvmppc_mmu_get_pteg() 129 hash &= htabmask; in kvmppc_mmu_get_pteg() 131 pteg |= hash; in kvmppc_mmu_get_pteg() 134 htab, hash, htabmask, pteg); in kvmppc_mmu_get_pteg()
|
D | book3s_64_mmu.c | 111 u64 hash, pteg, htabsize; in kvmppc_mmu_book3s_64_get_pteg() local 118 hash = slbe->vsid ^ page; in kvmppc_mmu_book3s_64_get_pteg() 120 hash = ~hash; in kvmppc_mmu_book3s_64_get_pteg() 121 hash &= ((1ULL << 39ULL) - 1ULL); in kvmppc_mmu_book3s_64_get_pteg() 122 hash &= htabsize; in kvmppc_mmu_book3s_64_get_pteg() 123 hash <<= 7ULL; in kvmppc_mmu_book3s_64_get_pteg() 126 pteg |= hash; in kvmppc_mmu_book3s_64_get_pteg()
|
D | book3s_32_mmu.c | 118 u32 page, hash, pteg, htabmask; in kvmppc_mmu_book3s_32_get_pteg() local 124 hash = ((sr_vsid(sre) ^ page) << 6); in kvmppc_mmu_book3s_32_get_pteg() 126 hash = ~hash; in kvmppc_mmu_book3s_32_get_pteg() 127 hash &= htabmask; in kvmppc_mmu_book3s_32_get_pteg() 129 pteg = (vcpu_book3s->sdr1 & 0xffff0000) | hash; in kvmppc_mmu_book3s_32_get_pteg()
|
D | book3s_hv_rm_mmu.c | 658 unsigned long vsid, hash; in kvmppc_hv_find_lock_hpte() local 681 hash = (vsid ^ ((eaddr & somask) >> pshift)) & HPT_HASH_MASK; in kvmppc_hv_find_lock_hpte() 692 hpte = (unsigned long *)(kvm->arch.hpt_virt + (hash << 7)); in kvmppc_hv_find_lock_hpte() 717 return (hash << 3) + (i >> 1); in kvmppc_hv_find_lock_hpte() 726 hash = hash ^ HPT_HASH_MASK; in kvmppc_hv_find_lock_hpte()
|
/arch/powerpc/boot/ |
D | zImage.lds.S | 28 .hash : { *(.hash) }
|
/arch/x86/crypto/ |
D | crc32c-intel.c | 88 static int crc32c_intel_setkey(struct crypto_shash *hash, const u8 *key, in crc32c_intel_setkey() argument 91 u32 *mctx = crypto_shash_ctx(hash); in crc32c_intel_setkey() 94 crypto_shash_set_flags(hash, CRYPTO_TFM_RES_BAD_KEY_LEN); in crc32c_intel_setkey()
|
/arch/parisc/kernel/ |
D | vmlinux.lds.S | 174 *(.hash) 175 *(.gnu.hash)
|
/arch/um/kernel/ |
D | dyn.lds.S | 24 .hash : { *(.hash) } 25 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 306 unsigned long hash; in pSeries_lpar_hpte_find() local 311 hash = hpt_hash(va, mmu_psize_defs[psize].shift, ssize); in pSeries_lpar_hpte_find() 315 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find() 397 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local 411 hash = hpt_hash(va, shift, ssize); in pSeries_lpar_flush_hash_range() 414 hash = ~hash; in pSeries_lpar_flush_hash_range() 415 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_flush_hash_range()
|
/arch/powerpc/platforms/cell/ |
D | beat_htab.c | 225 unsigned long hash; in beat_lpar_hpte_find() local 230 hash = hpt_hash(va, mmu_psize_defs[psize].shift, MMU_SEGSIZE_256M); in beat_lpar_hpte_find() 234 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in beat_lpar_hpte_find() 248 hash = ~hash; in beat_lpar_hpte_find()
|
/arch/powerpc/kernel/ |
D | vmlinux.lds.S | 178 .hash : AT(ADDR(.hash) - LOAD_OFFSET) { *(.hash) }
|
/arch/powerpc/include/asm/ |
D | mmu-hash64.h | 236 unsigned long hash, vsid; in hpt_hash() local 239 hash = (va >> 28) ^ ((va & 0x0fffffffUL) >> shift); in hpt_hash() 242 hash = vsid ^ (vsid << 25) ^ ((va & 0xffffffffffUL) >> shift); in hpt_hash() 244 return hash & 0x7fffffffffUL; in hpt_hash()
|
/arch/sparc/mm/ |
D | tsb.c | 39 unsigned long hash = tsb_hash(v, PAGE_SHIFT, in flush_tsb_kernel_range() local 41 struct tsb *ent = &swapper_tsb[hash]; in flush_tsb_kernel_range() 52 unsigned long tag, ent, hash; in __flush_tsb_one_entry() local 55 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry() 56 ent = tsb + (hash * sizeof(struct tsb)); in __flush_tsb_one_entry()
|