| /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 | nvme-auth.h | 13 u8 hash; member 31 struct nvme_dhchap_key *nvme_auth_alloc_key(u32 len, u8 hash);
|
| D | ima.h | 25 bool hash, u8 *digest, size_t digest_len); 58 bool hash, u8 *digest, in ima_measure_critical_data() argument
|
| D | module_signature.h | 35 u8 hash; /* Digest algorithm [0] */ member
|
| D | digsig.h | 39 uint8_t hash; member
|
| /include/net/ |
| D | rps.h | 69 u32 hash) in rps_record_sock_flow() argument 71 unsigned int index = hash & table->mask; in rps_record_sock_flow() 72 u32 val = hash & ~net_hotdata.rps_cpu_mask; in rps_record_sock_flow() 86 static inline void sock_rps_record_flow_hash(__u32 hash) in sock_rps_record_flow_hash() argument 91 if (!hash) in sock_rps_record_flow_hash() 96 rps_record_sock_flow(sock_flow_table, hash); in sock_rps_record_flow_hash()
|
| D | udp.h | 74 struct udp_hslot *hash; member 85 return &table->hash[udp_hashfn(net, num, table->mask)]; in udp_hashslot() 92 unsigned int hash) in udp_hashslot2() argument 94 return &table->hash2[hash & table->mask]; in udp_hashslot2() 211 u32 hash; in udp_flow_src_port() local 218 hash = skb_get_hash(skb); in udp_flow_src_port() 219 if (unlikely(!hash)) { in udp_flow_src_port() 224 hash = jhash(skb->data, 2 * ETH_ALEN, in udp_flow_src_port() 230 hash = udp_flow_hashrnd(); in udp_flow_src_port() 239 hash ^= hash << 16; in udp_flow_src_port() [all …]
|
| D | inet_hashtables.h | 188 inet_lhash2_bucket(struct inet_hashinfo *h, u32 hash) in inet_lhash2_bucket() argument 190 return &h->lhash2[hash & h->lhash2_mask]; in inet_lhash2_bucket() 195 unsigned int hash) in inet_ehash_bucket() argument 197 return &hashinfo->ehash[hash & hashinfo->ehash_mask]; in inet_ehash_bucket() 202 unsigned int hash) in inet_ehash_lockp() argument 204 return &hashinfo->ehash_locks[hash & hashinfo->ehash_locks_mask]; in inet_ehash_lockp() 265 u32 hash; in inet_bhashfn_portaddr() local 269 hash = ipv6_portaddr_hash(net, &sk->sk_v6_rcv_saddr, port); in inet_bhashfn_portaddr() 272 hash = ipv4_portaddr_hash(net, sk->sk_rcv_saddr, port); in inet_bhashfn_portaddr() 273 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhashfn_portaddr()
|
| D | tls_toe.h | 66 int (*hash)(struct tls_toe_device *device, struct sock *sk); member
|
| D | nexthop.h | 316 struct nexthop *nexthop_select_path(struct nexthop *nh, int hash); 384 static inline void nexthop_path_fib_result(struct fib_result *res, int hash) in nexthop_path_fib_result() argument 389 nh = nexthop_select_path(res->fi->nh, hash); in nexthop_path_fib_result() 538 static inline void nexthop_path_fib6_result(struct fib6_result *res, int hash) in nexthop_path_fib6_result() argument 543 nh = nexthop_select_path(nh, hash); in nexthop_path_fib6_result() 575 int hash) in nexthop_path_fdb_result() argument 580 nhp = nexthop_select_path(nh, hash); in nexthop_path_fdb_result()
|
| D | sock_reuseport.h | 38 u32 hash,
|
| /include/keys/ |
| D | system_keyring.h | 78 extern int mark_hash_blacklisted(const u8 *hash, size_t hash_len, 80 extern int is_hash_blacklisted(const u8 *hash, size_t hash_len, 82 extern int is_binary_blacklisted(const u8 *hash, size_t hash_len); 84 static inline int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() argument 90 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 | 289 uint64_t hash = 0; in xen_netif_toeplitz_hash() local 303 hash ^= prefix; in xen_netif_toeplitz_hash() 317 return hash >> 32; in xen_netif_toeplitz_hash() 878 } hash; member
|
| /include/crypto/ |
| D | md5.h | 20 u32 hash[MD5_HASH_WORDS]; member
|
| D | streebog.h | 30 struct streebog_uint512 hash; member
|
| 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 | 141 nf_ct_tuplehash_to_ctrack(const struct nf_conntrack_tuple_hash *hash) in nf_ct_tuplehash_to_ctrack() argument 143 return container_of(hash, struct nf_conn, in nf_ct_tuplehash_to_ctrack() 144 tuplehash[hash->tuple.dst.dir]); in nf_ct_tuplehash_to_ctrack() 356 nf_conntrack_get_ht(struct hlist_nulls_head **hash, unsigned int *hsize) in nf_conntrack_get_ht() argument 367 *hash = hptr; in nf_conntrack_get_ht()
|
| /include/net/libeth/ |
| D | rx.h | 255 static inline void libeth_rx_pt_set_hash(struct sk_buff *skb, u32 hash, in libeth_rx_pt_set_hash() argument 258 skb_set_hash(skb, hash, pt.payload_layer); in libeth_rx_pt_set_hash()
|
| /include/linux/sunrpc/ |
| D | cache.h | 143 struct hlist_node hash; /* on hash chain */ member 181 struct cache_head *key, int hash); 184 struct cache_head *new, struct cache_head *old, int hash);
|
| /include/trace/events/ |
| D | net.h | 181 __field( u32, hash ) 207 __entry->hash = skb->hash; 223 __entry->hash, __entry->l4_hash, __entry->len,
|