Searched refs:hash_ptr (Results 1 – 21 of 21) sorted by relevance
/Linux-v6.6/include/linux/ |
D | hash.h | 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
/Linux-v6.6/tools/include/linux/ |
D | hash.h | 85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
|
/Linux-v6.6/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-v6.6/kernel/sched/ |
D | wait_bit.c | 155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
|
/Linux-v6.6/fs/nfsd/ |
D | export.c | 281 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/ |
D | blk-crypto-profile.c | 175 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
|
/Linux-v6.6/fs/notify/fanotify/ |
D | fanotify.c | 28 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/ |
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 | 339 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
|
/Linux-v6.6/mm/ |
D | highmem.c | 733 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
|
D | zswap.c | 378 i = hash_ptr(entry, ilog2(ZSWAP_NR_ZPOOLS)); in zswap_find_zpool()
|
D | filemap.c | 1035 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
|
D | vmscan.c | 3363 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
|
/Linux-v6.6/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-v6.6/kernel/bpf/ |
D | bpf_local_storage.c | 24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
|
/Linux-v6.6/fs/kernfs/ |
D | file.c | 45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
|
/Linux-v6.6/kernel/ |
D | kprobes.c | 381 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/ |
D | main.c | 3074 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/ |
D | io-wq.c | 982 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
|
/Linux-v6.6/net/ipv4/ |
D | udp.c | 1466 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
|
/Linux-v6.6/net/netfilter/ |
D | nf_tables_api.c | 1285 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()
|