Home
last modified time | relevance | path

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

12345678910>>...27

/linux-6.12.1/include/linux/
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()
382 unsigned int hash) in rht_ptr()
[all …]
/linux-6.12.1/drivers/crypto/starfive/
Djh7110-hash.c371 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm()
400 static void starfive_hash_exit_tfm(struct crypto_ahash *hash) in starfive_hash_exit_tfm()
453 static int starfive_hash_setkey(struct crypto_ahash *hash, in starfive_hash_setkey()
494 static int starfive_sha224_init_tfm(struct crypto_ahash *hash) in starfive_sha224_init_tfm()
500 static int starfive_sha256_init_tfm(struct crypto_ahash *hash) in starfive_sha256_init_tfm()
506 static int starfive_sha384_init_tfm(struct crypto_ahash *hash) in starfive_sha384_init_tfm()
512 static int starfive_sha512_init_tfm(struct crypto_ahash *hash) in starfive_sha512_init_tfm()
518 static int starfive_sm3_init_tfm(struct crypto_ahash *hash) in starfive_sm3_init_tfm()
524 static int starfive_hmac_sha224_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha224_init_tfm()
530 static int starfive_hmac_sha256_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha256_init_tfm()
[all …]
/linux-6.12.1/net/batman-adv/
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()
Dbridge_loop_avoidance.c69 u32 hash = 0; in batadv_choose_claim() local
87 u32 hash = 0; in batadv_choose_backbone_gw() local
221 struct batadv_hashtable *hash = bat_priv->bla.claim_hash; in batadv_claim_hash_find() local
261 struct batadv_hashtable *hash = bat_priv->bla.backbone_hash; in batadv_backbone_hash_find() local
300 struct batadv_hashtable *hash; in batadv_bla_del_backbone_claims() local
595 struct batadv_hashtable *hash; in batadv_bla_answer_request() local
1224 struct batadv_hashtable *hash; in batadv_bla_purge_backbone_gw() local
1279 struct batadv_hashtable *hash; in batadv_bla_purge_claims() local
1334 struct batadv_hashtable *hash; in batadv_bla_update_orig_address() local
1432 struct batadv_hashtable *hash; in batadv_bla_periodic_work() local
[all …]
/linux-6.12.1/security/integrity/ima/
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-6.12.1/drivers/scsi/lpfc/
Dlpfc_vmid.c48 u32 hash, u8 *buf) in lpfc_get_vmid_from_hashtable()
69 lpfc_put_vmid_in_hashtable(struct lpfc_vport *vport, u32 hash, in lpfc_put_vmid_in_hashtable()
84 int hash = 0; in lpfc_vmid_hash_fn() local
132 u32 hash; in lpfc_vmid_assign_cs_ctl() local
163 int hash, len, rc = -EPERM, i; in lpfc_vmid_get_appid() local
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_proto.c51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_protocol() local
68 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_proto_netns() local
99 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in unregister_ip_vs_protocol() local
121 unsigned int hash = IP_VS_PROTO_HASH(pd->pp->protocol); in unregister_ip_vs_proto_netns() local
143 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_get() local
161 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_data_get() local
/linux-6.12.1/net/ceph/crush/
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-6.12.1/certs/
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-6.12.1/tools/testing/selftests/bpf/
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-6.12.1/security/keys/
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-6.12.1/drivers/net/team/
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
361 unsigned char hash = info->array_index; in lb_tx_hash_to_port_mapping_init() local
371 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_get() local
382 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_set() local
399 unsigned char hash = info->array_index; in lb_hash_stats_init() local
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmpfs.h48 #define for_each_l2hash_node(hn, tmp, hash, i) \ argument
52 #define l2addr_hash_find(hash, mac, type) ({ \ argument
67 #define l2addr_hash_add(hash, mac, type, gfp) ({ \ argument
/linux-6.12.1/arch/powerpc/crypto/
Daes-gcm-p10-glue.c77 static void set_subkey(unsigned char *hash) in set_subkey()
87 static void set_aad(struct gcm_ctx *gctx, struct Hash_ctx *hash, in set_aad()
114 struct Hash_ctx *hash, u8 *assoc, unsigned int assoclen) in gcmp10_init()
141 static void finish_tag(struct gcm_ctx *gctx, struct Hash_ctx *hash, int len) in finish_tag()
208 struct Hash_ctx *hash = PTR_ALIGN((void *)hashbuf, PPC_ALIGN); in p10_aes_gcm_crypt() local
/linux-6.12.1/init/
Dinitramfs.c72 static __initdata struct hash { struct
75 struct hash *next; argument
79 static inline int hash(int major, int minor, int ino) in hash() function
/linux-6.12.1/fs/nfs/
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-6.12.1/scripts/basic/
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-6.12.1/fs/ubifs/
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
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
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-6.12.1/kernel/trace/
Dftrace.c434 struct hlist_head *hash; member
1134 ftrace_hash_key(struct ftrace_hash *hash, unsigned long ip) in ftrace_hash_key()
1144 __ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in __ftrace_lookup_ip()
1171 ftrace_lookup_ip(struct ftrace_hash *hash, unsigned long ip) in ftrace_lookup_ip()
1179 static void __add_hash_entry(struct ftrace_hash *hash, in __add_hash_entry()
1192 add_hash_entry(struct ftrace_hash *hash, unsigned long ip) in add_hash_entry()
1207 free_hash_entry(struct ftrace_hash *hash, in free_hash_entry()
1216 remove_hash_entry(struct ftrace_hash *hash, in remove_hash_entry()
1223 static void ftrace_hash_clear(struct ftrace_hash *hash) in ftrace_hash_clear()
1264 static void free_ftrace_hash(struct ftrace_hash *hash) in free_ftrace_hash()
[all …]
/linux-6.12.1/drivers/crypto/caam/
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-6.12.1/fs/ext2/
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-6.12.1/fs/coda/
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-6.12.1/crypto/
Dhmac.c26 struct crypto_shash *hash; member
38 struct crypto_shash *hash = tctx->hash; in hmac_setkey() local
140 struct crypto_shash *hash; in hmac_init_tfm() local
160 struct crypto_shash *hash; in hmac_clone_tfm() local
/linux-6.12.1/net/ipv4/
Dtcp_metrics.c166 unsigned int hash) in tcpm_new()
233 struct net *net, unsigned int hash) in __tcp_get_metrics()
254 unsigned int hash; in __tcp_get_metrics_req() local
297 unsigned int hash; in tcp_get_metrics() local
803 unsigned int *hash, int optional, int v4, int v6) in __parse_nl_addr()
828 unsigned int *hash, int optional) in parse_nl_addr()
846 unsigned int hash; in tcp_metrics_nl_cmd_get() local
934 unsigned int hash; in tcp_metrics_nl_cmd_del() local

12345678910>>...27