/linux-master/fs/f2fs/ |
H A D | dir.c | 88 /* hash was decoded from the no-key name */ 89 fname->hash = cpu_to_le32(crypt_name->hash); 276 if (de->hash_code == fname->hash) { 318 le32_to_cpu(fname->hash) % nbucket); 352 if (!de && room && F2FS_I(dir)->chash != fname->hash) { 353 F2FS_I(dir)->chash = fname->hash; 490 put_unaligned(fname->hash, (f2fs_hash_t *) 696 if (F2FS_I(dir)->chash == fname->hash) { 716 (le32_to_cpu(fname->hash) [all...] |
/linux-master/fs/dlm/ |
H A D | lock.c | 539 uint32_t hash, uint32_t b, 663 r->res_hash = hash; 717 uint32_t hash, uint32_t b, 795 r->res_hash = hash; 814 uint32_t hash, b; local 820 hash = jhash(name, len, 0); 821 b = hash & (ls->ls_rsbtbl_size - 1); 823 dir_nodeid = dlm_hash2nodeid(ls, hash); 826 return find_rsb_nodir(ls, name, len, hash, b, dir_nodeid, 829 return find_rsb_dir(ls, name, len, hash, 538 find_rsb_dir(struct dlm_ls *ls, const void *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) argument 716 find_rsb_nodir(struct dlm_ls *ls, const void *name, int len, uint32_t hash, uint32_t b, int dir_nodeid, int from_nodeid, unsigned int flags, struct dlm_rsb **r_ret) argument 991 uint32_t hash, b; local 1092 dlm_dump_rsb_hash(struct dlm_ls *ls, uint32_t hash) argument 1112 uint32_t hash, b; local 4142 uint32_t hash, b; local [all...] |
/linux-master/drivers/pcmcia/ |
H A D | ds.c | 47 u32 hash; local 58 hash = crc32(0, did->prod_id[i], strlen(did->prod_id[i])); 59 if (hash == did->prod_id_hash[i]) 62 printk(KERN_DEBUG "pcmcia: %s: invalid hash for " 65 did->prod_id_hash[i], hash); 938 u32 hash[4] = { 0, 0, 0, 0}; local 949 hash[i] = crc32(0, p_dev->prod_id[i], strlen(p_dev->prod_id[i])); 965 hash[0], 966 hash[1], 967 hash[ 1078 u32 hash[4] = { 0, 0, 0, 0}; local [all...] |
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe.h | 24 #include <crypto/hash.h>
|
/linux-master/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 7247 u8 hash[0x1]; member in struct:mlx5_ifc_modify_tir_bitmask_bits
|
/linux-master/include/crypto/internal/ |
H A D | hash.h | 12 #include <crypto/hash.h> 148 static inline struct ahash_alg *crypto_ahash_alg(struct crypto_ahash *hash) argument 150 return container_of(crypto_hash_alg_common(hash), struct ahash_alg,
|
/linux-master/fs/ |
H A D | inode.c | 11 #include <linux/hash.h> 510 static unsigned long hash(struct super_block *sb, unsigned long hashval) function 521 * __insert_inode_hash - hash an inode 526 * Add an inode to the inode hash for this superblock. 530 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval); 541 * __remove_inode_hash - remove an inode from the hash 1138 * @hashval: hash value (usually inode number) to get 1159 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval); 1211 * @hashval: hash value (usually inode number) to get 1263 struct hlist_head *head = inode_hashtable + hash(s [all...] |
/linux-master/fs/fuse/ |
H A D | readdir.c | 194 name.hash = full_name_hash(parent, name.name, name.len);
|
H A D | dev.c | 1214 unsigned int hash; local 1317 hash = fuse_req_hash(req->in.h.unique); 1318 list_move_tail(&req->list, &fpq->processing[hash]); 1870 unsigned int hash = fuse_req_hash(unique); local 1873 list_for_each_entry(req, &fpq->processing[hash], list) {
|
/linux-master/fs/ext4/ |
H A D | xattr.c | 374 static void ext4_xattr_inode_set_hash(struct inode *ea_inode, u32 hash) argument 376 inode_set_atime(ea_inode, hash, 0); 452 * implementation does not have hash validation, rather it has a 490 u32 hash; local 492 /* Verify stored hash matches calculated hash. */ 493 hash = ext4_xattr_inode_hash(EXT4_SB(ea_inode->i_sb), buffer, size); 494 if (hash != ext4_xattr_inode_get_hash(ea_inode)) 500 /* Verify entry hash. */ 501 tmp_data = cpu_to_le32(hash); 1274 u32 hash, ref; local 1462 ext4_xattr_inode_create(handle_t *handle, struct inode *inode, u32 hash) argument 1517 ext4_xattr_inode_cache_find(struct inode *inode, const void *value, size_t value_len, u32 hash) argument 1572 u32 hash; local 1604 mb_cache_entry_create(EA_INODE_CACHE(inode), GFP_NOFS, hash, local 1836 __le32 hash = 0; local 1946 __u32 hash = le32_to_cpu(BHDR(bs->bh)->h_hash); local 3032 __u32 hash = le32_to_cpu(header->h_hash); local 3101 __u32 hash = le32_to_cpu(header->h_hash); local 3142 __u32 hash = 0; local 3164 __u32 hash = 0; local 3192 __u32 hash = 0; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | xattr.c | 138 struct bch_hash_info hash = bch2_hash_info_init(trans->c, &inode->ei_inode); local 145 ret = bch2_hash_lookup(trans, &iter, bch2_xattr_hash_desc, &hash, 373 struct bch_hash_info hash = bch2_hash_info_init(c, &inode->ei_inode); local 380 &hash, name, value, size,
|
H A D | str_hash.h | 15 #include <crypto/hash.h> 285 /* hash collision: */
|
H A D | journal.h | 112 #include <linux/hash.h>
|
H A D | io_read.c | 79 struct rhash_head hash; member in struct:promote_op 87 .head_offset = offsetof(struct promote_op, hash), 124 ret = rhashtable_remove_fast(&c->promote_table, &op->hash, 210 if (rhashtable_lookup_insert_fast(&c->promote_table, &op->hash, 233 BUG_ON(rhashtable_remove_fast(&c->promote_table, &op->hash,
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 3561 u32 cmd, hash, bucket; local 3604 hash = lpfc_vmid_hash_fn(app->obj.entity_id, 3606 vmp = lpfc_get_vmid_from_hashtable(vport, hash, 3618 "6901 No entry found %s hash %d\n", 3619 app->obj.entity_id, hash); 3639 /* for all elements in the hash table */
|
/linux-master/drivers/media/usb/em28xx/ |
H A D | em28xx-cards.c | 57 unsigned long hash; member in struct:em28xx_hash_table 2809 * EEPROM hash table for devices with generic USB IDs 2824 /* I2C devicelist hash table for devices with generic USB IDs */ 2836 /* NOTE: introduce a separate hash table for devices with 16 bit eeproms */ 3073 * Uses a hash of all eeprom bytes. The hash should be 3079 if (dev->hash == em28xx_eeprom_hash[i].hash) { 3085 "A hint were successfully done, based on eeprom hash.\n" 3100 * Uses a hash o [all...] |
/linux-master/drivers/crypto/rockchip/ |
H A D | rk3288_crypto.c | 14 #include <crypto/internal/hash.h> 225 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_driver_name, 226 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_name, 268 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_name, 269 rk_cipher_algs[i]->alg.hash.base.halg.base.cra_driver_name); 270 err = crypto_engine_register_ahash(&rk_cipher_algs[i]->alg.hash); 285 crypto_engine_unregister_ahash(&rk_cipher_algs[i]->alg.hash); 298 crypto_engine_unregister_ahash(&rk_cipher_algs[i]->alg.hash);
|
/linux-master/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 9 #include <crypto/hash.h>
|
/linux-master/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-hash.c | 3 * sun8i-ce-hash.c - hardware cryptographic offloader for 13 #include <crypto/internal/hash.h> 33 algt = container_of(alg, struct sun8i_ce_alg_template, alg.hash.base); 126 alg.hash.base); 169 alg.hash.base); 197 alg.hash.base); 213 algt = container_of(alg, struct sun8i_ce_alg_template, alg.hash.base); 262 algt = container_of(alg, struct sun8i_ce_alg_template, alg.hash.base); 354 algt = container_of(alg, struct sun8i_ce_alg_template, alg.hash.base); 357 bs = algt->alg.hash [all...] |
/linux-master/crypto/ |
H A D | testmgr.c | 20 #include <crypto/hash.h> 150 struct hash_test_suite hash; member in union:alg_test_desc::__anon149 216 /* flush type for hash algorithms */ 228 /* finalization function for hash algorithms */ 1267 /* Test one hash test vector in one configuration, using the shash API */ 1450 /* Test one hash test vector in one configuration, using the ahash API */ 1684 * Generate a hash test vector from the given implementation. 1726 * Test the hash algorithm represented by @req against the corresponding generic 1772 pr_warn("alg: hash: skipping comparison tests for %s because %s is unavailable\n", 1776 pr_err("alg: hash [all...] |
H A D | tcrypt.c | 23 #include <crypto/hash.h>
|
H A D | ahash.c | 5 * This is the implementation of the ahash (asynchronous hash) API. It differs 6 * from shash (synchronous hash) in that ahash supports asynchronous operations, 26 #include "hash.h" 508 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); local 509 struct ahash_alg *alg = crypto_ahash_alg(hash); 511 alg->exit_tfm(hash); 516 struct crypto_ahash *hash = __crypto_ahash_cast(tfm); local 517 struct ahash_alg *alg = crypto_ahash_alg(hash); 519 crypto_ahash_set_statesize(hash, alg->halg.statesize); 524 ahash_set_needkey(hash, al 631 crypto_clone_ahash(struct crypto_ahash *hash) argument [all...] |
/linux-master/crypto/asymmetric_keys/ |
H A D | verify_pefile.c | 16 #include <crypto/hash.h> 334 * big the hash operational data will be.
|
/linux-master/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 552 emit_skb_load32(hash, r_A);
|
/linux-master/arch/sparc/mm/ |
H A D | tsb.c | 60 unsigned long hash = tsb_hash(v, PAGE_SHIFT, local 62 struct tsb *ent = &swapper_tsb[hash]; 73 unsigned long tag, ent, hash; local 76 hash = tsb_hash(v, hash_shift, nentries); 77 ent = tsb + (hash * sizeof(struct tsb));
|