/Linux-v6.6/include/linux/ |
D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) 65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() function 81 return hash_32((u32)val ^ __hash_32(val >> 32), bits); in hash_64_generic()
|
D | hashtable.h | 32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
/Linux-v6.6/tools/include/linux/ |
D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) 65 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() function 81 return hash_32((u32)val ^ __hash_32(val >> 32), bits); in hash_64_generic()
|
D | hashtable.h | 29 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
/Linux-v6.6/include/net/ |
D | llc.h | 75 u32 bucket = hash_32(ifindex, LLC_SK_DEV_HASH_BITS); in llc_sk_dev_hash() 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
|
D | raw.h | 45 return hash_32(net_hash_mix(net) ^ proto, RAW_HTABLE_LOG); in raw_hashfunc()
|
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/ |
D | ionic_rx_filter.c | 174 key = hash_32(key, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_save() 191 key = hash_32(vid, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_by_vlan() 211 key = hash_32(*(u32 *)addr, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_by_addr() 230 key = hash_32(0, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_rxsteer()
|
/Linux-v6.6/drivers/net/vxlan/ |
D | vxlan_private.h | 48 return &vs->vni_list[hash_32((__force u32)vni, VNI_HASH_BITS)]; in vni_head() 56 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
D | ipoib_vlan.c | 74 struct hlist_head *h = &buckets[hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP)]; in mlx5i_find_qpn_to_netdev_node() 89 u8 key = hash_32(qpn, MLX5I_MAX_LOG_PKEY_SUP); in mlx5i_pkey_add_qpn()
|
/Linux-v6.6/net/ipv4/ |
D | tcp_metrics.c | 278 hash = hash_32(hash, tcp_metrics_hash_log); in __tcp_get_metrics_req() 323 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_get_metrics() 867 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_get() 944 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_del()
|
/Linux-v6.6/drivers/misc/vmw_vmci/ |
D | vmci_resource.c | 32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash()
|
D | vmci_doorbell.c | 27 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS)
|
/Linux-v6.6/net/netfilter/ipvs/ |
D | ip_vs_dh.c | 80 return hash_32(ntohl(addr_fold), IP_VS_DH_TAB_BITS); in ip_vs_dh_hashkey()
|
D | ip_vs_sh.c | 94 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey()
|
D | ip_vs_lblc.c | 159 return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS); in ip_vs_lblc_hashkey()
|
/Linux-v6.6/lib/ |
D | test_hash.c | 126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k); in test_int_hash()
|
/Linux-v6.6/arch/sparc/kernel/ |
D | iommu-common.c | 43 per_cpu(iommu_hash_common, i) = hash_32(i, IOMMU_POOL_HASHBITS); in setup_iommu_pool_hash()
|
/Linux-v6.6/arch/x86/kernel/ |
D | kvm.c | 112 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_queue_task() 192 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
|
/Linux-v6.6/fs/ |
D | mbcache.c | 53 return &cache->c_hash[hash_32(key, cache->c_bucket_bits)]; in mb_cache_entry_head()
|
/Linux-v6.6/fs/notify/fanotify/ |
D | fanotify.c | 40 return hash_32(fsid->val[0], FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_fsid() 41 hash_32(fsid->val[1], FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_fsid()
|
/Linux-v6.6/drivers/target/tcm_fc/ |
D | tfc_sess.c | 150 return hash_32(port_id, FT_SESS_HASH_BITS); in ft_sess_hash()
|
/Linux-v6.6/drivers/dax/ |
D | super.c | 423 inode = iget5_locked(dax_superblock, hash_32(devt + DAXFS_MAGIC, 31), in dax_dev_get()
|
/Linux-v6.6/fs/fat/ |
D | fat.h | 426 return hash_32(logstart, FAT_HASH_BITS); in fat_dir_hash()
|
/Linux-v6.6/net/ipv6/ |
D | anycast.c | 56 return hash_32(val, IN6_ADDR_HSIZE_SHIFT); in inet6_acaddr_hash()
|
/Linux-v6.6/fs/nfsd/ |
D | nfscache.c | 273 unsigned int hash = hash_32((__force u32)xid, nn->maskbits); in nfsd_cache_bucket_find()
|