| /linux-6.15/scripts/include/ |
| H A D | hash.h | 23 static inline unsigned int hash_ptr(const void *ptr) in hash_ptr() function
|
| /linux-6.15/tools/include/linux/ |
| H A D | hash.h | 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
| /linux-6.15/include/linux/ |
| H A D | hash.h | 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
| /linux-6.15/kernel/trace/ |
| H A D | fprobe.c | 59 head = &fprobe_ip_table[hash_ptr((void *)ip, FPROBE_IP_HASH_BITS)]; in find_first_fprobe_node() 83 head = &fprobe_ip_table[hash_ptr((void *)ip, FPROBE_IP_HASH_BITS)]; in insert_fprobe_node() 106 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in is_fprobe_still_exist() 129 head = &fprobe_table[hash_ptr(fp, FPROBE_HASH_BITS)]; in add_fprobe_hash()
|
| /linux-6.15/kernel/locking/ |
| H A D | qspinlock_paravirt.h | 210 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-6.15/scripts/gendwarfksyms/ |
| H A D | gendwarfksyms.h | 98 return hash_ptr((const void *)addr); in addr_hash()
|
| /linux-6.15/kernel/sched/ |
| H A D | wait_bit.c | 163 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
|
| /linux-6.15/fs/nfsd/ |
| H A D | export.c | 281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash() 913 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash() 914 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash() 915 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
|
| /linux-6.15/fs/notify/fanotify/ |
| H A D | fanotify.c | 27 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-6.15/block/ |
| H A D | blk-crypto-profile.c | 175 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
|
| /linux-6.15/mm/ |
| H A D | highmem.c | 744 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
|
| H A D | filemap.c | 1066 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
|
| H A D | vmscan.c | 2796 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
|
| /linux-6.15/scripts/kconfig/ |
| H A D | expr.c | 38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup()
|
| /linux-6.15/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
| H A D | chtls_main.c | 394 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
|
| /linux-6.15/net/sched/ |
| H A D | sch_fq.c | 403 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)]; in fq_classify() 856 nroot = &new_array[hash_ptr(of->sk, new_log)]; in fq_rehash()
|
| H A D | cls_u32.c | 349 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
|
| /linux-6.15/kernel/bpf/ |
| H A D | bpf_local_storage.c | 24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
|
| /linux-6.15/fs/kernfs/ |
| H A D | file.c | 45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
|
| /linux-6.15/kernel/ |
| H A D | kprobes.c | 379 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe() 1611 &kprobe_table[hash_ptr(p->addr, KPROBE_HASH_BITS)]); in __register_kprobe()
|
| /linux-6.15/io_uring/ |
| H A D | io-wq.c | 1026 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
|
| /linux-6.15/kernel/module/ |
| H A D | main.c | 3504 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent() 3536 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent_complete()
|
| /linux-6.15/net/ipv4/ |
| H A D | udp.c | 1701 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_tables_api.c | 1480 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()
|