| /linux/include/linux/ |
| H A 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()
|
| H A D | hashtable.h | 32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
| /linux/tools/include/linux/ |
| H A 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()
|
| H A D | hashtable.h | 29 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
| /linux/scripts/include/ |
| H A D | hash.h | 18 static inline unsigned int hash_32(unsigned int val) in hash_32() function 25 return hash_32((unsigned int)(unsigned long)ptr); in hash_ptr()
|
| /linux/scripts/gendwarfksyms/ |
| H A D | cache.c | 21 hash_add(cache->cache, &ci->hash, hash_32(key)); in cache_set() 28 hash_for_each_possible(cache->cache, ci, hash, hash_32(key)) { in cache_get()
|
| H A D | die.c | 19 return hash_32(addr_hash(addr) ^ (unsigned int)state); in die_hash()
|
| H A D | kabi.c | 95 return hash_32(type) ^ hash_str(target); in rule_values_hash()
|
| H A D | symbols.c | 18 return hash_32(addr->section ^ addr_hash(addr->address)); in symbol_addr_hash()
|
| /linux/include/net/ |
| H A 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()
|
| /linux/include/net/netns/ |
| H A D | mctp.h | 45 return hash_32(type | (u32)local_addr << 8 | (u32)peer_addr << 16, in mctp_bind_hash()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A 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/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A 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/net/ipv4/ |
| H A 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() 871 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_get() 951 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_del()
|
| /linux/drivers/misc/vmw_vmci/ |
| H A D | vmci_resource.c | 32 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash()
|
| H A D | vmci_doorbell.c | 27 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS)
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_dh.c | 79 return hash_32(ntohl(addr_fold), IP_VS_DH_TAB_BITS); in ip_vs_dh_hashkey()
|
| H A D | ip_vs_sh.c | 93 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey()
|
| H A D | ip_vs_lblc.c | 157 return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS); in ip_vs_lblc_hashkey()
|
| /linux/arch/sparc/kernel/ |
| H A D | iommu-common.c | 43 per_cpu(iommu_hash_common, i) = hash_32(i, IOMMU_POOL_HASHBITS); in setup_iommu_pool_hash()
|
| /linux/arch/x86/kernel/ |
| H A D | kvm.c | 118 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_queue_task() 209 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
|
| /linux/fs/ |
| H A D | mbcache.c | 53 return &cache->c_hash[hash_32(key, cache->c_bucket_bits)]; in mb_cache_entry_head()
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_sess.c | 150 return hash_32(port_id, FT_SESS_HASH_BITS); in ft_sess_hash()
|
| /linux/drivers/dax/ |
| H A D | super.c | 429 inode = iget5_locked(dax_superblock, hash_32(devt + DAXFS_MAGIC, 31), in dax_dev_get()
|
| /linux/tools/lib/perf/ |
| H A D | evsel.c | 576 hash = hash_32(tid, PERF_SAMPLE_ID__HLIST_BITS); in perf_sample_id__get_period_storage()
|