| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) 66 #define hash_32 hash_32_generic macro 84 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))
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | hash.h | 16 #define hash_long(val, bits) hash_32(val, bits) 66 #define hash_32 hash_32_generic macro 84 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))
|
| /OK3568_Linux_fs/external/mpp/osal/inc/ |
| H A D | mpp_hash.h | 33 #define hash_long(val, bits) hash_32(val, bits) 269 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits)) 312 static inline RK_U32 hash_32(RK_U32 val, unsigned int bits) in hash_32() function 333 return hash_32((RK_U32)val ^ ((val >> 32) * GOLDEN_RATIO_32), bits); in hash_64()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_rx_filter.c | 162 key = hash_32(key, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_save() 181 key = hash_32(vid, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_by_vlan() 201 key = hash_32(*(u32 *)addr, IONIC_RX_FILTER_HASH_BITS); in ionic_rx_filter_by_addr()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_metrics.c | 258 hash = hash_32(hash, tcp_metrics_hash_log); in __tcp_get_metrics_req() 303 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_get_metrics() 849 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_get() 926 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_del()
|
| /OK3568_Linux_fs/kernel/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)
|
| /OK3568_Linux_fs/kernel/net/netfilter/ipvs/ |
| H A D | ip_vs_dh.c | 80 return hash_32(ntohl(addr_fold), IP_VS_DH_TAB_BITS); in ip_vs_dh_hashkey()
|
| H A D | ip_vs_sh.c | 94 return (offset + hash_32(ntohs(port) + ntohl(addr_fold), in ip_vs_sh_hashkey()
|
| H A D | ip_vs_lblc.c | 159 return hash_32(ntohl(addr_fold), IP_VS_LBLC_TAB_BITS); in ip_vs_lblc_hashkey()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_hash.c | 92 hash_or[0][k] |= h1 = hash_32(h0, k); in test_int_hash()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | kvm.c | 109 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_queue_task() 189 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | mbcache.c | 53 return &cache->c_hash[hash_32(key, cache->c_bucket_bits)]; in mb_cache_entry_head()
|
| /OK3568_Linux_fs/kernel/drivers/target/tcm_fc/ |
| H A D | tfc_sess.c | 150 return hash_32(port_id, FT_SESS_HASH_BITS); in ft_sess_hash()
|
| /OK3568_Linux_fs/kernel/fs/fat/ |
| H A D | fat.h | 423 return hash_32(logstart, FAT_HASH_BITS); in fat_dir_hash()
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | nfscache.c | 90 return hash_32(be32_to_cpu(xid), nn->maskbits); in nfsd_cache_hash()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | anycast.c | 56 return hash_32(val, IN6_ADDR_HSIZE_SHIFT); in inet6_acaddr_hash()
|
| /OK3568_Linux_fs/kernel/net/l2tp/ |
| H A D | l2tp_core.c | 136 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2() 148 return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)]; in l2tp_session_id_hash()
|
| /OK3568_Linux_fs/kernel/drivers/dax/ |
| H A D | super.c | 537 inode = iget5_locked(dax_superblock, hash_32(devt + DAXFS_MAGIC, 31), in dax_dev_get()
|
| /OK3568_Linux_fs/kernel/include/rdma/ |
| H A D | rdmavt_qp.h | 707 u32 n = hash_32(qpn, rdi->qp_dev->qp_table_bits); in rvt_lookup_qpn()
|