Searched refs:hash (Results 1 - 25 of 1185) sorted by last modified time

1234567891011>>

/linux-master/fs/btrfs/
H A Dscrub.c9 #include <crypto/hash.h>
H A Dinode.c6 #include <crypto/hash.h>
/linux-master/fs/smb/server/
H A Dvfs.c1488 rc = ksmbd_gen_sd_hash(conn, acl.sd_buf, acl.sd_size, acl.hash);
1490 pr_err("failed to generate hash for ndr acl\n");
1510 pr_err("failed to generate hash for ndr acl\n");
1571 pr_err("failed to generate hash for ndr acl\n");
1576 pr_err("hash value diff\n");
H A Dksmbd_netlink.h143 __u16 hash_sz; /* hash size */
144 __s8 hash[KSMBD_REQ_MAX_HASH_SZ]; /* password hash */ member in struct:ksmbd_login_response
/linux-master/fs/smb/client/
H A Dcifsglob.h25 #include <crypto/internal/hash.h>
151 NTLMv2, /* Legacy NTLM auth with NTLMv2 hash */
152 RawNTLMSSP, /* NTLMSSP without SPNEGO, NTLMv2 hash */
181 struct shash_desc *hmacmd5; /* hmacmd5 hash function, for NTLMv2/CR1 hashes */
182 struct shash_desc *md5; /* md5 hash function, for CIFS/SMB1 signatures */
183 struct shash_desc *hmacsha256; /* hmac-sha256 hash function, for SMB2 signatures */
184 struct shash_desc *sha512; /* sha512 hash function, for SMB3.1.1 preauth hash */
782 /* save initital negprot hash */
/linux-master/fs/bcachefs/
H A Dsuper.c72 #include <crypto/hash.h>
H A Dfs.c434 struct bch_hash_info hash = bch2_hash_info_init(c, &dir->ei_inode); local
439 &hash, &dentry->d_name)));
H A Dbtree_types.h75 struct rhash_head hash; member in struct:btree
329 struct rhash_head hash; member in struct:bkey_cached
H A Dbtree_key_cache.c35 .head_offset = offsetof(struct bkey_cached, hash),
75 BUG_ON(rhashtable_remove_fast(&c->table, &ck->hash,
307 rht_for_each_entry_rcu(ck, pos, tbl, i, hash) {
352 &ck->hash,
884 ck = container_of(pos, struct bkey_cached, hash);
951 rht_for_each_entry_rcu(ck, pos, tbl, i, hash) {
/linux-master/arch/x86/kvm/
H A Dx86.c53 #include <linux/hash.h>
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c46 #include <linux/hash.h>
/linux-master/arch/powerpc/kernel/
H A Diommu.c23 #include <linux/hash.h>
98 * We precalculate the hash to avoid doing it on every allocation.
100 * The hash is important to spread CPUs across all the pools. For example,
/linux-master/net/unix/
H A Daf_unix.c126 * hash table is protected with spinlock.
132 unsigned long hash = (unsigned long)sk; local
134 hash ^= hash >> 16;
135 hash ^= hash >> 8;
136 hash ^= sk->sk_type;
138 return hash & UNIX_HASH_MOD;
150 unsigned int hash; local
152 hash
325 __unix_set_addr_hash(struct net *net, struct sock *sk, struct unix_address *addr, unsigned int hash) argument
367 __unix_find_socket_byname(struct net *net, struct sockaddr_un *sunname, int len, unsigned int hash) argument
383 unix_find_socket_byname(struct net *net, struct sockaddr_un *sunname, int len, unsigned int hash) argument
399 unsigned int hash = unix_bsd_hash(i); local
1103 unsigned int hash = unix_abstract_hash(sunaddr, addr_len, type); local
[all...]
/linux-master/net/netfilter/
H A Dnft_set_hash.c21 /* We target a hash table size of 4, element hint is 75% of final size */
499 u32 hash; local
501 hash = jhash(key, set->klen, priv->seed);
502 hash = reciprocal_scale(hash, priv->buckets);
503 hlist_for_each_entry_rcu(he, &priv->table[hash], node) {
520 u32 hash; local
522 hash = jhash(elem->key.val.data, set->klen, priv->seed);
523 hash = reciprocal_scale(hash, pri
540 u32 hash, k1, k2; local
560 u32 hash, k1; local
580 u32 hash; local
619 u32 hash; local
[all...]
/linux-master/net/core/
H A Ddev.c77 #include <linux/hash.h>
190 unsigned int hash = full_name_hash(net, name, strnlen(name, IFNAMSIZ)); local
192 return &net->dev_name_head[hash_32(hash, NETDEV_HASHBITS)];
530 * MUST BE last in hash buckets and checking protocol handlers
3189 * Returns a Tx hash based on the given packet descriptor a Tx queues' number
3196 u32 hash; local
3215 hash = skb_get_rx_queue(skb);
3216 if (hash >= qoffset)
3217 hash -= qoffset;
3218 while (unlikely(hash >
4523 u32 hash; local
6160 unsigned int hash = napi_id % HASH_SIZE(napi_hash); local
11441 struct hlist_head *hash; local
[all...]
/linux-master/mm/
H A Dhugetlb.c6021 u32 hash;
6034 hash = hugetlb_fault_mutex_hash(mapping, idx); local
6036 mutex_unlock(&hugetlb_fault_mutex_table[hash]);
6040 mutex_lock(&hugetlb_fault_mutex_table[hash]);
6166 u32 hash;
6174 hash = hugetlb_fault_mutex_hash(mapping, vmf->pgoff);
6175 mutex_unlock(&hugetlb_fault_mutex_table[hash]);
6212 u32 hash = hugetlb_fault_mutex_hash(mapping, idx);
6394 mutex_unlock(&hugetlb_fault_mutex_table[hash]);
6412 u32 hash;
6179 u32 hash; local
6225 u32 hash = hugetlb_fault_mutex_hash(mapping, idx); local
6422 u32 hash; local
6448 u32 hash; local
[all...]
/linux-master/include/net/
H A Dsch_generic.h101 struct hlist_node hash; member in struct:Qdisc
610 struct hlist_head *hash; member in struct:Qdisc_class_hash
624 qdisc_class_find(const struct Qdisc_class_hash *hash, u32 id) argument
632 h = qdisc_class_hash(id, hash->hashmask);
633 hlist_for_each_entry(cl, &hash->hash[h], hnode) {
/linux-master/include/linux/
H A Dudp.h18 #include <net/netns/hash.h>
/linux-master/fs/fuse/
H A Ddir.c163 * dentry from the hash
1369 name->hash = full_name_hash(dir, name->name, name->len);
/linux-master/drivers/net/
H A Dtun.c389 "create flow: hash %u index %u\n",
404 netif_info(tun, tx_queued, tun->dev, "delete flow: hash %u index %u\n",
510 /* Save the hash received in the stack receive path and update the
513 static inline void tun_flow_save_rps_rxhash(struct tun_flow_entry *e, u32 hash) argument
515 if (unlikely(e->rps_rxhash != hash))
516 e->rps_rxhash = hash;
1039 * RPS hash and save it into the flow_table here.
1935 /* Compute the costly rx hash only if needed for flow updates.
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c5121 u32 hash; local
5143 if (!stmmac_get_rx_hash(priv, p, &hash, &hash_type))
5144 skb_set_hash(skb, hash, hash_type);
5456 u32 hash; local
5664 if (!stmmac_get_rx_hash(priv, p, &hash, &hash_type))
5665 skb_set_hash(skb, hash, hash_type);
6633 u32 crc, hash = 0; local
6641 hash |= (1 << crc);
6650 hash = 0;
6653 return stmmac_update_vlan_hash(priv, priv->hw, hash, pmatc
[all...]
H A Ddwxgmac2_core.c617 static void dwxgmac2_update_vlan_hash(struct mac_device_info *hw, u32 hash, argument
622 writel(hash, ioaddr + XGMAC_VLAN_HASH_TABLE);
624 if (hash) {
H A Ddwmac4_core.c595 u32 hash; local
613 hash = readl(ioaddr + GMAC_VLAN_HASH_TABLE);
614 if (hash & GMAC_VLAN_VLHT) {
667 * index the contents of the hash table. The number of
984 static void dwmac4_update_vlan_hash(struct mac_device_info *hw, u32 hash, argument
990 writel(hash, ioaddr + GMAC_VLAN_HASH_TABLE);
994 if (hash) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c33 #include <linux/hash.h>
102 #define mlx5e_for_each_hash_arfs_rule(hn, tmp, hash, j) \
104 hlist_for_each_entry_safe(hn, tmp, &hash[j], hlist)
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c1961 u32 reason, u32 hash)
1975 mtk_ppe_check_skb(eth->ppe[dev->hw->index], skb, hash);
1960 mtk_wed_ppe_check(struct mtk_wed_device *dev, struct sk_buff *skb, u32 reason, u32 hash) argument

Completed in 587 milliseconds

1234567891011>>