/include/linux/ |
D | rhashtable.h | 120 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 …]
|
D | stringhash.h | 53 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
|
D | module_signature.h | 35 u8 hash; /* Digest algorithm [0] */ member
|
D | digsig.h | 39 uint8_t hash; member
|
D | ima.h | 42 bool hash, u8 *digest, size_t digest_len); 152 bool hash, u8 *digest, in ima_measure_critical_data() argument
|
/include/keys/ |
D | system_keyring.h | 43 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
|
D | trusted-type.h | 45 uint32_t hash; member
|
/include/scsi/ |
D | libiscsi_tcp.h | 30 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/ |
D | netif.h | 306 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/ |
D | udp.h | 73 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 …]
|
D | tls_toe.h | 66 int (*hash)(struct tls_toe_device *device, struct sock *sk); member
|
D | inet_hashtables.h | 173 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()
|
D | nexthop.h | 286 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()
|
D | sock_reuseport.h | 38 u32 hash,
|
D | ipv6.h | 708 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/ |
D | md5.h | 20 u32 hash[MD5_HASH_WORDS]; member
|
D | streebog.h | 30 struct streebog_uint512 hash; member
|
D | sm3.h | 41 unsigned int len, u8 *hash);
|
D | sha1.h | 34 unsigned int len, u8 *hash);
|
D | sha2.h | 85 unsigned int len, u8 *hash); 91 unsigned int len, u8 *hash);
|
D | nhpoly1305.h | 59 __le64 hash[NH_NUM_PASSES]);
|
/include/net/netfilter/ |
D | nf_conntrack.h | 139 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/ |
D | cache.h | 139 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);
|
D | svcauth.h | 80 struct hlist_node hash; member
|
/include/trace/events/ |
D | net.h | 180 __field( u32, hash ) 206 __entry->hash = skb->hash; 222 __entry->hash, __entry->l4_hash, __entry->len,
|