Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/gpu/drm/
Ddrm_hashtab.c69 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
83 hashed_key = hash_long(key, ht->order); in drm_ht_find_key()
101 hashed_key = hash_long(key, ht->order); in drm_ht_find_key_rcu()
120 hashed_key = hash_long(key, ht->order); in drm_ht_insert_item()
150 unshifted_key = hash_long(seed, bits); in drm_ht_just_insert_please()
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_hashtab.c68 hashed_key = hash_long(key, ht->order); in vmwgfx_ht_verbose_list()
81 hashed_key = hash_long(key, ht->order); in vmwgfx_ht_find_key()
98 hashed_key = hash_long(key, ht->order); in vmwgfx_ht_find_key_rcu()
117 hashed_key = hash_long(key, ht->order); in vmwgfx_ht_insert_item()
146 unshifted_key = hash_long(seed, bits); in vmwgfx_ht_just_insert_please()
/Linux-v6.1/tools/include/linux/
Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) macro
18 #define hash_long(val, bits) hash_64(val, bits) macro
87 return hash_long((unsigned long)ptr, bits); in hash_ptr()
Dhashtable.h29 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/Linux-v6.1/include/linux/
Dhash.h16 #define hash_long(val, bits) hash_32(val, bits) macro
18 #define hash_long(val, bits) hash_64(val, bits) macro
87 return hash_long((unsigned long)ptr, bits); in hash_ptr()
Dstringhash.h55 return hash_long(hash, 32); in end_name_hash()
Dhashtable.h32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/Linux-v6.1/drivers/md/
Draid1.h215 return hash_long(sector >> BARRIER_UNIT_SECTOR_BITS, in sector_to_idx()
Ddm-clone-target.c605 return &clone->ht[hash_long(region_nr, HASH_TABLE_BITS)]; in get_hash_table_bucket()
/Linux-v6.1/io_uring/
Dpoll.c119 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_insert()
130 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_delete()
141 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_insert_locked()
760 u32 index = hash_long(cd->data, table->hash_bits); in io_poll_find()
/Linux-v6.1/security/tomoyo/
Dmemory.c163 head = &tomoyo_name_list[hash_long(hash, TOMOYO_HASH_BITS)]; in tomoyo_get_name()
/Linux-v6.1/kernel/sched/
Dwait_bit.c17 return bit_wait_table + hash_long(val, WAIT_TABLE_BITS); in bit_waitqueue()
/Linux-v6.1/fs/ecryptfs/
Dmessaging.c23 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits)
/Linux-v6.1/kernel/
Ducount.c22 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
/Linux-v6.1/arch/x86/mm/
Dkmmio.c83 return &kmmio_page_table[hash_long(addr, KMMIO_PAGE_HASH_BITS)]; in kmmio_page_list()
/Linux-v6.1/fs/nfsd/
Dnfs4idmap.c116 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
/Linux-v6.1/tools/perf/
Dbuiltin-lock.c50 #define __lockhashfn(key) hash_long((unsigned long)key, LOCKHASH_BITS)
1012 hash ^= hash_long((unsigned long)node->ip, 64); in callchain_id()
/Linux-v6.1/fs/notify/fanotify/
Dfanotify.c827 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); in fanotify_alloc_event()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c469 bucket_idx = hash_long(l, ARFS_HASH_SHIFT); in arfs_hash_bucket()
/Linux-v6.1/lib/
Ddebugobjects.c489 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket()
/Linux-v6.1/net/sunrpc/
Dsvcauth_unix.c416 return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); in unix_gid_hash()
/Linux-v6.1/kernel/locking/
Dlockdep.c406 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS)
417 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS)
1211 unsigned long hash = hash_long((uintptr_t)key, KEYHASH_BITS); in keyhashentry()
/Linux-v6.1/drivers/md/bcache/
Drequest.c740 s->iop.write_point = hash_long((unsigned long) current, 16); in search_alloc()
/Linux-v6.1/fs/
Ddax.c173 hash = hash_long((unsigned long)xas->xa ^ index, DAX_WAIT_TABLE_BITS); in dax_entry_waitqueue()
/Linux-v6.1/kernel/trace/
Dftrace.c693 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func()
712 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile()
1101 return hash_long(ip, hash->size_bits); in ftrace_hash_key()

12