/linux/fs/jbd2/ |
H A D | revoke.c | 115 int hash_size; member 218 struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size) in jbd2_journal_init_revoke_table() argument 221 int tmp = hash_size; in jbd2_journal_init_revoke_table() 231 table->hash_size = hash_size; in jbd2_journal_init_revoke_table() 234 kvmalloc_array(hash_size, sizeof(struct list_head), GFP_KERNEL); in jbd2_journal_init_revoke_table() 241 for (tmp = 0; tmp < hash_size; tmp++) in jbd2_journal_init_revoke_table() 253 for (i = 0; i < table->hash_size; i++) { in jbd2_journal_destroy_revoke_table() 263 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) in jbd2_journal_init_revoke() argument 266 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke() [all...] |
H A D | recovery.c | 623 unsigned int hash_size; in do_one_pass() local 630 hash_size = min(roundup_pow_of_two(info->nr_revokes / 8), in do_one_pass() 633 jbd2_journal_init_revoke_table(hash_size); in do_one_pass() 637 "Journal replay may be slow.\n", hash_size); in do_one_pass()
|
/linux/drivers/soc/qcom/ |
H A D | mdt_loader.c | 165 size_t hash_size; in qcom_mdt_read_metadata() local 196 hash_size = phdrs[hash_segment].p_filesz; in qcom_mdt_read_metadata() 198 data = kmalloc(ehdr_size + hash_size, GFP_KERNEL); in qcom_mdt_read_metadata() 205 if (ehdr_size + hash_size == fw->size) { in qcom_mdt_read_metadata() 208 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 209 } else if (phdrs[hash_segment].p_offset + hash_size <= fw->size) { in qcom_mdt_read_metadata() 212 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 222 *data_len = ehdr_size + hash_size; in qcom_mdt_read_metadata()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/ |
H A D | base.c | 16 nvkm_fsp_verify_gsp_fmc(struct nvkm_fsp *fsp, u32 hash_size, u32 pkey_size, u32 sig_size) in nvkm_fsp_verify_gsp_fmc() argument 18 return hash_size == fsp->func->cot.size_hash && in nvkm_fsp_verify_gsp_fmc()
|
/linux/drivers/net/ipa/ |
H A D | ipa_table.c | 398 u16 hash_size; in ipa_table_init_add() local 429 hash_size = hash_count * sizeof(__le64); in ipa_table_init_add() 435 hash_size, hash_offset, hash_addr); in ipa_table_init_add() 444 if (!hash_size) in ipa_table_init_add() 448 zero_offset = hash_offset + hash_size; in ipa_table_init_add() 449 zero_size = hash_mem->size - hash_size; in ipa_table_init_add()
|
H A D | ipa_cmd.c | 360 /* If hash_size is 0, hash_offset and hash_addr ignored. */ 363 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument 378 if (hash_size) { in ipa_cmd_table_init_add() 383 val |= u64_encode_bits(hash_size, in ipa_cmd_table_init_add() 391 if (hash_size) in ipa_cmd_table_init_add()
|
H A D | ipa_cmd.h | 78 * @hash_size: Size of hashed routing table memory 82 * If hash_size is 0, hash_offset and hash_addr are ignored. 86 u16 hash_size, u32 hash_offset,
|
/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman_keygen.c | 684 * hash_size: Hashing size 689 u32 hash_base_fqid, u32 hash_size) in keygen_port_hashing_init() argument 700 if (hash_size == 0 || (hash_size & (hash_size - 1)) != 0) { in keygen_port_hashing_init() 733 scheme->hash_fqid_count = hash_size; in keygen_port_hashing_init()
|
H A D | fman_keygen.h | 17 u32 hash_base_fqid, u32 hash_size);
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | fsp.h | 17 bool nvkm_fsp_verify_gsp_fmc(struct nvkm_fsp *, u32 hash_size, u32 pkey_size, u32 sig_size);
|
/linux/net/sunrpc/ |
H A D | cache.c | 448 current_index >= current_detail->hash_size) { in cache_clean() 460 current_index = current_detail->hash_size; in cache_clean() 470 while (current_index < current_detail->hash_size && in cache_clean() 475 if (current_index < current_detail->hash_size) { in cache_clean() 556 for (i = 0; i < detail->hash_size; i++) { in cache_purge() 1368 } while(hash < cd->hash_size && in __cache_seq_start() 1370 if (hash >= cd->hash_size) in __cache_seq_start() 1396 while (hash < cd->hash_size && in cache_seq_next() 1401 if (hash >= cd->hash_size) in cache_seq_next() 1747 cd->hash_table = kcalloc(cd->hash_size, sizeo in cache_create_net() [all...] |
H A D | svcauth_unix.c | 587 .hash_size = GID_HASHMAX, 1022 .hash_size = IP_HASHMAX,
|
/linux/drivers/md/ |
H A D | dm-snap.c | 886 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 895 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables() 896 hash_size = min(hash_size, max_buckets); in init_hash_tables() 898 if (hash_size < 64) in init_hash_tables() 899 hash_size = 64; in init_hash_tables() 900 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables() 901 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables() 909 hash_size >> in init_hash_tables() [all...] |
/linux/drivers/nfc/s3fwrn5/ |
H A D | firmware.c | 110 const void *hash_data, u16 hash_size, in s3fwrn5_fw_enter_update_mode() argument 120 args.hashcode_size = hash_size; in s3fwrn5_fw_enter_update_mode() 144 hash_data, hash_size); in s3fwrn5_fw_enter_update_mode()
|
/linux/lib/zlib_deflate/ |
H A D | deflate.c | 181 s->head[s->hash_size-1] = NIL; \ 182 memset((char *)s->head, 0, (unsigned)(s->hash_size-1)*sizeof(*s->head)); 254 s->hash_size = 1 << s->hash_bits; in zlib_deflateInit2() 255 s->hash_mask = s->hash_size - 1; in zlib_deflateInit2() 779 n = s->hash_size; in fill_window()
|
H A D | defutil.h | 115 uInt hash_size; /* number of elements in hash table */ member
|
/linux/fs/affs/ |
H A D | amigaffs.h | 55 __be32 hash_size; member
|
/linux/drivers/crypto/ |
H A D | atmel-sha.c | 106 size_t hash_size; member 1698 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup() 1703 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1708 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1713 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup() 1718 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup() 1790 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash() 1805 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done() 1876 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done() 1895 size_t hs = ctx->hash_size; in atmel_sha_hmac_final() [all...] |
/linux/include/linux/sunrpc/ |
H A D | cache.h | 72 int hash_size; member
|
/linux/fs/nfsd/ |
H A D | nfs4idmap.c | 191 .hash_size = ENT_HASHMAX, 361 .hash_size = ENT_HASHMAX,
|
H A D | export.c | 257 .hash_size = EXPKEY_HASHMAX, 893 .hash_size = EXPORT_HASHMAX,
|
/linux/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 252 unsigned int hash_size; member
|
H A D | chcr_algo.c | 1647 param->hash_size, transhdr_len, in create_hash_wr() 1720 params.hash_size = params.alg_prm.result_size; in chcr_ahash_update() 1812 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_final() 1884 params.hash_size = params.alg_prm.result_size; in chcr_ahash_finup() 1890 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_finup() 1987 params.hash_size = params.alg_prm.result_size; in chcr_ahash_digest() 1990 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest() 2065 params.hash_size = params.alg_prm.result_size; in chcr_ahash_continue() 2070 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
|
/linux/fs/nfs/ |
H A D | dns_resolve.c | 368 .hash_size = NFS_DNS_HASHTBL_SIZE,
|
/linux/include/linux/ |
H A D | jbd2.h | 1618 struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size);
|