Searched refs:hash_ptr (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.10/tools/include/linux/ |
D | hash.h | 88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
/Linux-v5.10/include/linux/ |
D | hash.h | 88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
/Linux-v5.10/kernel/locking/ |
D | qspinlock_paravirt.h | 214 unsigned long offset, hash = hash_ptr(lock, pv_lock_hash_bits); in pv_hash() 241 unsigned long offset, hash = hash_ptr(lock, pv_lock_hash_bits); in pv_unhash()
|
/Linux-v5.10/kernel/sched/ |
D | wait_bit.c | 155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
|
/Linux-v5.10/fs/nfsd/ |
D | export.c | 281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash() 803 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash() 804 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash() 805 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
|
/Linux-v5.10/kernel/ |
D | kprobes.c | 369 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe() 1247 unsigned long hash = hash_ptr(tsk, KPROBE_HASH_BITS); in kretprobe_hash_lock() 1281 unsigned long hash = hash_ptr(tsk, KPROBE_HASH_BITS); in kretprobe_hash_unlock() 1337 hash = hash_ptr(tk, KPROBE_HASH_BITS); in kprobe_flush_task() 1728 &kprobe_table[hash_ptr(p->addr, KPROBE_HASH_BITS)]); in register_kprobe() 2042 hash = hash_ptr(current, KPROBE_HASH_BITS); in NOKPROBE_SYMBOL()
|
/Linux-v5.10/block/ |
D | keyslot-manager.c | 134 return &ksm->slot_hashtable[hash_ptr(key, ksm->log_slot_ht_size)]; in blk_ksm_hash_bucket_for_key()
|
/Linux-v5.10/mm/ |
D | highmem.c | 399 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
|
D | filemap.c | 998 return &page_wait_table[hash_ptr(page, PAGE_WAIT_TABLE_BITS)]; in page_waitqueue()
|
/Linux-v5.10/kernel/bpf/ |
D | bpf_local_storage.c | 21 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
|
/Linux-v5.10/net/sched/ |
D | sch_fq.c | 302 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)]; in fq_classify() 717 nroot = &new_array[hash_ptr(of->sk, new_log)]; in fq_rehash()
|
D | cls_u32.c | 337 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_main.c | 393 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
|
/Linux-v5.10/fs/ |
D | io-wq.c | 937 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
|
/Linux-v5.10/net/ipv4/ |
D | udp.c | 1493 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
|
/Linux-v5.10/net/netfilter/ |
D | nf_tables_api.c | 965 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()
|