Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/Linux-v6.6/tools/include/linux/
Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/Linux-v6.6/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-v6.6/kernel/sched/
Dwait_bit.c155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
/Linux-v6.6/fs/nfsd/
Dexport.c281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
887 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash()
888 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
889 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
/Linux-v6.6/block/
Dblk-crypto-profile.c175 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
/Linux-v6.6/fs/notify/fanotify/
Dfanotify.c28 return hash_ptr(path->dentry, FANOTIFY_EVENT_HASH_BITS) ^ in fanotify_hash_path()
29 hash_ptr(path->mnt, FANOTIFY_EVENT_HASH_BITS); in fanotify_hash_path()
/Linux-v6.6/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.c339 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
/Linux-v6.6/mm/
Dhighmem.c733 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
Dzswap.c378 i = hash_ptr(entry, ilog2(ZSWAP_NR_ZPOOLS)); in zswap_find_zpool()
Dfilemap.c1035 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
Dvmscan.c3363 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c393 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
/Linux-v6.6/kernel/bpf/
Dbpf_local_storage.c24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
/Linux-v6.6/fs/kernfs/
Dfile.c45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
/Linux-v6.6/kernel/
Dkprobes.c381 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe()
1663 &kprobe_table[hash_ptr(p->addr, KPROBE_HASH_BITS)]); in register_kprobe()
/Linux-v6.6/kernel/module/
Dmain.c3074 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent()
3106 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent_complete()
/Linux-v6.6/io_uring/
Dio-wq.c982 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
/Linux-v6.6/net/ipv4/
Dudp.c1466 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
/Linux-v6.6/net/netfilter/
Dnf_tables_api.c1285 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()