Home
last modified time | relevance | path

Searched refs:hash_long (Results 1 – 26 of 26) sorted by relevance

/linux-4.4.14/include/linux/
Dhash.h27 #define hash_long(val, bits) hash_32(val, bits) macro
29 #define hash_long(val, bits) hash_64(val, bits) macro
89 return hash_long((unsigned long)ptr, bits); in hash_ptr()
Dhashtable.h27 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/linux-4.4.14/drivers/gpu/drm/
Ddrm_hashtab.c66 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
80 hashed_key = hash_long(key, ht->order); in drm_ht_find_key()
98 hashed_key = hash_long(key, ht->order); in drm_ht_find_key_rcu()
117 hashed_key = hash_long(key, ht->order); in drm_ht_insert_item()
148 unshifted_key = hash_long(seed, bits); in drm_ht_just_insert_please()
/linux-4.4.14/include/linux/sunrpc/
Dsvcauth.h174 hash = hash_long(hash^l, BITS_PER_LONG); in hash_str()
193 hash = hash_long(hash^l, BITS_PER_LONG); in hash_mem()
/linux-4.4.14/fs/
Dmbcache.c99 (hash_long((unsigned long)ce, MB_CACHE_ENTRY_LOCK_BITS))
590 bucket = hash_long((unsigned long)bdev + (block & 0xffffffff), in mb_cache_entry_insert()
609 bucket = hash_long(key, cache->c_bucket_bits); in mb_cache_entry_insert()
669 bucket = hash_long((unsigned long)bdev + (block & 0xffffffff), in mb_cache_entry_get()
789 unsigned int bucket = hash_long(key, cache->c_bucket_bits); in mb_cache_entry_find_first()
828 unsigned int bucket = hash_long(key, cache->c_bucket_bits); in mb_cache_entry_find_next()
/linux-4.4.14/security/tomoyo/
Dmemory.c158 head = &tomoyo_name_list[hash_long(hash, TOMOYO_HASH_BITS)]; in tomoyo_get_name()
/linux-4.4.14/security/integrity/ima/
Dima.h136 return hash_long(*digest, IMA_HASH_BITS); in ima_hash_key()
/linux-4.4.14/fs/ecryptfs/
Dmessaging.c36 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits)
/linux-4.4.14/arch/x86/mm/
Dkmmio.c82 return &kmmio_page_table[hash_long(addr, KMMIO_PAGE_HASH_BITS)]; in kmmio_page_list()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_fid.h593 return hash_long(fid_flatten(f), bits); in fid_hash()
/linux-4.4.14/kernel/sched/
Dwait.c492 return &zone->wait_table[hash_long(val, zone->wait_table_bits)]; in bit_waitqueue()
/linux-4.4.14/kernel/
Dpid.c43 hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift)
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c475 hash = hash_long(hash, hs->hs_bkt_bits); in ldlm_res_hop_fid_hash()
477 hash -= hash_long((unsigned long)hs, val % 11 + 3); in ldlm_res_hop_fid_hash()
/linux-4.4.14/kernel/trace/
Dftrace.c812 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func()
831 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile()
1236 key = hash_long(ip, hash->size_bits); in ftrace_lookup_ip()
1256 key = hash_long(entry->ip, hash->size_bits); in __add_hash_entry()
3624 key = hash_long(ip, FTRACE_HASH_BITS); in function_trace_probe_call()
3791 key = hash_long(entry->ip, FTRACE_HASH_BITS); in register_ftrace_function_probe()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h413 return hash_long(nid, LNET_PEER_HASH_BITS); in lnet_nid2peerhash()
/linux-4.4.14/fs/nfsd/
Dnfs4idmap.c115 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c874 hash = hash_long(hash, hs->hs_bkt_bits); in lu_obj_hop_hash()
877 hash -= hash_long((unsigned long)hs, fid_oid(fid) % 11 + 3); in lu_obj_hop_hash()
/linux-4.4.14/net/sunrpc/
Dauth.c554 nr = hash_long(from_kuid(&init_user_ns, acred->uid), cache->hashbits); in rpcauth_lookup_credcache()
Dsvcauth_unix.c419 return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); in unix_gid_hash()
/linux-4.4.14/tools/perf/
Dbuiltin-lock.c38 #define __lockhashfn(key) hash_long((unsigned long)key, LOCKHASH_BITS)
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-ptl.c367 hash = hash_long(hash, LNET_MT_HASH_BITS); in lnet_mt_match_head()
Dapi-ni.c696 val = hash_long(key, LNET_CPT_BITS); in lnet_nid_cpt_hash()
/linux-4.4.14/lib/
Ddebugobjects.c247 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket()
/linux-4.4.14/drivers/md/bcache/
Drequest.c667 s->iop.write_point = hash_long((unsigned long) current, 16); in search_alloc()
/linux-4.4.14/kernel/locking/
Dlockdep.c292 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS)
303 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS)
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c222 bucket_idx = hash_long(l, MLX4_EN_FILTER_HASH_SHIFT); in filter_hash_bucket()