Symbol: hash_32
arch/powerpc/kernel/iommu.c
111
per_cpu(iommu_pool_hash, i) = hash_32(i, IOMMU_POOL_HASHBITS);
arch/sparc/kernel/iommu-common.c
43
per_cpu(iommu_hash_common, i) = hash_32(i, IOMMU_POOL_HASHBITS);
arch/x86/kernel/kvm.c
118
u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS);
arch/x86/kernel/kvm.c
209
u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS);
arch/x86/kvm/x86.c
13810
return hash_32(gfn & 0xffffffff, order_base_2(ASYNC_PF_PER_VCPU));
block/blk-zoned.c
516
hash_32(zwplug->zone_no, disk->zone_wplugs_hash_bits);
block/blk-zoned.c
555
unsigned int idx = hash_32(zno, disk->zone_wplugs_hash_bits);
drivers/dax/super.c
429
inode = iget5_locked(dax_superblock, hash_32(devt + DAXFS_MAGIC, 31),
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
1061
head = &eb->buckets[hash_32(handle, eb->lut_size)];
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
577
&eb->buckets[hash_32(entry->handle,
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c
760
const size_t base = (u32)hash_32(pid, MKSSTAT_CAPACITY_LOG2);
drivers/infiniband/sw/rdmavt/qp.c
1381
u32 n = hash_32(qp->ibqp.qp_num, rdi->qp_dev->qp_table_bits);
drivers/infiniband/sw/rdmavt/qp.c
731
u32 n = hash_32(qp->ibqp.qp_num, rdi->qp_dev->qp_table_bits);
drivers/infiniband/sw/rxe/rxe_qp.c
305
qp->src_port = RXE_ROCE_V2_SPORT + (hash_32(qp_num(qp), 14) & 0x3fff);
drivers/md/bcache/btree.c
850
return &c->bucket_hash[hash_32(PTR_HASH(c, k), BUCKET_HASH_BITS)];
drivers/md/dm-cache-policy-smq.c
1563
return hash_32(from_cblock(cblock), 9) & (NR_CACHE_LEVELS - 1);
drivers/misc/bcm-vk/bcm_vk_msg.c
214
u32 hash_idx = hash_32(pid, VK_PID_HT_SHIFT_BIT);
drivers/misc/vmw_vmci/vmci_doorbell.c
27
#define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS)
drivers/misc/vmw_vmci/vmci_resource.c
32
return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS);
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
74
struct hlist_head *h = &buckets[hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP)];
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
89
u8 key = hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP);
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
174
key = hash_32(key, IONIC_RX_FILTER_HASH_BITS);
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
191
key = hash_32(vid, IONIC_RX_FILTER_HASH_BITS);
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
211
key = hash_32(*(u32 *)addr, IONIC_RX_FILTER_HASH_BITS);
drivers/net/ethernet/pensando/ionic/ionic_rx_filter.c
230
key = hash_32(0, IONIC_RX_FILTER_HASH_BITS);
drivers/net/geneve.c
136
return hash_32(vnid, VNI_HASH_BITS);
drivers/net/macvlan.c
261
return hash_32(val, MACVLAN_MC_FILTER_BITS);
drivers/net/vxlan/vxlan_private.h
53
return &vs->vni_list[hash_32((__force u32)vni, VNI_HASH_BITS)];
drivers/net/vxlan/vxlan_private.h
61
return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)];
drivers/nvdimm/region_devs.c
1138
idx = this_cpu_add_return(flush_idx, hash_32(current->pid + idx, 8));
drivers/of/base.c
163
return hash_32(handle, OF_PHANDLE_CACHE_BITS);
drivers/target/tcm_fc/tfc_sess.c
150
return hash_32(port_id, FT_SESS_HASH_BITS);
fs/dcache.c
130
return in_lookup_hashtable + hash_32(hash, IN_LOOKUP_SHIFT);
fs/exfat/inode.c
559
return hash_32(i_pos, EXFAT_HASH_BITS);
fs/fat/fat.h
438
return hash_32(logstart, FAT_HASH_BITS);
fs/fat/inode.c
389
return hash_32(i_pos, FAT_HASH_BITS);
fs/gfs2/glock.c
113
return glock_wait_table + hash_32(hash, GLOCK_WAIT_TABLE_BITS);
fs/mbcache.c
53
return &cache->c_hash[hash_32(key, cache->c_bucket_bits)];
fs/nfsd/nfscache.c
250
unsigned int hash = hash_32((__force u32)xid, nn->maskbits);
fs/notify/fanotify/fanotify.c
33
return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^
fs/notify/fanotify/fanotify.c
34
hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS);
include/linux/hash.h
16
#define hash_long(val, bits) hash_32(val, bits)
include/linux/hash.h
81
return hash_32((u32)val ^ __hash_32(val >> 32), bits);
include/linux/hashtable.h
32
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
include/linux/mm.h
2090
pid_bit = hash_32(current->pid, ilog2(BITS_PER_LONG));
include/net/llc.h
75
u32 bucket = hash_32(ifindex, LLC_SK_DEV_HASH_BITS);
include/net/llc.h
83
return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0),
include/net/netns/mctp.h
45
return hash_32(type | (u32)local_addr << 8 | (u32)peer_addr << 16,
include/net/raw.h
45
return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG);
include/rdma/rdmavt_qp.h
710
u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits);
kernel/sched/fair.c
3333
if (test_bit(hash_32(current->pid, ilog2(BITS_PER_LONG)), &pids))
lib/tests/test_hash.c
126
hash_or[0][k] |= params.h1 = hash_32(params.h0, k);
mm/kfence/core.c
162
#define ALLOC_COVERED_HNEXT(h) hash_32(h, ALLOC_COVERED_ORDER)
net/core/dev.c
198
return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)];
net/core/dev.c
4987
return hash_32(hash, flow_table->log);
net/core/dev.c
5319
new_flow = hash_32(skb_get_hash(skb), fl->log_buckets);
net/ipv4/devinet.c
118
return hash_32(val, IN4_ADDR_HSIZE_SHIFT);
net/ipv4/fib_semantics.c
331
return hash_32(val ^ net_hash_mix(net), net->ipv4.fib_info_hash_bits);
net/ipv4/fib_semantics.c
360
slot = hash_32(net_hash_mix(net) ^ (__force u32)val, hash_bits);
net/ipv4/igmp.c
1387
return hash_32((__force u32)im->multiaddr, MC_HASH_SZ_LOG);
net/ipv4/igmp.c
1514
u32 hash = hash_32((__force u32)addr, MC_HASH_SZ_LOG);
net/ipv4/igmp.c
2816
u32 hash = hash_32((__force u32)mc_addr, MC_HASH_SZ_LOG);
net/ipv4/ip_tunnel.c
57
return hash_32((__force u32)key ^ (__force u32)remote,
net/ipv4/tcp_metrics.c
278
hash = hash_32(hash, tcp_metrics_hash_log);
net/ipv4/tcp_metrics.c
323
hash = hash_32(hash, tcp_metrics_hash_log);
net/ipv4/tcp_metrics.c
871
hash = hash_32(hash, tcp_metrics_hash_log);
net/ipv4/tcp_metrics.c
951
hash = hash_32(hash, tcp_metrics_hash_log);
net/ipv6/addrconf.c
1026
return hash_32(val, IN6_ADDR_HSIZE_SHIFT);
net/ipv6/anycast.c
60
return hash_32(val, IN6_ADDR_HSIZE_SHIFT);
net/ipv6/ip6_gre.c
106
return hash_32(hash, IP6_GRE_HASH_SIZE_SHIFT);
net/ipv6/ip6_tunnel.c
76
return hash_32(hash, IP6_TUNNEL_HASH_SIZE_SHIFT);
net/ipv6/ip6_vti.c
58
return hash_32(hash, IP6_VTI_HASH_SIZE_SHIFT);
net/netfilter/ipvs/ip_vs_dh.c
79
return hash_32(ntohl(addr_fold), IP_VS_DH_TAB_BITS);
net/netfilter/ipvs/ip_vs_lblc.c
157
return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS);
net/netfilter/ipvs/ip_vs_lblcr.c
320
return hash_32(ntohl(addr_fold), IP_VS_LBLCR_TAB_BITS);
net/netfilter/ipvs/ip_vs_sh.c
93
return (offset + hash_32(ntohs(port) + ntohl(addr_fold),
net/sunrpc/svcauth_unix.c
119
return hash_32(ipv6_addr_hash(ip), IP_HASHBITS);
net/xfrm/xfrm_interface_core.c
151
return hash_32(if_id, XFRMI_HASH_BITS);
scripts/gendwarfksyms/cache.c
21
hash_add(cache->cache, &ci->hash, hash_32(key));
scripts/gendwarfksyms/cache.c
28
hash_for_each_possible(cache->cache, ci, hash, hash_32(key)) {
scripts/gendwarfksyms/die.c
19
return hash_32(addr_hash(addr) ^ (unsigned int)state);
scripts/gendwarfksyms/kabi.c
95
return hash_32(type) ^ hash_str(target);
scripts/gendwarfksyms/symbols.c
18
return hash_32(addr->section ^ addr_hash(addr->address));
scripts/include/hash.h
25
return hash_32((unsigned int)(unsigned long)ptr);
scripts/kconfig/expr.c
38
hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r));
tools/include/linux/hash.h
16
#define hash_long(val, bits) hash_32(val, bits)
tools/include/linux/hash.h
81
return hash_32((u32)val ^ __hash_32(val >> 32), bits);
tools/include/linux/hashtable.h
29
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
tools/lib/perf/evsel.c
576
hash = hash_32(tid, PERF_SAMPLE_ID__HLIST_BITS);
tools/perf/builtin-inject.c
1144
hash = hash_32(guest_tid->tid, PERF_EVLIST__HLIST_BITS);
tools/perf/builtin-inject.c
1387
hash = hash_32(tid, PERF_EVLIST__HLIST_BITS);
tools/perf/util/auxtrace.c
2138
hlist_add_head(&entry->hash, &c->hashtable[hash_32(key, c->bits)]);
tools/perf/util/auxtrace.c
2153
hlist = &c->hashtable[hash_32(key, c->bits)];
tools/perf/util/auxtrace.c
2179
hlist = &c->hashtable[hash_32(key, c->bits)];