Home
last modified time | relevance | path

Searched defs:hash (Results 1 – 25 of 456) sorted by relevance

12345678910>>...19

/linux/rust/syn/gen/
H A Dhash.rs12 fn hash<H>(&self, state: &mut H) in hash() method
22 fn hash<H>(&self, state: &mut H) in hash() method
33 fn hash<H>(&self, state: &mut H) in hash() method
47 fn hash<H>(&self, state: &mut H) in hash() method
59 fn hash<H>(&self, state: &mut H) in hash() method
71 fn hash<H>(&self, state: &mut H) in hash() method
88 fn hash<H>(&self, state: &mut H) in hash() method
99 fn hash<H>(&self, state: &mut H) in hash() method
111 fn hash<H>(&self, state: &mut H) in hash() method
123 fn hash<H>(&self, state: &mut H) in hash() method
[all …]
/linux/drivers/crypto/starfive/
H A Djh7110-hash.c374 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm()
403 static void starfive_hash_exit_tfm(struct crypto_ahash *hash) in starfive_hash_exit_tfm()
456 static int starfive_hash_setkey(struct crypto_ahash *hash, in starfive_hash_setkey()
497 static int starfive_sha224_init_tfm(struct crypto_ahash *hash) in starfive_sha224_init_tfm()
503 static int starfive_sha256_init_tfm(struct crypto_ahash *hash) in starfive_sha256_init_tfm()
509 static int starfive_sha384_init_tfm(struct crypto_ahash *hash) in starfive_sha384_init_tfm()
515 static int starfive_sha512_init_tfm(struct crypto_ahash *hash) in starfive_sha512_init_tfm()
521 static int starfive_sm3_init_tfm(struct crypto_ahash *hash) in starfive_sm3_init_tfm()
527 static int starfive_hmac_sha224_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha224_init_tfm()
533 static int starfive_hmac_sha256_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha256_init_tfm()
[all …]
/linux/include/linux/
H A Drhashtable.h120 unsigned int hash) in rht_bucket_index()
129 unsigned int hash; in rht_key_get_hash() local
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn() local
236 u32 hash) in lockdep_rht_bucket_is_held()
277 #define rht_dereference_bucket(p, tbl, hash) \ argument
280 #define rht_dereference_bucket_rcu(p, tbl, hash) \ argument
287 const struct bucket_table *tbl, unsigned int hash) in rht_bucket()
294 struct bucket_table *tbl, unsigned int hash) in rht_bucket_var()
301 struct rhashtable *ht, struct bucket_table *tbl, unsigned int hash) in rht_bucket_insert()
402 unsigned int hash) in rht_ptr()
[all …]
H A Dstringhash.h53 static inline unsigned int end_name_hash(unsigned long hash) in end_name_hash()
74 #define hashlen_create(hash, len) ((u64)(len)<<32 | (u32)(hash)) argument
/linux/net/batman-adv/
H A Dhash.c15 static void batadv_hash_init(struct batadv_hashtable *hash) in batadv_hash_init()
31 void batadv_hash_destroy(struct batadv_hashtable *hash) in batadv_hash_destroy()
46 struct batadv_hashtable *hash; in batadv_hash_new() local
77 void batadv_hash_set_lock_class(struct batadv_hashtable *hash, in batadv_hash_set_lock_class()
/linux/security/integrity/ima/
H A Dima_crypto.c325 struct ima_digest_data *hash, in ima_calc_file_hash_atfm()
435 static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_ahash()
452 struct ima_digest_data *hash, in ima_calc_file_hash_tfm()
502 static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_shash()
531 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_hash()
659 struct ima_digest_data *hash, in calc_buffer_ahash_atfm()
699 struct ima_digest_data *hash) in calc_buffer_ahash()
716 struct ima_digest_data *hash, in calc_buffer_shash_tfm()
746 struct ima_digest_data *hash) in calc_buffer_shash()
762 struct ima_digest_data *hash) in ima_calc_buffer_hash()
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_proto.c51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); register_ip_vs_protocol() local
68 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); register_ip_vs_proto_netns() local
99 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); unregister_ip_vs_protocol() local
121 unsigned int hash = IP_VS_PROTO_HASH(pd->pp->protocol); unregister_ip_vs_proto_netns() local
143 unsigned int hash = IP_VS_PROTO_HASH(proto); ip_vs_proto_get() local
161 unsigned int hash = IP_VS_PROTO_HASH(proto); ip_vs_proto_data_get() local
[all...]
/linux/net/ceph/crush/
H A Dhash.c29 __u32 hash = crush_hash_seed ^ a; in crush_hash32_rjenkins1() local
40 __u32 hash = crush_hash_seed ^ a ^ b; in crush_hash32_rjenkins1_2() local
51 __u32 hash = crush_hash_seed ^ a ^ b ^ c; in crush_hash32_rjenkins1_3() local
64 __u32 hash = crush_hash_seed ^ a ^ b ^ c ^ d; in crush_hash32_rjenkins1_4() local
79 __u32 hash = crush_hash_seed ^ a ^ b ^ c ^ d ^ e; in crush_hash32_rjenkins1_5() local
/linux/certs/
H A Dblacklist.c146 static char *get_raw_hash(const u8 *hash, size_t hash_len, in get_raw_hash()
182 static int mark_raw_hash_blacklisted(const char *hash) in mark_raw_hash_blacklisted()
204 int mark_hash_blacklisted(const u8 *hash, size_t hash_len, in mark_hash_blacklisted()
224 int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted()
246 int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted()
/linux/tools/testing/selftests/bpf/
H A Dbpf_arena_htab.h19 static inline htab_bucket_t *__select_bucket(htab_t *htab, __u32 hash) in __select_bucket()
27 static inline arena_list_head_t *select_bucket(htab_t *htab, __u32 hash) in select_bucket()
33 int hash; member
40 static hashtab_elem_t *lookup_elem_raw(arena_list_head_t *head, __u32 hash, int key) in lookup_elem_raw()
/linux/security/keys/
H A Ddh.c67 static int kdf_alloc(struct crypto_shash **hash, char *hashname) in kdf_alloc()
88 static void kdf_dealloc(struct crypto_shash *hash) in kdf_dealloc()
94 static int keyctl_dh_compute_kdf(struct crypto_shash *hash, in keyctl_dh_compute_kdf()
138 struct crypto_shash *hash = NULL; in __keyctl_dh_compute() local
/linux/drivers/net/team/
H A Dteam_mode_loadbalance.c90 #define LB_HTPM_PORT_BY_HASH(lp_priv, hash) \ argument
93 #define LB_HTPM_OPT_INST_INFO_BY_HASH(lp_priv, hash) \ argument
119 unsigned char hash) in lb_hash_select_tx_port()
128 unsigned char hash) in lb_htpm_select_tx_port()
202 unsigned char hash) in lb_update_tx_stats()
222 unsigned char hash; in lb_transmit() local
358 unsigned char hash = info->array_index; in lb_tx_hash_to_port_mapping_init() local
368 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_get() local
379 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_set() local
396 unsigned char hash = info->array_index; in lb_hash_stats_init() local
[all …]
/linux/fs/nfs/
H A Dpnfs_dev.c81 long hash) in _lookup_deviceid()
171 const struct nfs4_deviceid *id, long hash) in __nfs4_find_get_deviceid()
189 long hash = nfs4_deviceid_hash(id); in nfs4_find_get_deviceid() local
328 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
/linux/scripts/basic/
H A Dfixdep.c113 unsigned int hash; member
123 unsigned int i, hash = 2166136261U; in strhash() local
133 static void add_to_hashtable(const char *name, int len, unsigned int hash, in add_to_hashtable()
153 unsigned int hash = strhash(name, len); in in_hashtable() local
/linux/fs/ubifs/
H A Dkey.h42 static inline uint32_t key_mask_hash(uint32_t hash) in key_mask_hash()
150 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init() local
167 uint32_t hash) in dent_key_init_hash()
186 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash() local
219 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init() local
237 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash() local
H A Dauth.c29 u8 *hash) in __ubifs_node_calc_hash()
45 static int ubifs_hash_calc_hmac(const struct ubifs_info *c, const u8 *hash, in ubifs_hash_calc_hmac()
66 u8 hash[UBIFS_HASH_ARR_SZ]; in ubifs_prepare_auth_node() local
136 void ubifs_bad_hash(const struct ubifs_info *c, const void *node, const u8 *hash, in ubifs_bad_hash()
/linux/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c123 struct vmwgfx_hash_item hash; member
143 struct vmwgfx_hash_item *hash; in ttm_tfile_find_ref_rcu() local
158 struct vmwgfx_hash_item *hash; in ttm_tfile_find_ref() local
258 struct vmwgfx_hash_item *hash; in ttm_base_object_lookup() local
296 struct vmwgfx_hash_item *hash; in ttm_ref_object_add() local
365 struct vmwgfx_hash_item *hash; in ttm_ref_object_base_unref() local
/linux/init/
H A Dinitramfs.c75 static __initdata struct hash { struct
78 struct hash *next; argument
83 static inline int hash(int major, int minor, int ino) in hash() argument
/linux/fs/ext2/
H A Dxattr.c523 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_set() local
661 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_release_block() local
874 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert() local
940 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_cache_find() local
991 __u32 hash = 0; in ext2_xattr_hash_entry() local
1028 __u32 hash = 0; in ext2_xattr_rehash() local
/linux/drivers/crypto/caam/
H A Dkey_gen.h16 static inline u32 split_key_len(u32 hash) in split_key_len()
34 static inline u32 split_key_pad_len(u32 hash) in split_key_pad_len()
/linux/kernel/trace/
H A Dftrace.c434 struct hlist_head *hash; member
1157 ftrace_hash_key(struct ftrace_hash * hash,unsigned long ip) ftrace_hash_key() argument
1167 __ftrace_lookup_ip(struct ftrace_hash * hash,unsigned long ip) __ftrace_lookup_ip() argument
1194 ftrace_lookup_ip(struct ftrace_hash * hash,unsigned long ip) ftrace_lookup_ip() argument
1202 __add_hash_entry(struct ftrace_hash * hash,struct ftrace_func_entry * entry) __add_hash_entry() argument
1215 add_hash_entry(struct ftrace_hash * hash,unsigned long ip) add_hash_entry() argument
1230 free_hash_entry(struct ftrace_hash * hash,struct ftrace_func_entry * entry) free_hash_entry() argument
1239 remove_hash_entry(struct ftrace_hash * hash,struct ftrace_func_entry * entry) remove_hash_entry() argument
1246 ftrace_hash_clear(struct ftrace_hash * hash) ftrace_hash_clear() argument
1287 free_ftrace_hash(struct ftrace_hash * hash) free_ftrace_hash() argument
1298 struct ftrace_hash *hash; __free_ftrace_hash_rcu() local
1304 free_ftrace_hash_rcu(struct ftrace_hash * hash) free_ftrace_hash_rcu() argument
1329 struct ftrace_hash *hash; alloc_ftrace_hash() local
1380 alloc_and_copy_ftrace_hash(int size_bits,struct ftrace_hash * hash) alloc_and_copy_ftrace_hash() argument
1535 hash_contains_ip(unsigned long ip,struct ftrace_ops_hash * hash) hash_contains_ip() argument
1564 struct ftrace_ops_hash hash; ftrace_ops_test() local
1763 struct ftrace_hash *hash; __ftrace_hash_rec_update() local
2113 struct ftrace_hash *hash = ops->func_hash->filter_hash; ftrace_hash_ipmodify_enable() local
2124 struct ftrace_hash *hash = ops->func_hash->filter_hash; ftrace_hash_ipmodify_disable() local
3259 append_hash(struct ftrace_hash ** hash,struct ftrace_hash * new_hash,int size_bits) append_hash() argument
3298 remove_hash(struct ftrace_hash * hash,struct ftrace_hash * notrace_hash) remove_hash() argument
3326 intersect_hash(struct ftrace_hash ** hash,struct ftrace_hash * new_hash1,struct ftrace_hash * new_hash2) intersect_hash() argument
3391 __ftrace_hash_move_and_update_ops(struct ftrace_ops * ops,struct ftrace_hash ** orig_hash,struct ftrace_hash * hash,int enable) __ftrace_hash_move_and_update_ops() argument
3722 ftrace_hash_move_and_update_subops(struct ftrace_ops * subops,struct ftrace_hash ** orig_subhash,struct ftrace_hash * hash) ftrace_hash_move_and_update_subops() argument
3943 struct ftrace_hash *hash; global() member
3958 struct ftrace_hash *hash; t_probe_next() local
4658 struct ftrace_hash *hash; ftrace_regex_open() local
4819 enter_record(struct ftrace_hash * hash,struct dyn_ftrace * rec,int clear_filter) enter_record() argument
4842 add_rec_by_index(struct ftrace_hash * hash,struct ftrace_glob * func_g,int clear_filter) add_rec_by_index() argument
4928 match_records(struct ftrace_hash * hash,char * func,int len,char * mod) match_records() argument
4978 ftrace_match_records(struct ftrace_hash * hash,char * buff,int len) ftrace_match_records() argument
5016 ftrace_hash_move_and_update_ops(struct ftrace_ops * ops,struct ftrace_hash ** orig_hash,struct ftrace_hash * hash,int enable) ftrace_hash_move_and_update_ops() argument
5184 ftrace_mod_callback(struct trace_array * tr,struct ftrace_hash * hash,char * func_orig,char * cmd,char * module,int enable) ftrace_mod_callback() argument
5255 struct ftrace_hash hash; /* Must be first! */ global() member
5265 struct ftrace_hash *hash; allocate_ftrace_func_mapper() local
5436 struct ftrace_hash *hash; register_ftrace_function_probe() local
5582 struct ftrace_hash *hash = NULL; unregister_ftrace_function_probe_func() local
5755 struct ftrace_hash *hash = iter->hash; ftrace_process_regex() local
5838 __ftrace_match_addr(struct ftrace_hash * hash,unsigned long ip,int remove) __ftrace_match_addr() argument
5862 ftrace_match_addr(struct ftrace_hash * hash,unsigned long * ips,unsigned int cnt,int remove) ftrace_match_addr() argument
5887 struct ftrace_hash *hash; ftrace_set_hash() local
5971 remove_direct_functions_hash(struct ftrace_hash * hash,unsigned long addr) remove_direct_functions_hash() argument
5998 struct ftrace_hash *hash = ops->func_hash->filter_hash; reset_direct() local
6031 struct ftrace_hash *hash, *new_hash = NULL, *free_hash = NULL; register_ftrace_direct() local
6164 struct ftrace_hash *hash = ops->func_hash->filter_hash; __modify_ftrace_direct() local
6520 struct ftrace_hash *hash; set_ftrace_early_graph() local
6691 struct ftrace_hash *hash; global() member
6978 ftrace_graph_set_hash(struct ftrace_hash * hash,char * buffer) ftrace_graph_set_hash() argument
7443 clear_mod_from_hash(struct ftrace_page * pg,struct ftrace_hash * hash) clear_mod_from_hash() argument
7841 clear_func_from_hash(struct ftrace_init_func * func,struct ftrace_hash * hash) clear_func_from_hash() argument
8677 struct ftrace_hash *hash; prepare_direct_functions_for_ipmodify() local
8726 struct ftrace_hash *hash; cleanup_direct_functions_after_ipmodify() local
[all...]
/linux/fs/coda/
H A Dcnode.c65 unsigned long hash = coda_f2i(fid); in coda_iget() local
127 unsigned long hash = coda_f2i(newfid); in coda_replace_fid() local
143 unsigned long hash = coda_f2i(fid); in coda_fid_to_inode() local
/linux/net/ipv4/
H A Dtcp_sigpool.c23 struct crypto_ahash *hash; member
108 static int __cpool_try_clone(struct crypto_ahash *hash) in __cpool_try_clone()
262 struct crypto_ahash *hash; in tcp_sigpool_start() local
295 struct crypto_ahash *hash = crypto_ahash_reqtfm(c->req); in tcp_sigpool_end() local
/linux/lib/zstd/compress/
H A Dzstd_ldm.c69 U64 hash = state->rolling; in ZSTD_ldm_gear_reset() local
102 U64 hash, mask; in ZSTD_ldm_gear_feed() local
188 const ldmState_t* ldmState, size_t hash, U32 const bucketSizeLog) in ZSTD_ldm_getBucket()
196 size_t const hash, const ldmEntry_t entry, in ZSTD_ldm_insertEntry()
313 U32 const hash = (U32)(xxhash & (((U32)1 << hBits) - 1)); in ZSTD_ldm_fillHashTable() local
393 U32 const hash = (U32)(xxhash & (((U32)1 << hBits) - 1)); in ZSTD_ldm_generateSequences_internal() local
408 U32 const hash = candidates[n].hash; in ZSTD_ldm_generateSequences_internal() local
/linux/net/appletalk/
H A Daarp.c429 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_remove() local
445 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in __aarp_proxy_find() local
468 int hash, retval = -EPROTONOSUPPORT; in aarp_proxy_probe_network() local
534 int hash; in aarp_send_ddp() local
673 int hash) in __aarp_resolved()
704 int hash, ret = 0; in aarp_rcv() local

12345678910>>...19