| /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() 268 journal->j_revoke_table[0] = jbd2_journal_init_revoke_table(hash_size); in jbd2_journal_init_revoke() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | mdt_loader.c | 167 size_t hash_size; in qcom_mdt_read_metadata() local 198 hash_size = phdrs[hash_segment].p_filesz; in qcom_mdt_read_metadata() 200 data = kmalloc(ehdr_size + hash_size, GFP_KERNEL); in qcom_mdt_read_metadata() 207 if (ehdr_size + hash_size == fw->size) { in qcom_mdt_read_metadata() 210 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 211 } else if (phdrs[hash_segment].p_offset + hash_size <= fw->size) { in qcom_mdt_read_metadata() 214 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 224 *data_len = ehdr_size + hash_size; in qcom_mdt_read_metadata()
|
| /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 | 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 | 86 u16 hash_size, u32 hash_offset,
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_keygen.c | 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/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, sizeof(struct hlist_head), 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 | 881 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 890 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables() 891 hash_size = min(hash_size, max_buckets); in init_hash_tables() 893 if (hash_size < 64) in init_hash_tables() 894 hash_size = 64; in init_hash_tables() 895 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables() 896 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables() 904 hash_size >>= 3; in init_hash_tables() 905 if (hash_size < 64) in init_hash_tables() 906 hash_size = 64; in init_hash_tables() [all …]
|
| /linux/net/dccp/ |
| H A D | proto.c | |
| /linux/fs/affs/ |
| H A D | amigaffs.h | 55 __be32 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/lib/zlib_deflate/ |
| H A D | defutil.h | 115 uInt hash_size; /* number of elements in hash table */ member
|
| /linux/drivers/crypto/chelsio/ |
| H A D | chcr_algo.h | 252 unsigned int hash_size; member
|
| /linux/fs/nfs/ |
| H A D | dns_resolve.c | 368 .hash_size = NFS_DNS_HASHTBL_SIZE,
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 309 .hash_size = RSI_HASHMAX, 587 .hash_size = RSC_HASHMAX,
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6691 __u32 hash_size; 6686 __u32 hash_size; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6691 __u32 hash_size; 6686 __u32 hash_size; global() member
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 5310 if (info.hash_size != SHA256_DIGEST_SIZE) in bpf_map_get_info_by_fd() 5319 } else if (info.hash_size) { in bpf_map_get_info_by_fd()
|
| /linux/net/ipv4/ |
| H A D | tcp_output.c | 416 u8 hash_size; /* bytes in hash_location */ member
|