Home
last modified time | relevance | path

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

/Linux-v5.10/tools/include/linux/
Dhash.h88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/Linux-v5.10/include/linux/
Dhash.h88 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/Linux-v5.10/kernel/locking/
Dqspinlock_paravirt.h214 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/
Dwait_bit.c155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
/Linux-v5.10/fs/nfsd/
Dexport.c281 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/
Dkprobes.c369 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/
Dkeyslot-manager.c134 return &ksm->slot_hashtable[hash_ptr(key, ksm->log_slot_ht_size)]; in blk_ksm_hash_bucket_for_key()
/Linux-v5.10/mm/
Dhighmem.c399 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
Dfilemap.c998 return &page_wait_table[hash_ptr(page, PAGE_WAIT_TABLE_BITS)]; in page_waitqueue()
/Linux-v5.10/kernel/bpf/
Dbpf_local_storage.c21 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
/Linux-v5.10/net/sched/
Dsch_fq.c302 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()
Dcls_u32.c337 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/
Dchtls_main.c393 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
/Linux-v5.10/fs/
Dio-wq.c937 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
/Linux-v5.10/net/ipv4/
Dudp.c1493 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
/Linux-v5.10/net/netfilter/
Dnf_tables_api.c965 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()