/linux/include/linux/ |
H A D | hash.h | 16 #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 D | stringhash.h | 55 return hash_long(hash, 32); in end_name_hash()
|
H A D | hashtable.h | 32 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
/linux/tools/include/linux/ |
H A D | hash.h | 16 #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 D | hashtable.h | 29 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
|
/linux/drivers/md/ |
H A D | raid1.h | 194 return hash_long(sector >> BARRIER_UNIT_SECTOR_BITS, in sector_to_idx()
|
H A D | dm-clone-target.c | 605 return &clone->ht[hash_long(region_nr, HASH_TABLE_BITS)]; in get_hash_table_bucket()
|
/linux/tools/perf/util/ |
H A D | lock-contention.c | 14 #define __lockhashfn(key) hash_long((unsigned long)key, LOCKHASH_BITS)
|
/linux/security/tomoyo/ |
H A D | memory.c | 163 head = &tomoyo_name_list[hash_long(hash, TOMOYO_HASH_BITS)]; in tomoyo_get_name()
|
/linux/fs/ecryptfs/ |
H A D | messaging.c | 23 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits)
|
/linux/kernel/ |
H A D | ucount.c | 25 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
|
/linux/arch/x86/mm/ |
H A D | kmmio.c | 89 return &kmmio_page_table[hash_long(addr, KMMIO_PAGE_HASH_BITS)]; in kmmio_page_list()
|
/linux/fs/nfsd/ |
H A D | nfs4idmap.c | 117 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_arfs.c | 493 bucket_idx = hash_long(l, ARFS_HASH_SHIFT); in arfs_hash_bucket()
|
/linux/fs/notify/fanotify/ |
H A D | fanotify.c | 872 hash ^= hash_long((unsigned long)pid | ondir, FANOTIFY_EVENT_HASH_BITS); in fanotify_alloc_event()
|
/linux/net/sunrpc/ |
H A D | svcauth_unix.c | 417 return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); in unix_gid_hash()
|
/linux/lib/ |
H A D | debugobjects.c | 590 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket()
|
H A D | vsprintf.c | 830 hashval = hash_long((unsigned long)ptr, 32); in ptr_to_id()
|
/linux/kernel/locking/ |
H A D | lockdep.c | 410 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS) 421 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS) 1215 unsigned long hash = hash_long((uintptr_t)key, KEYHASH_BITS); in keyhashentry()
|
/linux/drivers/md/bcache/ |
H A D | request.c | 754 s->iop.write_point = hash_long((unsigned long) current, 16); in search_alloc()
|
/linux/fs/bcachefs/ |
H A D | alloc_foreground.c | 1080 hash_long(write_point, ilog2(ARRAY_SIZE(c->write_points_hash))); in writepoint_hash()
|
/linux/kernel/trace/ |
H A D | ftrace.c | 719 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() 1134 return hash_long(ip, hash->size_bits); in ftrace_hash_key()
|
/linux/fs/ |
H A D | dax.c | 163 hash = hash_long((unsigned long)xas->xa ^ index, DAX_WAIT_TABLE_BITS); in dax_entry_waitqueue()
|
/linux/tools/perf/ |
H A D | builtin-lock.c | 937 hash ^= hash_long((unsigned long)node->ip, 64); in callchain_id()
|
/linux/fs/fuse/ |
H A D | dev.c | 323 return hash_long(unique & ~FUSE_INT_REQ_BIT, FUSE_PQ_HASH_BITS); in fuse_req_hash()
|