Home
last modified time | relevance | path

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

/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c1133 struct h_reg *hash_ptr; in show_self_hash() local
1137 hash_ptr = &hash; in show_self_hash()
1138 if (compute_self_hash(hash_ptr)) in show_self_hash()
1141 hash_ptr = &fix_hregs[FIX_HREG_SELF_HASH]; in show_self_hash()
1144 if (hash_ptr && hash_ptr->valid) in show_self_hash()
1145 print_buffer(0, hash_ptr->digest, 1, 20, 20); in show_self_hash()
/openbmc/linux/tools/include/linux/
H A Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/openbmc/linux/include/linux/
H A Dhash.h85 static inline u32 hash_ptr(const void *ptr, unsigned int bits) in hash_ptr() function
/openbmc/linux/kernel/locking/
H A 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()
/openbmc/linux/kernel/sched/
H A Dwait_bit.c155 return bit_wait_table + hash_ptr(p, WAIT_TABLE_BITS); in __var_waitqueue()
/openbmc/linux/fs/nfsd/
H A 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()
/openbmc/linux/block/
H A Dblk-crypto-profile.c175 hash_ptr(key, profile->log_slot_ht_size)]; in blk_crypto_hash_bucket_for_key()
/openbmc/linux/fs/notify/fanotify/
H A 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()
/openbmc/linux/net/sched/
H A 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()
H A Dcls_u32.c339 return tc_u_common_hash + hash_ptr(key, U32_HASH_SHIFT); in tc_u_hash()
/openbmc/linux/mm/
H A Dhighmem.c733 return &page_address_htable[hash_ptr(page, PA_HASH_ORDER)]; in page_slot()
H A Dzswap.c378 i = hash_ptr(entry, ilog2(ZSWAP_NR_ZPOOLS)); in zswap_find_zpool()
H A Dfilemap.c1035 return &folio_wait_table[hash_ptr(folio, PAGE_WAIT_TABLE_BITS)]; in folio_waitqueue()
H A Dvmscan.c3363 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c393 rspq_bin = hash_ptr((void *)rsp, RSPQ_HASH_BITS); in chtls_recv_rsp()
/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c24 return &smap->buckets[hash_ptr(selem, smap->bucket_log)]; in select_bucket()
/openbmc/linux/fs/kernfs/
H A Dfile.c45 int idx = hash_ptr(kn, NR_KERNFS_LOCK_BITS); in kernfs_open_file_mutex_ptr()
/openbmc/linux/kernel/
H A 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()
/openbmc/linux/kernel/module/
H A Dmain.c3079 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent()
3111 int hash = hash_ptr(cookie, IDEM_HASH_BITS); in idempotent_complete()
/openbmc/linux/io_uring/
H A Dio-wq.c986 bit = hash_ptr(val, IO_WQ_HASH_ORDER); in io_wq_hash_work()
/openbmc/linux/net/ipv4/
H A Dudp.c1488 busy = udp_busylocks + hash_ptr(ptr, udp_busylocks_log); in busylock_acquire()