Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_hashtab.c70 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
84 hashed_key = hash_long(key, ht->order); in drm_ht_find_key()
102 hashed_key = hash_long(key, ht->order); in drm_ht_find_key_rcu()
121 hashed_key = hash_long(key, ht->order); in drm_ht_insert_item()
152 unshifted_key = hash_long(seed, bits); in drm_ht_just_insert_please()
/OK3568_Linux_fs/kernel/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
90 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))
/OK3568_Linux_fs/kernel/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
90 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))
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_hash.h33 #define hash_long(val, bits) hash_32(val, bits) macro
36 #define hash_long(val, bits) hash_64(val, bits)
269 (sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
339 return hash_long((unsigned long)ptr, bits); in hash_ptr()
/OK3568_Linux_fs/kernel/drivers/md/
H A Draid1.h215 return hash_long(sector >> BARRIER_UNIT_SECTOR_BITS, in sector_to_idx()
H A Ddm-clone-target.c611 return &clone->ht[hash_long(region_nr, HASH_TABLE_BITS)]; in get_hash_table_bucket()
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dfilecache.c534 unsigned int hashval = (unsigned int)hash_long(inode->i_ino, in nfsd_file_close_inode_sync()
554 unsigned int hashval = (unsigned int)hash_long(inode->i_ino, in nfsd_file_close_inode()
921 hashval = (unsigned int)hash_long(inode->i_ino, NFSD_FILE_HASH_BITS); in nfsd_file_is_cached()
954 hashval = (unsigned int)hash_long(inode->i_ino, NFSD_FILE_HASH_BITS); in nfsd_file_acquire()
H A Dnfs4idmap.c116 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash()
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dmemory.c163 head = &tomoyo_name_list[hash_long(hash, TOMOYO_HASH_BITS)]; in tomoyo_get_name()
/OK3568_Linux_fs/kernel/kernel/
H A Ducount.c16 hash_long((unsigned long)__kuid_val(uid) + (unsigned long)(ns), \
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dwait_bit.c17 return bit_wait_table + hash_long(val, WAIT_TABLE_BITS); in bit_waitqueue()
/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dmessaging.c23 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits)
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dkmmio.c83 return &kmmio_page_table[hash_long(addr, KMMIO_PAGE_HASH_BITS)]; in kmmio_page_list()
/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-lock.c43 #define __lockhashfn(key) hash_long((unsigned long)key, LOCKHASH_BITS)
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c416 bucket_idx = hash_long(l, ARFS_HASH_SHIFT); in arfs_hash_bucket()
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dsvcauth_unix.c424 return hash_long(from_kuid(&init_user_ns, uid), GID_HASHBITS); in unix_gid_hash()
/OK3568_Linux_fs/kernel/lib/
H A Ddebugobjects.c492 hash = hash_long((addr >> ODEBUG_CHUNK_SHIFT), ODEBUG_HASH_BITS); in get_bucket()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dlockdep.c375 #define __classhashfn(key) hash_long((unsigned long)key, CLASSHASH_BITS)
386 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS)
1166 unsigned long hash = hash_long((uintptr_t)key, KEYHASH_BITS); in keyhashentry()
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Drequest.c739 s->iop.write_point = hash_long((unsigned long) current, 16); in search_alloc()
/OK3568_Linux_fs/kernel/fs/
H A Ddax.c173 hash = hash_long((unsigned long)xas->xa ^ index, DAX_WAIT_TABLE_BITS); in dax_entry_waitqueue()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dftrace.c696 key = hash_long(ip, FTRACE_PROFILE_HASH_BITS); in ftrace_find_profiled_func()
715 key = hash_long(rec->ip, FTRACE_PROFILE_HASH_BITS); in ftrace_add_profile()
1107 return hash_long(ip, hash->size_bits); in ftrace_hash_key()
/OK3568_Linux_fs/kernel/fs/fuse/
H A Ddev.c205 return hash_long(unique & ~FUSE_INT_REQ_BIT, FUSE_PQ_HASH_BITS); in fuse_req_hash()

12