Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v5.4/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
214 struct batadv_hashtable *hash = bat_priv->bla.claim_hash; in batadv_claim_hash_find() local
254 struct batadv_hashtable *hash = bat_priv->bla.backbone_hash; in batadv_backbone_hash_find() local
293 struct batadv_hashtable *hash; in batadv_bla_del_backbone_claims() local
589 struct batadv_hashtable *hash; in batadv_bla_answer_request() local
1218 struct batadv_hashtable *hash; in batadv_bla_purge_backbone_gw() local
1273 struct batadv_hashtable *hash; in batadv_bla_purge_claims() local
1328 struct batadv_hashtable *hash; in batadv_bla_update_orig_address() local
1426 struct batadv_hashtable *hash; in batadv_bla_periodic_work() local
[all …]
/Linux-v5.4/security/integrity/ima/
Dima_crypto.c205 struct ima_digest_data *hash, in ima_calc_file_hash_atfm()
315 static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_ahash()
332 struct ima_digest_data *hash, in ima_calc_file_hash_tfm()
380 static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_shash()
409 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_hash()
469 struct ima_digest_data *hash, in ima_calc_field_array_hash_tfm()
514 struct ima_digest_data *hash) in ima_calc_field_array_hash()
532 struct ima_digest_data *hash, in calc_buffer_ahash_atfm()
572 struct ima_digest_data *hash) in calc_buffer_ahash()
589 struct ima_digest_data *hash, in calc_buffer_shash_tfm()
[all …]
/Linux-v5.4/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()
278 #define rht_dereference_bucket(p, tbl, hash) \ argument
281 #define rht_dereference_bucket_rcu(p, tbl, hash) \ argument
288 const struct bucket_table *tbl, unsigned int hash) in rht_bucket()
295 struct bucket_table *tbl, unsigned int hash) in rht_bucket_var()
302 struct rhashtable *ht, struct bucket_table *tbl, unsigned int hash) in rht_bucket_insert()
378 unsigned int hash) in rht_ptr()
[all …]
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-v5.4/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
Dip_vs_conn.c165 unsigned int hash; in ip_vs_conn_hash() local
201 unsigned int hash; in ip_vs_conn_unhash() local
229 unsigned int hash; in ip_vs_conn_unlink() local
265 unsigned int hash; in __ip_vs_conn_in_get() local
351 unsigned int hash; in ip_vs_ct_in_get() local
403 unsigned int hash; in ip_vs_conn_out_get() local
1271 unsigned int hash = prandom_u32() & ip_vs_conn_tab_mask; in ip_vs_random_dropentry() local
/Linux-v5.4/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-v5.4/scripts/basic/
Dfixdep.c167 unsigned int hash; member
177 unsigned int i, hash = 2166136261U; in strhash() local
187 static int is_defined_config(const char *name, int len, unsigned int hash) in is_defined_config()
202 static void define_config(const char *name, int len, unsigned int hash) in define_config()
222 unsigned int hash = strhash(m, slen); in use_config() local
/Linux-v5.4/drivers/net/team/
Dteam_mode_loadbalance.c92 #define LB_HTPM_PORT_BY_HASH(lp_priv, hash) \ argument
95 #define LB_HTPM_OPT_INST_INFO_BY_HASH(lp_priv, hash) \ argument
123 unsigned char hash) in lb_hash_select_tx_port()
134 unsigned char hash) in lb_htpm_select_tx_port()
207 unsigned char hash) in lb_update_tx_stats()
227 unsigned char hash; in lb_transmit() local
368 unsigned char hash = info->array_index; in lb_tx_hash_to_port_mapping_init() local
379 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_get() local
391 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_set() local
408 unsigned char hash = info->array_index; in lb_hash_stats_init() local
[all …]
/Linux-v5.4/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-v5.4/fs/ext2/
Dxattr.c519 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_set() local
747 __u32 hash = le32_to_cpu(HDR(old_bh)->h_hash); in ext2_xattr_set2() local
820 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_delete_inode() local
860 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert() local
927 __u32 hash = le32_to_cpu(header->h_hash); in ext2_xattr_cache_find() local
992 __u32 hash = 0; in ext2_xattr_hash_entry() local
1029 __u32 hash = 0; in ext2_xattr_rehash() local
/Linux-v5.4/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-v5.4/init/
Dinitramfs.c48 static __initdata struct hash { struct
51 struct hash *next; argument
55 static inline int hash(int major, int minor, int ino) in hash() function
/Linux-v5.4/fs/nfs/
Dpnfs_dev.c79 long hash) in _lookup_deviceid()
172 const struct nfs4_deviceid *id, long hash) in __nfs4_find_get_deviceid()
190 long hash = nfs4_deviceid_hash(id); in nfs4_find_get_deviceid() local
324 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
/Linux-v5.4/kernel/bpf/
Dhashtab.c56 u32 hash; member
120 u32 hash) in prealloc_lru_pop()
410 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket()
415 static inline struct hlist_nulls_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
421 static struct htab_elem *lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, in lookup_elem_raw()
439 u32 hash, void *key, in lookup_nulls_elem_raw()
466 u32 hash, key_size; in __htab_map_lookup_elem() local
602 u32 hash, key_size; in htab_map_get_next_key() local
722 void *value, u32 key_size, u32 hash, in alloc_htab_elem()
827 u32 key_size, hash; in htab_map_update_elem() local
[all …]
/Linux-v5.4/fs/coda/
Dcnode.c65 unsigned long hash = coda_f2i(fid); in coda_iget() local
122 unsigned long hash = coda_f2i(newfid); in coda_replace_fid() local
138 unsigned long hash = coda_f2i(fid); in coda_fid_to_inode() local
/Linux-v5.4/lib/
Dstackdepot.c61 u32 hash; /* Hash in the hastable */ member
100 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack()
175 u32 hash) in find_stack()
228 u32 hash; in stack_depot_save() local
/Linux-v5.4/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
168 uint32_t hash) in dent_key_init_hash()
187 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in dent_key_init_flash() local
220 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init() local
238 uint32_t hash = c->key_hash(fname_name(nm), fname_len(nm)); in xent_key_init_flash() local
Dauth.c31 u8 *hash) in __ubifs_node_calc_hash()
53 static int ubifs_hash_calc_hmac(const struct ubifs_info *c, const u8 *hash, in ubifs_hash_calc_hmac()
82 u8 *hash; in ubifs_prepare_auth_node() local
161 void ubifs_bad_hash(const struct ubifs_info *c, const void *node, const u8 *hash, in ubifs_bad_hash()
Dreplay.c49 u8 hash[UBIFS_HASH_ARR_SZ]; member
383 const u8 *hash, union ubifs_key *key, in insert_node()
432 const u8 *hash, union ubifs_key *key, in insert_dent()
562 static int authenticate_sleb_hash(struct ubifs_info *c, struct shash_desc *log_hash, u8 *hash) in authenticate_sleb_hash()
572 static int authenticate_sleb_hmac(struct ubifs_info *c, u8 *hash, u8 *hmac) in authenticate_sleb_hmac()
604 u8 *hash, *hmac; in authenticate_sleb() local
736 u8 hash[UBIFS_HASH_ARR_SZ]; in replay_bud() local
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_mcg.c65 u16 *hash, int *prev, int *index) in find_mgm()
125 u16 hash; in mthca_multicast_attach() local
219 u16 hash; in mthca_multicast_detach() local
/Linux-v5.4/arch/mips/cavium-octeon/crypto/
Docteon-sha256.c34 u64 *hash = (u64 *)sctx->state; in octeon_sha256_store_hash() local
44 u64 *hash = (u64 *)sctx->state; in octeon_sha256_read_hash() local
197 static int octeon_sha224_final(struct shash_desc *desc, u8 *hash) in octeon_sha224_final()
/Linux-v5.4/net/ipv4/
Dtcp_metrics.c149 unsigned int hash) in tcpm_new()
213 struct net *net, unsigned int hash) in __tcp_get_metrics()
234 unsigned int hash; in __tcp_get_metrics_req() local
277 unsigned int hash; in tcp_get_metrics() local
773 unsigned int *hash, int optional, int v4, int v6) in __parse_nl_addr()
800 unsigned int *hash, int optional) in parse_nl_addr()
818 unsigned int hash; in tcp_metrics_nl_cmd_get() local
903 unsigned int hash; in tcp_metrics_nl_cmd_del() local
/Linux-v5.4/net/appletalk/
Daarp.c413 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in aarp_proxy_remove() local
429 int hash = sa->s_node % (AARP_HASH_SIZE - 1); in __aarp_proxy_find() local
483 int hash, retval = -EPROTONOSUPPORT; in aarp_proxy_probe_network() local
547 int hash; in aarp_send_ddp() local
686 int hash) in __aarp_resolved()
717 int hash, ret = 0; in aarp_rcv() local

12345678910>>...21