/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_mmu_hpte.c | 28 return hash_64(eaddr >> PTE_SIZE, HPTEG_HASH_BITS_PTE); in kvmppc_mmu_hash_pte() 33 return hash_64((eaddr & 0x0ffff000) >> PTE_SIZE, in kvmppc_mmu_hash_pte_long() 39 return hash_64(vpage & 0xfffffffffULL, HPTEG_HASH_BITS_VPTE); in kvmppc_mmu_hash_vpte() 44 return hash_64((vpage & 0xffffff000ULL) >> 12, in kvmppc_mmu_hash_vpte_long() 51 return hash_64((vpage & 0xffffffff0ULL) >> 4, in kvmppc_mmu_hash_vpte_64k()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_mmu_hpte.c | 28 return hash_64(eaddr >> PTE_SIZE, HPTEG_HASH_BITS_PTE); in kvmppc_mmu_hash_pte() 33 return hash_64((eaddr & 0x0ffff000) >> PTE_SIZE, in kvmppc_mmu_hash_pte_long() 39 return hash_64(vpage & 0xfffffffffULL, HPTEG_HASH_BITS_VPTE); in kvmppc_mmu_hash_vpte() 44 return hash_64((vpage & 0xffffff000ULL) >> 12, in kvmppc_mmu_hash_vpte_long() 51 return hash_64((vpage & 0xffffffff0ULL) >> 4, in kvmppc_mmu_hash_vpte_64k()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | hash.h | 18 #define hash_long(val, bits) hash_64(val, bits) 75 #define hash_64 hash_64_generic macro
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hash.h | 18 #define hash_long(val, bits) hash_64(val, bits) 75 #define hash_64 hash_64_generic macro
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hash.h | 18 #define hash_long(val, bits) hash_64(val, bits) 72 #define hash_64 hash_64_generic macro
|
H A D | slab.h | 409 return KMALLOC_RANDOM_START + hash_64(caller ^ random_kmalloc_seed, in kmalloc_type()
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | hash.h | 18 #define hash_long(val, bits) hash_64(val, bits) 72 #define hash_64 hash_64_generic macro
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | hash.h | 118 hash_64(u64 a, unsigned int bits) in hash_64() function
|
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | hash.h | 118 hash_64(u64 a, unsigned int bits) in hash_64() function
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsfs.h | 31 * so that it will fit. We use hash_64 to convert the value to 31 bits, and 38 return (ino_t)hash_64(fileid, (sizeof(ino_t) * 8) - 1) + 1; in cifs_uniqueid_to_ino_t()
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_hash.c | 14 * and hash_64(). 113 /* Test hash_64 */ in test_int_hash() 114 hash_or[1][k] |= h1 = hash_64(h64, k); in test_int_hash() 116 pr_err("hash_64(%#llx, %d) = %#x > %#x", h64, k, h1, m); in test_int_hash() 123 pr_err("hash_64(%#llx, %d) = %#x != hash_64_generic() " in test_int_hash() 178 h64 = h64 << 32 | h0; /* For use with hash_64 */ in test_hash_init() 216 pr_err("OR of all hash_64(%d) results = %#x " in test_hash_init() 239 pr_info("hash_64() is arch-specific; not compared to generic."); in test_hash_init() 242 pr_info("hash_64() has no arch implementation to test."); in test_hash_init()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsfs.h | 18 * so that it will fit. We use hash_64 to convert the value to 31 bits, and 25 return (ino_t)hash_64(fileid, (sizeof(ino_t) * 8) - 1) + 1; in cifs_uniqueid_to_ino_t()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_hash.c | 14 * and hash_64(). 90 "hash_64(%#llx, %d) = %#x != hash_64_generic() = %#x", in test_int_hash_64() 131 /* Test hash_64 */ in test_int_hash() 132 hash_or[1][k] |= params.h1 = hash_64(h64, k); in test_int_hash() 134 "hash_64(%#llx, %d) = %#x > %#x", in test_int_hash() 195 h64 = h64 << 32 | h0; /* For use with hash_64 */ in test_hash_or() 219 "OR of all hash_64(%d) results = %#x (%#x expected)", in test_hash_or()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.c | 393 hash = hash_64(key, AMDGPU_GMC_FAULT_HASH_ORDER); in amdgpu_gmc_filter_faults() 463 hash = hash_64(key, AMDGPU_GMC_FAULT_HASH_ORDER); in amdgpu_gmc_filter_faults_remove()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gmc.c | 285 hash = hash_64(key, AMDGPU_GMC_FAULT_HASH_ORDER); in amdgpu_gmc_filter_faults()
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-transaction-manager.c | 33 return hash_64(b, PREFETCH_BITS); in prefetch_hash()
|
/kernel/linux/linux-5.10/fs/jbd2/ |
H A D | revoke.c | 133 return hash_64(block, journal->j_revoke->hash_shift); in hash()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | trampoline.c | 67 head = &trampoline_table[hash_64(key, TRAMPOLINE_HASH_BITS)]; in bpf_trampoline_lookup()
|
/kernel/linux/linux-6.6/fs/jbd2/ |
H A D | revoke.c | 133 return hash_64(block, journal->j_revoke->hash_shift); in hash()
|
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-transaction-manager.c | 34 return hash_64(b, PREFETCH_BITS); in prefetch_hash()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-policy-smq.c | 624 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_insert() 659 unsigned h = hash_64(from_oblock(oblock), ht->hash_bits); in h_lookup() 676 unsigned h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_remove()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-cache-policy-smq.c | 626 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_insert() 662 unsigned int h = hash_64(from_oblock(oblock), ht->hash_bits); in h_lookup() 679 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits); in h_remove()
|
/kernel/linux/linux-5.10/tools/lib/perf/ |
H A D | evlist.c | 236 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash()
|
/kernel/linux/linux-6.6/tools/lib/perf/ |
H A D | evlist.c | 258 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | trampoline.c | 141 head = &trampoline_table[hash_64(key, TRAMPOLINE_HASH_BITS)]; in bpf_trampoline_lookup()
|