Home
last modified time | relevance | path

Searched refs:hash_64 (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.15/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c28 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()
/linux-6.15/tools/include/linux/
H A Dhash.h18 #define hash_long(val, bits) hash_64(val, bits)
72 #define hash_64 hash_64_generic macro
/linux-6.15/include/linux/
H A Dhash.h18 #define hash_long(val, bits) hash_64(val, bits)
72 #define hash_64 hash_64_generic macro
H A Dslab.h647 return KMALLOC_RANDOM_START + hash_64(caller ^ random_kmalloc_seed, in kmalloc_type()
/linux-6.15/fs/bcachefs/
H A Dnocow_locking.h14 unsigned h = hash_64(dev_bucket, BUCKET_NOCOW_LOCKS_BITS); in bucket_nocow_lock()
H A Dbuckets_waiting_for_journal.c12 return t->d + hash_64(dev_bucket ^ t->hash_seeds[hash_seed_idx], t->bits); in bucket_hash()
H A Dec.c920 unsigned hash = hash_64(idx, ilog2(ARRAY_SIZE(c->ec_stripes_new))); in __bch2_stripe_is_open()
949 unsigned hash = hash_64(idx, ilog2(ARRAY_SIZE(c->ec_stripes_new))); in bch2_try_open_stripe()
/linux-6.15/arch/parisc/include/asm/
H A Dhash.h118 hash_64(u64 a, unsigned int bits) in hash_64() function
/linux-6.15/fs/smb/client/
H A Dcifsfs.h25 return (ino_t)hash_64(fileid, (sizeof(ino_t) * 8) - 1) + 1; in cifs_uniqueid_to_ino_t()
/linux-6.15/lib/tests/
H A Dtest_hash.c132 hash_or[1][k] |= params.h1 = hash_64(h64, k); in test_int_hash()
/linux-6.15/fs/jbd2/
H A Drevoke.c133 return hash_64(block, journal->j_revoke->hash_shift); in hash()
/linux-6.15/drivers/md/persistent-data/
H A Ddm-transaction-manager.c35 return hash_64(b, PREFETCH_BITS); in prefetch_hash()
/linux-6.15/drivers/md/
H A Ddm-cache-policy-smq.c626 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()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c421 hash = hash_64(key, AMDGPU_GMC_FAULT_HASH_ORDER); in amdgpu_gmc_filter_faults()
494 hash = hash_64(key, AMDGPU_GMC_FAULT_HASH_ORDER); in amdgpu_gmc_filter_faults_remove()
/linux-6.15/tools/lib/perf/
H A Devlist.c272 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS); in perf_evlist__id_hash()
/linux-6.15/tools/perf/util/
H A Devlist.c602 hash = hash_64(id, PERF_EVLIST__HLIST_BITS); in evlist__id2sid()
685 hash = hash_64(id, PERF_EVLIST__HLIST_BITS); in evlist__event2evsel()
H A Dmachine.c2197 int h = hash_64(l[i].from, CHASHBITS) % CHASHSZ; in remove_loops()
/linux-6.15/kernel/bpf/
H A Dtrampoline.c145 head = &trampoline_table[hash_64(key, TRAMPOLINE_HASH_BITS)]; in bpf_trampoline_lookup()
/linux-6.15/tools/perf/
H A Dbuiltin-inject.c1141 hash = hash_64(guest_id->id, PERF_EVLIST__HLIST_BITS); in guest_session__map_id()
1200 hash = hash_64(id, PERF_EVLIST__HLIST_BITS); in guest_session__lookup_id()
/linux-6.15/drivers/md/bcache/
H A Drequest.c360 return &dc->io_hash[hash_64(k, RECENT_IO_BITS)]; in iohash()
/linux-6.15/drivers/net/
H A Dmacvlan.c112 return hash_64(value, MACVLAN_HASH_BITS); in macvlan_eth_hash()
/linux-6.15/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c2020 idx = hash_64(value, 8); // tbd 8 in mac_vlan_lookup()
2050 idx = hash_64(val, 8); in mac_vlan_add()
/linux-6.15/net/sunrpc/auth_gss/
H A Dauth_gss.c1369 return hash_64(from_kuid(&init_user_ns, acred->cred->fsuid), hashbits); in gss_hash_cred()
/linux-6.15/fs/btrfs/
H A Draid56.c293 return hash_64(num >> 16, BTRFS_STRIPE_HASH_TABLE_BITS); in rbio_bucket()
/linux-6.15/fs/nfs/
H A Ddir.c365 return hash_64(cookie, 18); in nfs_readdir_folio_cookie_hash()

12