Home
last modified time | relevance | path

Searched refs:hash_ptr (Results 1 – 21 of 21) sorted by relevance

/linux/scripts/include/
H A Dhash.h23 static inline unsigned int hash_ptr(const void *ptr) in hash_ptr() function
/linux/include/linux/
H A Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/linux/tools/include/linux/
H A Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/linux/kernel/locking/
H A Dqspinlock_paravirt.h210 unsigned long offset, hash = hash_ptr(lock, pv_lock_hash_bits); in pv_hash()
238 unsigned long offset, hash = hash_ptr(lock, pv_lock_hash_bits); in pv_unhash()
/linux/kernel/trace/
H A Dfprobe.c52 return hash_ptr(*(unsigned long **)data, 32); in fprobe_node_hashfn()
68 return hash_ptr((void *)n->addr, 32); in fprobe_node_obj_hashfn()
113 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in fprobe_registered()
133 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in add_fprobe_hash()
/linux/scripts/gendwarfksyms/
H A Dgendwarfksyms.h98 return hash_ptr((const void *)addr); in addr_hash()
/linux/kernel/sched/
H A Dwait_bit.c166 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
/linux/fs/nfsd/
H A Dexport.c290 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
924 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash()
925 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
926 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
/linux/fs/notify/fanotify/
H A Dfanotify.c27 return hash_ptr(path->dentry, FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_path()
28 hash_ptr(path->mnt, FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_path()
/linux/block/
H A Dblk-crypto-profile.c173 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
/linux/scripts/kconfig/
H A Dexpr.c38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c394 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
/linux/net/sched/
H A Dsch_fq.c401 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)]; in fq_classify()
854 nroot = &new_array[hash_ptr(of->sk, new_log)]; in fq_rehash()
H A Dcls_u32.c348 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
/linux/kernel/bpf/
H A Dbpf_local_storage.c24 return &smap->buckets[hash_ptr(local_storage, smap->bucket_log)]; in select_bucket()
/linux/fs/kernfs/
H A Dfile.c45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
/linux/kernel/
H A Dkprobes.c385 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe()
1693 &kprobe_table[hash_ptr(p->addr, KPROBE_HASH_BITS)]); in __register_kprobe()
/linux/io_uring/
H A Dio-wq.c1083 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
/linux/kernel/module/
H A Dmain.c3670 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent()
3702 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent_complete()
/linux/mm/
H A Dfilemap.c1073 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
/linux/net/netfilter/
H A Dnf_tables_api.c1525 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()