/linux-master/fs/ext4/ |
H A D | hash.c | 3 * 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 D | xt_cluster.c | 42 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 D | cnode.c | 65 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 D | sumversion.c | 41 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 D | test_select_reuseport_common.h | 33 __u32 hash; member in struct:data_check
|
/linux-master/net/mac80211/ |
H A D | aes_cmac.h | 10 #include <crypto/hash.h>
|
/linux-master/include/scsi/ |
H A D | libiscsi_tcp.h | 30 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 D | vmlinux.its.S | 18 hash {
|
/linux-master/arch/x86/entry/vdso/ |
H A D | vdso-layout.lds.S | 39 .hash : { *(.hash) } :text 40 .gnu.hash : { *(.gnu.hash) }
|
/linux-master/fs/ntfs3/ |
H A D | upcase.c | 108 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 D | cfi.h | 28 struct hlist_node hash; /* must be first, cficmp() */ member in struct:cfi_state
|
/linux-master/arch/arm64/kernel/vdso/ |
H A D | vdso.lds.S | 27 .hash : { *(.hash) } :text 28 .gnu.hash : { *(.gnu.hash) }
|
/linux-master/fs/bcachefs/ |
H A D | move_types.h | 31 struct rhash_head hash; member in struct:move_bucket_in_flight
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | sock_iter_batch.c | 28 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 D | test_pkt_md_access.c | 36 TEST_FIELD(__u8, hash, 0xFF); 37 TEST_FIELD(__u16, hash, 0xFFFF); 38 TEST_FIELD(__u32, hash, 0xFFFFFFFF);
|
/linux-master/arch/mips/mobileye/ |
H A D | vmlinux.its.S | 18 hash {
|
/linux-master/security/integrity/ima/ |
H A D | ima_init.c | 30 * Calculate the boot aggregate, a hash over tpm registers 0-7, 50 struct ima_max_digest_data hash; local 51 struct ima_digest_data *hash_hdr = container_of(&hash.hdr, 57 memset(&hash, 0, sizeof(hash)); 63 * With TPM 2.0 hash agility, TPM chips could support multiple TPM 67 * Use the same hash algorithm for reading the TPM PCRs as for 69 * the configured IMA default hash algorithm. Otherwise, use the
|
/linux-master/tools/testing/selftests/powerpc/dexcr/ |
H A D | dexcr.c | 145 PPC_RAW_HASHST(31, -8, 30) /* compute hash into stack location */ 150 * Perform a hashchk instruction. A hash is computed as per hashst(), 152 * value is read and compared against the computed hash. 161 PPC_RAW_HASHCHK(31, -8, 30) /* check hash at stack location */ 167 unsigned long hash = 0; local 169 hashst(0, &hash); 170 hash += 1; 171 hashchk(0, &hash);
|
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | flowring.c | 62 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 D | chip.h | 64 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 D | blacklist.c | 2 /* 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/arch/riscv/kernel/ |
H A D | cfi.c | 123 u32 hash; local 125 if (get_kernel_nofault(hash, func - cfi_get_offset())) 128 return hash;
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.c | 38 * @hash: A hash entry used for the duplicate detection hash table. 47 struct vmwgfx_hash_item hash; member in struct:vmw_validation_bo_node 53 * @hash: A hash entry used for the duplicate detection hash table. 74 struct vmwgfx_hash_item hash; member in struct:vmw_validation_res_node 166 struct vmwgfx_hash_item *hash; local 169 hash_for_each_possible_rcu(ctx->sw_context->res_ht, hash, hea 208 struct vmwgfx_hash_item *hash; local [all...] |
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 51 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 D | tcp_sigpool.c | 3 #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...] |