Home
last modified time | relevance | path

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

/linux-6.12.1/scripts/include/
Dhash.h23 static inline unsigned int hash_ptr(const void *ptr) in hash_ptr() function
/linux-6.12.1/tools/include/linux/
Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/linux-6.12.1/include/linux/
Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/linux-6.12.1/kernel/locking/
Dqspinlock_paravirt.h210 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.12.1/kernel/sched/
Dwait_bit.c155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
/linux-6.12.1/fs/nfsd/
Dexport.c281 hash ^= hash_ptr(item->ek_client, EXPKEY_HASHBITS); in svc_expkey_hash()
904 hash = hash_ptr(exp->ex_client, EXPORT_HASHBITS); in svc_export_hash()
905 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); in svc_export_hash()
906 hash ^= hash_ptr(exp->ex_path.mnt, EXPORT_HASHBITS); in svc_export_hash()
/linux-6.12.1/block/
Dblk-crypto-profile.c175 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
/linux-6.12.1/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-6.12.1/scripts/kconfig/
Dexpr.c38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup()
/linux-6.12.1/mm/
Dhighmem.c744 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
Dfilemap.c1069 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
Dvmscan.c2707 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c393 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
/linux-6.12.1/net/sched/
Dsch_fq.c395 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)]; in fq_classify()
839 nroot = &new_array[hash_ptr(of->sk, new_log)]; in fq_rehash()
Dcls_u32.c349 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
/linux-6.12.1/kernel/bpf/
Dbpf_local_storage.c24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
/linux-6.12.1/fs/kernfs/
Dfile.c45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
/linux-6.12.1/kernel/
Dkprobes.c381 head = &kprobe_table[hash_ptr(addr, KPROBE_HASH_BITS)]; in get_kprobe()
1675 &kprobe_table[hash_ptr(p->addr, KPROBE_HASH_BITS)]); in register_kprobe()
/linux-6.12.1/io_uring/
Dio-wq.c990 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
/linux-6.12.1/kernel/module/
Dmain.c3102 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent()
3134 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent_complete()
/linux-6.12.1/net/ipv4/
Dudp.c1492 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()
/linux-6.12.1/net/netfilter/
Dnf_tables_api.c1381 seed ^= hash_ptr(k->table, 32); in nft_objname_hash()