/arch/powerpc/mm/ |
D | hugepage-hash64.c | 27 unsigned long hidx, shift, vpn, hash, slot; in invalidate_old_hpte() local 60 hash = hpt_hash(vpn, shift, ssize); in invalidate_old_hpte() 62 hash = ~hash; in invalidate_old_hpte() 64 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in invalidate_old_hpte() 81 unsigned long vpn, hash, shift, slot; in __hash_page_thp() local 153 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 156 hash = ~hash; in __hash_page_thp() 157 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_thp() 179 hash = hpt_hash(vpn, shift, ssize); in __hash_page_thp() 192 hpte_group = ((hash & htab_hash_mask) * HPTES_PER_GROUP) & ~0x7UL; in __hash_page_thp() [all …]
|
D | hugetlbpage-hash64.c | 17 extern long hpte_insert_repeating(unsigned long hash, unsigned long vpn, 75 unsigned long hash, slot; in __hash_page_huge() local 77 hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge() 79 hash = ~hash; in __hash_page_huge() 80 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in __hash_page_huge() 89 unsigned long hash = hpt_hash(vpn, shift, ssize); in __hash_page_huge() local 107 slot = hpte_insert_repeating(hash, vpn, pa, rflags, 0, in __hash_page_huge()
|
D | hash_native_64.c | 327 unsigned long hash; in native_hpte_find() local 332 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in native_hpte_find() 336 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hpte_find() 430 unsigned long hidx, vpn = 0, hash, slot; in native_hugepage_invalidate() local 445 hash = hpt_hash(vpn, shift, ssize); in native_hugepage_invalidate() 447 hash = ~hash; in native_hugepage_invalidate() 449 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in native_hugepage_invalidate() 626 unsigned long hash, index, hidx, shift, slot; in native_flush_hash_range() local 648 hash = hpt_hash(vpn, shift, ssize); in native_flush_hash_range() 651 hash = ~hash; in native_flush_hash_range() [all …]
|
D | hash_utils_64.c | 199 unsigned long hash, hpteg; in htab_bolt_mapping() local 231 hash = hpt_hash(vpn, shift, ssize); in htab_bolt_mapping() 232 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping() 1283 unsigned long hash, index, shift, hidx, slot; in flush_hash_page() local 1287 hash = hpt_hash(vpn, shift, ssize); in flush_hash_page() 1290 hash = ~hash; in flush_hash_page() 1291 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_page() 1354 long hpte_insert_repeating(unsigned long hash, unsigned long vpn, in hpte_insert_repeating() argument 1362 hpte_group = ((hash & htab_hash_mask) * in hpte_insert_repeating() 1371 hpte_group = ((~hash & htab_hash_mask) * in hpte_insert_repeating() [all …]
|
/arch/x86/boot/compressed/ |
D | aslr.c | 37 static unsigned long rotate_xor(unsigned long hash, const void *area, in rotate_xor() argument 43 for (i = 0; i < size / sizeof(hash); i++) { in rotate_xor() 45 hash = (hash << ((sizeof(hash) * 8) - 7)) | (hash >> 7); in rotate_xor() 46 hash ^= ptr[i]; in rotate_xor() 49 return hash; in rotate_xor() 55 unsigned long hash = 0; in get_random_boot() local 57 hash = rotate_xor(hash, build_str, sizeof(build_str)); in get_random_boot() 58 hash = rotate_xor(hash, real_mode, sizeof(*real_mode)); in get_random_boot() 60 return hash; in get_random_boot()
|
/arch/x86/um/vdso/ |
D | vdso-layout.lds.S | 11 .hash : { *(.hash) } :text 12 .gnu.hash : { *(.gnu.hash) }
|
/arch/tile/kernel/vdso/ |
D | vdso.lds.S | 28 .hash : { *(.hash) } :text 29 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm/vdso/ |
D | vdso.lds.S | 37 .hash : { *(.hash) } :text 38 .gnu.hash : { *(.gnu.hash) }
|
/arch/sh/kernel/vsyscall/ |
D | vsyscall.lds.S | 22 .hash : { *(.hash) } :text 23 .gnu.hash : { *(.gnu.hash) }
|
/arch/arm64/kernel/vdso/ |
D | vdso.lds.S | 34 .hash : { *(.hash) } :text 35 .gnu.hash : { *(.gnu.hash) }
|
/arch/sparc/crypto/ |
D | md5_glue.c | 36 mctx->hash[0] = cpu_to_le32(0x67452301); in md5_sparc64_init() 37 mctx->hash[1] = cpu_to_le32(0xefcdab89); in md5_sparc64_init() 38 mctx->hash[2] = cpu_to_le32(0x98badcfe); in md5_sparc64_init() 39 mctx->hash[3] = cpu_to_le32(0x10325476); in md5_sparc64_init() 54 md5_sparc64_transform(sctx->hash, (u8 *)sctx->block, 1); in __md5_sparc64_update() 59 md5_sparc64_transform(sctx->hash, data + done, rounds); in __md5_sparc64_update() 108 dst[i] = sctx->hash[i]; in md5_sparc64_final()
|
D | crc32c_glue.c | 30 static int crc32c_sparc64_setkey(struct crypto_shash *hash, const u8 *key, in crc32c_sparc64_setkey() argument 33 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey() 36 crypto_shash_set_flags(hash, CRYPTO_TFM_RES_BAD_KEY_LEN); in crc32c_sparc64_setkey()
|
/arch/mips/vdso/ |
D | vdso.lds.S | 39 .hash : { *(.hash) } :text 40 .gnu.hash : { *(.gnu.hash) }
|
/arch/x86/vdso/ |
D | vdso-layout.lds.S | 42 .hash : { *(.hash) } :text 43 .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 | 19 .hash : { *(.hash) } :text 20 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/kernel/vdso64/ |
D | vdso64.lds.S | 19 .hash : { *(.hash) } :text 20 .gnu.hash : { *(.gnu.hash) }
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 333 unsigned long hash; in pSeries_lpar_hpte_find() local 338 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in pSeries_lpar_hpte_find() 342 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hpte_find() 452 unsigned long shift, hidx, vpn = 0, hash, slot; in pSeries_lpar_hugepage_invalidate() local 466 hash = hpt_hash(vpn, shift, ssize); in pSeries_lpar_hugepage_invalidate() 468 hash = ~hash; in pSeries_lpar_hugepage_invalidate() 470 slot = (hash & htab_hash_mask) * HPTES_PER_GROUP; in pSeries_lpar_hugepage_invalidate() 521 unsigned long hash, index, shift, hidx, slot; in pSeries_lpar_flush_hash_range() local 535 hash = hpt_hash(vpn, shift, ssize); in pSeries_lpar_flush_hash_range() 538 hash = ~hash; in pSeries_lpar_flush_hash_range() [all …]
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_host.c | 86 ulong hash, hpteg; in kvmppc_mmu_map_page() local 156 hash = hpt_hash(vpn, mmu_psize_defs[hpsize].shift, MMU_SEGSIZE_256M); in kvmppc_mmu_map_page() 167 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page() 181 hash = ~hash; in kvmppc_mmu_map_page() 192 hash = ~hash; in kvmppc_mmu_map_page() 193 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()
|
/arch/powerpc/boot/ |
D | zImage.lds.S | 36 .hash : { *(.hash) }
|
/arch/um/kernel/ |
D | dyn.lds.S | 22 .hash : { *(.hash) } 23 .gnu.hash : { *(.gnu.hash) }
|
/arch/x86/crypto/ |
D | crc32-pclmul_glue.c | 91 static int crc32_pclmul_setkey(struct crypto_shash *hash, const u8 *key, in crc32_pclmul_setkey() argument 94 u32 *mctx = crypto_shash_ctx(hash); in crc32_pclmul_setkey() 97 crypto_shash_set_flags(hash, CRYPTO_TFM_RES_BAD_KEY_LEN); in crc32_pclmul_setkey()
|