Home
last modified time | relevance | path

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

12

/linux-6.15/tools/include/linux/
H A 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()
H A Dhashtable.h29 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/linux-6.15/include/linux/
H A 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()
H A Dstringhash.h55 return hash_long(hash, 32); in end_name_hash()
H A Dhashtable.h32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
/linux-6.15/drivers/md/
H A Draid1.h214 return hash_long(sector >> BARRIER_UNIT_SECTOR_BITS, in sector_to_idx()
H A Ddm-clone-target.c605 return &clone->ht[hash_long(region_nr, HASH_TABLE_BITS)]; in get_hash_table_bucket()
/linux-6.15/tools/perf/util/
H A Dlock-contention.c14 #define __lockhashfn(key) hash_long((unsigned long)key, LOCKHASH_BITS)
/linux-6.15/security/tomoyo/
H A Dmemory.c163 head = &tomoyo_name_list[hash_long(hash, TOMOYO_HASH_BITS)]; in tomoyo_get_name()
/linux-6.15/kernel/sched/
H A Dwait_bit.c17 return bit_wait_table + hash_long(val, WAIT_TABLE_BITS); in bit_waitqueue()
/linux-6.15/fs/ecryptfs/
H A Dmessaging.c23 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits)
/linux-6.15/io_uring/
H A Dpoll.c124 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_insert()
747 u32 index = hash_long(cd->data, ctx->cancel_table.hash_bits); in io_poll_find()
/linux-6.15/kernel/
H A Ducount.c25 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
/linux-6.15/arch/x86/mm/
H A Dkmmio.c89 return &kmmio_page_table[hash_long(addr, KMMIO_PAGE_HASH_BITS)]; in kmmio_page_list()
/linux-6.15/fs/nfsd/
H A Dnfs4idmap.c117 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c493 bucket_idx = hash_long(l, ARFS_HASH_SHIFT); in arfs_hash_bucket()
/linux-6.15/fs/notify/fanotify/
H A Dfanotify.c866 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); in fanotify_alloc_event()
/linux-6.15/net/sunrpc/
H A Dsvcauth_unix.c417 return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); in unix_gid_hash()
/linux-6.15/lib/
H A Ddebugobjects.c590 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket()
/linux-6.15/kernel/locking/
H A Dlockdep.c412 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS)
423 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS)
1217 unsigned long hash = hash_long((uintptr_t)key, KEYHASH_BITS); in keyhashentry()
/linux-6.15/drivers/md/bcache/
H A Drequest.c754 s->iop.write_point = hash_long((unsigned long) current, 16); in search_alloc()
/linux-6.15/fs/bcachefs/
H A Dalloc_foreground.c1160 hash_long(write_point, ilog2(ARRAY_SIZE(c->write_points_hash))); in writepoint_hash()
/linux-6.15/kernel/trace/
H A Dftrace.c719 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func()
738 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile()
1138 return hash_long(ip, hash->size_bits); in ftrace_hash_key()
/linux-6.15/fs/
H A Ddax.c164 hash = hash_long((unsigned long)xas->xa ^ index, DAX_WAIT_TABLE_BITS); in dax_entry_waitqueue()
/linux-6.15/tools/perf/
H A Dbuiltin-lock.c935 hash ^= hash_long((unsigned long)node->ip, 64); in callchain_id()

12