Searched refs:hash (Results 76 - 100 of 1185) sorted by relevance

1234567891011>>

/linux-master/fs/ext4/
H A Dhash.c3 * linux/fs/ext4/hash.c
102 /* The old legacy hash */
105 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; local
109 hash = hash1 + (hash0 ^ (((int) *ucp++) * 7152373));
111 if (hash & 0x80000000)
112 hash -= 0x7fffffff;
114 hash0 = hash;
121 __u32 hash, hash0 = 0x12a3fe2d, hash1 = 0x37abe8f9; local
125 hash = hash1 + (hash0 ^ (((int) *scp++) * 7152373));
127 if (hash
203 __u32 hash; local
[all...]
/linux-master/net/netfilter/
H A Dxt_cluster.c42 u_int32_t hash = 0; local
46 hash = xt_cluster_hash_ipv4(nf_ct_orig_ipv4_src(ct), info);
49 hash = xt_cluster_hash_ipv6(nf_ct_orig_ipv6_src(ct), info);
56 return reciprocal_scale(hash, info->total_nodes);
85 unsigned long hash; local
114 hash = xt_cluster_hash(ct->master, info);
116 hash = xt_cluster_hash(ct, info);
118 return !!((1 << hash) & info->node_mask) ^
171 MODULE_DESCRIPTION("Xtables: hash-based cluster match");
/linux-master/fs/coda/
H A Dcnode.c65 unsigned long hash = coda_f2i(fid); local
69 inode = iget5_locked(sb, hash, coda_test_inode, coda_set_inode, fid);
76 inode->i_ino = hash;
127 unsigned long hash = coda_f2i(newfid); local
135 inode->i_ino = hash;
136 __insert_inode_hash(inode, hash);
143 unsigned long hash = coda_f2i(fid); local
145 inode = ilookup5(sb, hash, coda_test_inode, fid);
/linux-master/scripts/mod/
H A Dsumversion.c41 uint32_t hash[MD4_HASH_WORDS]; member in struct:md4_ctx
88 static void md4_transform(uint32_t *hash, uint32_t const *in) argument
92 a = hash[0];
93 b = hash[1];
94 c = hash[2];
95 d = hash[3];
148 hash[0] += a;
149 hash[1] += b;
150 hash[2] += c;
151 hash[
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dtest_select_reuseport_common.h33 __u32 hash; member in struct:data_check
/linux-master/net/mac80211/
H A Daes_cmac.h10 #include <crypto/hash.h>
/linux-master/include/scsi/
H A Dlibiscsi_tcp.h30 struct ahash_request *hash; member in struct:iscsi_segment
103 struct ahash_request *hash);
109 struct ahash_request *hash);
112 extern void iscsi_tcp_dgst_header(struct ahash_request *hash, const void *hdr,
/linux-master/arch/mips/generic/
H A Dvmlinux.its.S18 hash {
/linux-master/arch/x86/entry/vdso/
H A Dvdso-layout.lds.S39 .hash : { *(.hash) } :text
40 .gnu.hash : { *(.gnu.hash) }
/linux-master/fs/ntfs3/
H A Dupcase.c108 unsigned long hash)
112 hash = partial_name_hash(c, hash);
115 return hash;
107 ntfs_names_hash(const u16 *name, size_t len, const u16 *upcase, unsigned long hash) argument
/linux-master/tools/objtool/include/objtool/
H A Dcfi.h28 struct hlist_node hash; /* must be first, cficmp() */ member in struct:cfi_state
/linux-master/arch/arm64/kernel/vdso/
H A Dvdso.lds.S27 .hash : { *(.hash) } :text
28 .gnu.hash : { *(.gnu.hash) }
/linux-master/fs/bcachefs/
H A Dmove_types.h31 struct rhash_head hash; member in struct:move_bucket_in_flight
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsock_iter_batch.c28 unsigned int hash; local
50 hash = jhash2(sk->sk_v6_rcv_saddr.s6_addr32, 4, net->hash_mix);
51 hash ^= sk->sk_num;
53 bucket[idx] = hash & hinfo->lhash2_mask;
H A Dtest_pkt_md_access.c36 TEST_FIELD(__u8, hash, 0xFF);
37 TEST_FIELD(__u16, hash, 0xFFFF);
38 TEST_FIELD(__u32, hash, 0xFFFFFFFF);
/linux-master/arch/mips/mobileye/
H A Dvmlinux.its.S18 hash {
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c62 struct brcmf_flowring_hash *hash; local
85 hash = flow->hash;
87 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) &&
88 (hash[hash_idx].fifo == fifo) &&
89 (hash[hash_idx].ifidx == ifidx)) {
97 return hash[hash_idx].flowid;
107 struct brcmf_flowring_hash *hash; local
130 hash = flow->hash;
435 struct brcmf_flowring_hash *hash; local
[all...]
/linux-master/drivers/net/wireless/purelifi/plfxlc/
H A Dchip.h64 static inline void plfxlc_mc_add_all(struct plfxlc_mc_hash *hash) argument
66 hash->low = 0xffffffff;
67 hash->high = 0xffffffff;
/linux-master/certs/
H A Dblacklist.c2 /* System hash blacklist.
24 * the size of the currently longest supported hash algorithm is 512 bits,
44 * hex digits. The hash is kept in the description.
77 /* The hash is greater than MAX_HASH_LEN. */
146 static char *get_raw_hash(const u8 *hash, size_t hash_len, argument
172 bin2hex(p, hash, hash_len);
179 * mark_raw_hash_blacklisted - Add a hash to the system blacklist
180 * @hash: The hash as a hex string with a type prefix (eg. "tbs:23aa429783")
182 static int mark_raw_hash_blacklisted(const char *hash) argument
204 mark_hash_blacklisted(const u8 *hash, size_t hash_len, enum blacklist_hash_type hash_type) argument
224 is_hash_blacklisted(const u8 *hash, size_t hash_len, enum blacklist_hash_type hash_type) argument
246 is_binary_blacklisted(const u8 *hash, size_t hash_len) argument
[all...]
/linux-master/drivers/crypto/starfive/
H A Djh7110-hash.c10 #include <crypto/internal/hash.h>
67 rctx->csr.hash.hmac = 1;
68 rctx->csr.hash.key_flag = 1;
70 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR);
174 rctx->csr.hash.v = 0;
175 rctx->csr.hash.reset = 1;
176 writel(rctx->csr.hash.v, cryp->base + STARFIVE_HASH_SHACSR);
181 rctx->csr.hash.v = 0;
182 rctx->csr.hash.mode = ctx->hash_mode;
183 rctx->csr.hash
407 starfive_hash_init_tfm(struct crypto_ahash *hash, const char *alg_name, unsigned int mode) argument
435 starfive_hash_exit_tfm(struct crypto_ahash *hash) argument
488 starfive_hash_setkey(struct crypto_ahash *hash, const u8 *key, unsigned int keylen) argument
529 starfive_sha224_init_tfm(struct crypto_ahash *hash) argument
535 starfive_sha256_init_tfm(struct crypto_ahash *hash) argument
541 starfive_sha384_init_tfm(struct crypto_ahash *hash) argument
547 starfive_sha512_init_tfm(struct crypto_ahash *hash) argument
553 starfive_sm3_init_tfm(struct crypto_ahash *hash) argument
559 starfive_hmac_sha224_init_tfm(struct crypto_ahash *hash) argument
569 starfive_hmac_sha256_init_tfm(struct crypto_ahash *hash) argument
579 starfive_hmac_sha384_init_tfm(struct crypto_ahash *hash) argument
589 starfive_hmac_sha512_init_tfm(struct crypto_ahash *hash) argument
599 starfive_hmac_sm3_init_tfm(struct crypto_ahash *hash) argument
[all...]
/linux-master/arch/riscv/kernel/
H A Dcfi.c123 u32 hash; local
125 if (get_kernel_nofault(hash, func - cfi_get_offset()))
128 return hash;
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto.c51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); local
53 pp->next = ip_vs_proto_table[hash];
54 ip_vs_proto_table[hash] = pp;
68 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); local
76 pd->next = ipvs->proto_data_table[hash];
77 ipvs->proto_data_table[hash] = pd;
84 ipvs->proto_data_table[hash] = pd->next;
99 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); local
101 pp_p = &ip_vs_proto_table[hash];
121 unsigned int hash local
143 unsigned int hash = IP_VS_PROTO_HASH(proto); local
161 unsigned int hash = IP_VS_PROTO_HASH(proto); local
[all...]
/linux-master/net/ipv4/
H A Dtcp_sigpool.c3 #include <crypto/hash.h>
16 struct crypto_ahash *hash; member in struct:sigpool_entry
101 static int __cpool_try_clone(struct crypto_ahash *hash) argument
105 tmp = crypto_clone_ahash(hash);
133 e->hash = cpu0_hash;
147 * @alg: name of async hash algorithm
195 crypto_free_ahash(e->hash);
255 struct crypto_ahash *hash; local
263 hash = crypto_clone_ahash(cpool[id].hash);
287 struct crypto_ahash *hash = crypto_ahash_reqtfm(c->req); local
[all...]
/linux-master/crypto/
H A Dmd5.c18 #include <crypto/internal/hash.h>
40 static void md5_transform(__u32 *hash, __u32 const *in) argument
44 a = hash[0];
45 b = hash[1];
46 c = hash[2];
47 d = hash[3];
117 hash[0] += a;
118 hash[1] += b;
119 hash[2] += c;
120 hash[
[all...]
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_4k.c29 unsigned long vpn, hash, slot; local
82 hash = hpt_hash(vpn, shift, ssize);
85 hpte_group = (hash & htab_hash_mask) * HPTES_PER_GROUP;
87 /* Insert into the hash table, primary slot */
94 hpte_group = (~hash & htab_hash_mask) * HPTES_PER_GROUP;
102 hpte_group = (hash & htab_hash_mask) *

Completed in 609 milliseconds

1234567891011>>