Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 56) sorted by relevance

123

/include/linux/
Drhashtable.h120 unsigned int hash) in rht_bucket_index() argument
122 return hash & (tbl->size - 1); in rht_bucket_index()
129 unsigned int hash; in rht_key_get_hash() local
133 hash = ht->p.hashfn(key, ht->key_len, hash_rnd); in rht_key_get_hash()
138 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
140 hash = jhash(key, key_len, hash_rnd); in rht_key_get_hash()
142 hash = jhash2(key, key_len / sizeof(u32), hash_rnd); in rht_key_get_hash()
147 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
149 hash = jhash(key, key_len, hash_rnd); in rht_key_get_hash()
152 return hash; in rht_key_get_hash()
[all …]
Dstringhash.h53 static inline unsigned int end_name_hash(unsigned long hash) in end_name_hash() argument
55 return hash_long(hash, 32); in end_name_hash()
74 #define hashlen_create(hash, len) ((u64)(len)<<32 | (u32)(hash)) argument
Dmodule_signature.h35 u8 hash; /* Digest algorithm [0] */ member
Ddigsig.h39 uint8_t hash; member
Dima.h42 bool hash, u8 *digest, size_t digest_len);
152 bool hash, u8 *digest, in ima_measure_critical_data() argument
/include/keys/
Dsystem_keyring.h43 extern int mark_hash_blacklisted(const char *hash);
44 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len,
46 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len);
48 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() argument
54 static inline int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted() argument
Dtrusted-type.h45 uint32_t hash; member
/include/scsi/
Dlibiscsi_tcp.h30 struct ahash_request *hash; member
103 struct ahash_request *hash);
109 struct ahash_request *hash);
112 extern void iscsi_tcp_dgst_header(struct ahash_request *hash, const void *hdr,
/include/xen/interface/io/
Dnetif.h306 uint64_t hash = 0; in xen_netif_toeplitz_hash() local
320 hash ^= prefix; in xen_netif_toeplitz_hash()
334 return hash >> 32; in xen_netif_toeplitz_hash()
895 } hash; member
/include/net/
Dudp.h73 struct udp_hslot *hash; member
83 return &table->hash[udp_hashfn(net, num, table->mask)]; in udp_hashslot()
90 unsigned int hash) in udp_hashslot2() argument
92 return &table->hash2[hash & table->mask]; in udp_hashslot2()
223 u32 hash; in udp_flow_src_port() local
230 hash = skb_get_hash(skb); in udp_flow_src_port()
231 if (unlikely(!hash)) { in udp_flow_src_port()
236 hash = jhash(skb->data, 2 * ETH_ALEN, in udp_flow_src_port()
242 hash = udp_flow_hashrnd(); in udp_flow_src_port()
251 hash ^= hash << 16; in udp_flow_src_port()
[all …]
Dtls_toe.h66 int (*hash)(struct tls_toe_device *device, struct sock *sk); member
Dinet_hashtables.h173 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash) in inet_lhash2_bucket() argument
175 return &h->lhash2[hash & h->lhash2_mask]; in inet_lhash2_bucket()
180 unsigned int hash) in inet_ehash_bucket() argument
182 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket()
187 unsigned int hash) in inet_ehash_lockp() argument
189 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp()
Dnexthop.h286 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash);
354 static inline void nexthop_path_fib_result(struct fib_result *res, int hash) in nexthop_path_fib_result() argument
359 nh = nexthop_select_path(res->fi->nh, hash); in nexthop_path_fib_result()
531 static inline void nexthop_path_fib6_result(struct fib6_result *res, int hash) in nexthop_path_fib6_result() argument
536 nh = nexthop_select_path(nh, hash); in nexthop_path_fib6_result()
568 int hash) in nexthop_path_fdb_result() argument
573 nhp = nexthop_select_path(nh, hash); in nexthop_path_fdb_result()
Dsock_reuseport.h38 u32 hash,
Dipv6.h708 unsigned int hash, mix = net_hash_mix(net); in ipv6_portaddr_hash() local
711 hash = jhash_1word(0, mix); in ipv6_portaddr_hash()
713 hash = jhash_1word((__force u32)addr6->s6_addr32[3], mix); in ipv6_portaddr_hash()
715 hash = jhash2((__force u32 *)addr6->s6_addr32, 4, mix); in ipv6_portaddr_hash()
717 return hash ^ port; in ipv6_portaddr_hash()
869 u32 hash; in ip6_make_flowlabel() local
882 hash = skb_get_hash_flowi6(skb, fl6); in ip6_make_flowlabel()
888 hash = rol32(hash, 16); in ip6_make_flowlabel()
890 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
/include/crypto/
Dmd5.h20 u32 hash[MD5_HASH_WORDS]; member
Dstreebog.h30 struct streebog_uint512 hash; member
Dsm3.h41 unsigned int len, u8 *hash);
Dsha1.h34 unsigned int len, u8 *hash);
Dsha2.h85 unsigned int len, u8 *hash);
91 unsigned int len, u8 *hash);
Dnhpoly1305.h59 __le64 hash[NH_NUM_PASSES]);
/include/net/netfilter/
Dnf_conntrack.h139 nf_ct_tuplehash_to_ctrack(const struct nf_conntrack_tuple_hash *hash) in nf_ct_tuplehash_to_ctrack() argument
141 return container_of(hash, struct nf_conn, in nf_ct_tuplehash_to_ctrack()
142 tuplehash[hash->tuple.dst.dir]); in nf_ct_tuplehash_to_ctrack()
338 nf_conntrack_get_ht(struct hlist_nulls_head **hash, unsigned int *hsize) in nf_conntrack_get_ht() argument
349 *hash = hptr; in nf_conntrack_get_ht()
/include/linux/sunrpc/
Dcache.h139 struct hlist_node hash; /* on hash chain */ member
177 struct cache_head *key, int hash);
180 struct cache_head *new, struct cache_head *old, int hash);
Dsvcauth.h80 struct hlist_node hash; member
/include/trace/events/
Dnet.h180 __field( u32, hash )
206 __entry->hash = skb->hash;
222 __entry->hash, __entry->l4_hash, __entry->len,

123