Home
last modified time | relevance | path

Searched refs:hash_32 (Results 1 – 36 of 36) sorted by relevance

/linux-4.4.14/include/linux/
Dhash.h27 #define hash_long(val, bits) hash_32(val, bits)
78 static inline u32 hash_32(u32 val, unsigned int bits) in hash_32() function
Dhashtable.h27 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/linux-4.4.14/include/net/
Dllc.h80 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dqp.h90 return hash_32(qpn, dev->qp_table_bits); in qpn_hash()
/linux-4.4.14/net/ipv4/
Dtcp_metrics.c263 hash = hash_32(hash, tcp_metrics_hash_log); in __tcp_get_metrics_req()
306 hash = hash_32(hash, tcp_metrics_hash_log); in __tcp_get_metrics_tw()
350 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_get_metrics()
1007 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_get()
1080 hash = hash_32(hash, tcp_metrics_hash_log); in tcp_metrics_nl_cmd_del()
Dip_tunnel.c68 return hash_32((__force u32)key ^ (__force u32)remote, in ip_tunnel_hash()
Digmp.c1259 return hash_32((__force u32)im->multiaddr, MC_HASH_SZ_LOG); in ip_mc_hash()
2577 u32 hash = hash_32((__force u32)mc_addr, MC_HASH_SZ_LOG); in ip_check_mc_rcu()
Ddevinet.c114 return hash_32(val, IN4_ADDR_HSIZE_SHIFT); in inet_addr_hash()
Droute.c606 return hash_32(hval, FNHE_HASH_SHIFT); in fnhe_hashfun()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_resource.c39 return hash_32(handle.resource, VMCI_RESOURCE_HASH_BITS); in vmci_resource_hash()
Dvmci_doorbell.c35 #define VMCI_DOORBELL_HASH(_idx) hash_32(_idx, VMCI_DOORBELL_INDEX_BITS)
/linux-4.4.14/fs/logfs/
Ddir.c98 static u32 hash_32(const char *s, int len, u32 seed) in hash_32() function
162 u32 hash = hash_32(name->name, name->len, 0); in logfs_get_dd_page()
373 u32 hash = hash_32(dentry->d_name.name, dentry->d_name.len, 0); in logfs_write_dir()
/linux-4.4.14/arch/x86/kernel/
Dkvm.c122 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wait()
205 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_task_wake()
/linux-4.4.14/lib/
Diommu-common.c42 per_cpu(iommu_hash_common, i) = hash_32(i, IOMMU_POOL_HASHBITS); in setup_iommu_pool_hash()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_sess.c155 return hash_32(port_id, FT_SESS_HASH_BITS); in ft_sess_hash()
/linux-4.4.14/net/sched/
Dsch_fq.c246 root = &q->fq_root[hash_32((u32)(long)sk, q->fq_trees_log)]; in fq_classify()
573 nroot = &new_array[hash_32((u32)(long)of->sk, new_log)]; in fq_rehash()
/linux-4.4.14/fs/fat/
Dfat.h385 return hash_32(logstart, FAT_HASH_BITS); in fat_dir_hash()
Dinode.c347 return hash_32(i_pos, FAT_HASH_BITS); in fat_hash()
/linux-4.4.14/fs/nfsd/
Dnfscache.c118 return hash_32(be32_to_cpu(xid), maskbits); in nfsd_cache_hash()
/linux-4.4.14/tools/perf/util/
Dauxtrace.c1372 hlist_add_head(&entry->hash, &c->hashtable[hash_32(key, c->bits)]); in auxtrace_cache__add()
1385 hlist = &c->hashtable[hash_32(key, c->bits)]; in auxtrace_cache__lookup()
/linux-4.4.14/net/l2tp/
Dl2tp_core.c171 return &pn->l2tp_session_hlist[hash_32(session_id, L2TP_HASH_BITS_2)]; in l2tp_session_id_hash_2()
250 return &tunnel->session_hlist[hash_32(session_id, L2TP_HASH_BITS)]; in l2tp_session_id_hash()
/linux-4.4.14/kernel/time/
Dposix-timers.c152 return hash_32(hash32_ptr(sig) ^ nr, HASH_BITS(posix_timers_hashtable)); in hash()
/linux-4.4.14/net/sunrpc/
Dsvcauth_unix.c109 return hash_32(ipv6_addr_hash(ip), IP_HASHBITS); in hash_ip6()
/linux-4.4.14/arch/powerpc/kernel/
Diommu.c82 per_cpu(iommu_pool_hash, i) = hash_32(i, IOMMU_POOL_HASHBITS); in setup_iommu_pool_hash()
/linux-4.4.14/net/ipv6/
Dip6_vti.c60 return hash_32(hash, HASH_SIZE_SHIFT); in HASH()
Dip6_tunnel.c78 return hash_32(hash, HASH_SIZE_SHIFT); in HASH()
Dip6_gre.c104 return hash_32(hash, HASH_SIZE_SHIFT); in HASH_ADDR()
Daddrconf.c893 return hash_32(ipv6_addr_hash(addr), IN6_ADDR_HSIZE_SHIFT); in inet6_addr_hash()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c1108 hashout ^= hash_32(buf[i], KFD_GPU_ID_HASH_WIDTH); in kfd_generate_gpu_id()
/linux-4.4.14/drivers/net/
Dmacvlan.c228 return hash_32(val, MACVLAN_MC_FILTER_BITS); in mc_hash()
Dgeneve.c91 return hash_32(vnid, VNI_HASH_BITS); in geneve_net_vni_hash()
Dvxlan.c202 return &vs->vni_list[hash_32(id, VNI_HASH_BITS)]; in vni_head()
210 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)]; in vs_head()
/linux-4.4.14/drivers/md/bcache/
Dbtree.c820 return &c->bucket_hash[hash_32(PTR_HASH(c, k), BUCKET_HASH_BITS)]; in mca_hash()
/linux-4.4.14/fs/
Ddcache.c111 return dentry_hashtable + hash_32(hash, d_hash_shift); in d_hash()
/linux-4.4.14/net/core/
Ddev.c199 return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)]; in dev_name_hash()
/linux-4.4.14/arch/x86/kvm/
Dx86.c8088 return hash_32(gfn & 0xffffffff, order_base_2(ASYNC_PF_PER_VCPU)); in kvm_async_pf_hash_fn()