Searched refs:hash_size (Results 1 - 25 of 29) sorted by relevance

12

/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.h17 u32 hash_base_fqid, u32 hash_size);
H A Dfman_keygen.c684 * hash_size: Hashing size
689 u32 hash_base_fqid, u32 hash_size)
700 if (hash_size == 0 || (hash_size & (hash_size - 1)) != 0) {
733 scheme->hash_fqid_count = hash_size;
688 keygen_port_hashing_init(struct fman_keygen *keygen, u8 hw_port_id, u32 hash_base_fqid, u32 hash_size) argument
/linux-master/fs/jbd2/
H A Drevoke.c115 int hash_size; member in struct:jbd2_revoke_table_s
218 static struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size) argument
221 int tmp = hash_size;
231 table->hash_size = hash_size;
234 kmalloc_array(hash_size, sizeof(struct list_head), GFP_KERNEL);
241 for (tmp = 0; tmp < hash_size; tmp++)
253 for (i = 0; i < table->hash_size; i++) {
263 int jbd2_journal_init_revoke(journal_t *journal, int hash_size) argument
266 J_ASSERT(is_power_of_2(hash_size));
[all...]
/linux-master/drivers/soc/qcom/
H A Dmdt_loader.c133 size_t hash_size; local
161 hash_size = phdrs[hash_segment].p_filesz;
163 data = kmalloc(ehdr_size + hash_size, GFP_KERNEL);
170 if (ehdr_size + hash_size == fw->size) {
173 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size);
174 } else if (phdrs[hash_segment].p_offset + hash_size <= fw->size) {
177 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size);
187 *data_len = ehdr_size + hash_size;
/linux-master/drivers/net/ipa/
H A Dipa_cmd.h90 * @hash_size: Size of hashed routing table memory
94 * If hash_size is 0, hash_offset and hash_addr are ignored.
98 u16 hash_size, u32 hash_offset,
H A Dipa_table.c395 u16 hash_size; local
426 hash_size = hash_count * sizeof(__le64);
432 hash_size, hash_offset, hash_addr);
441 if (!hash_size)
445 zero_offset = hash_offset + hash_size;
446 zero_size = hash_mem->size - hash_size;
H A Dipa_cmd.c359 /* If hash_size is 0, hash_offset and hash_addr ignored. */
362 dma_addr_t addr, u16 hash_size, u32 hash_offset,
377 if (hash_size) {
382 val |= u64_encode_bits(hash_size,
390 if (hash_size)
360 ipa_cmd_table_init_add(struct gsi_trans *trans, enum ipa_cmd_opcode opcode, u16 size, u32 offset, dma_addr_t addr, u16 hash_size, u32 hash_offset, dma_addr_t hash_addr) argument
/linux-master/fs/affs/
H A Damigaffs.h54 __be32 hash_size; member in struct:affs_root_head
/linux-master/drivers/nfc/s3fwrn5/
H A Dfirmware.c110 const void *hash_data, u16 hash_size,
120 args.hashcode_size = hash_size;
144 hash_data, hash_size);
109 s3fwrn5_fw_enter_update_mode(struct s3fwrn5_fw_info *fw_info, const void *hash_data, u16 hash_size, const void *sig_data, u16 sig_size) argument
/linux-master/net/sunrpc/
H A Dcache.c435 current_index >= current_detail->hash_size) {
447 current_index = current_detail->hash_size;
456 current_index < current_detail->hash_size &&
462 if (current_detail && current_index < current_detail->hash_size) {
544 for (i = 0; i < detail->hash_size; i++) {
1360 } while(hash < cd->hash_size &&
1362 if (hash >= cd->hash_size)
1388 while (hash < cd->hash_size &&
1393 if (hash >= cd->hash_size)
1749 cd->hash_table = kcalloc(cd->hash_size, sizeo
[all...]
H A Dsvcauth_unix.c587 .hash_size = GID_HASHMAX,
1021 .hash_size = IP_HASHMAX,
/linux-master/drivers/net/
H A Dgtp.c75 unsigned int hash_size; member in struct:gtp_dev
130 head = &gtp->tid_hash[gtp0_hashfn(tid) % gtp->hash_size];
146 head = &gtp->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size];
162 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size];
1105 for (i = 0; i < gtp->hash_size; i++)
1142 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size))
1182 gtp->hash_size = hsize;
1337 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size;
1393 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size;
1396 hash_tid = gtp1u_hashfn(pctx->u.v1.i_tei) % gtp->hash_size;
[all...]
/linux-master/drivers/crypto/
H A Dsa2ul.c119 * @hash_size: Size of digest
135 u8 hash_size; member in struct:algo_data
690 u8 hash_size, u32 *swinfo)
702 swinfo[2] |= FIELD_PREP(SA_SW2_EGRESS_LENGTH, hash_size);
738 if (!ad->hash_size)
740 ad->hash_size = roundup(ad->hash_size, 8);
746 ad->hash_size = ad->iv_out_size;
776 SA_SW_INFO_FLAG_EVICT, ad->hash_size, swinfo);
1635 ad.hash_size
688 sa_set_swinfo(u8 eng_id, u16 sc_id, dma_addr_t sc_phys, u8 cmdl_present, u8 cmdl_offset, u8 flags, u8 hash_size, u32 *swinfo) argument
[all...]
H A Datmel-sha.c106 size_t hash_size; member in struct:atmel_sha_reqctx
1697 ctx->hash_size = SHA1_DIGEST_SIZE;
1702 ctx->hash_size = SHA256_DIGEST_SIZE;
1707 ctx->hash_size = SHA256_DIGEST_SIZE;
1712 ctx->hash_size = SHA512_DIGEST_SIZE;
1717 ctx->hash_size = SHA512_DIGEST_SIZE;
1789 size_t hs = ctx->hash_size;
1804 size_t hs = ctx->hash_size;
1875 size_t hs = ctx->hash_size;
1894 size_t hs = ctx->hash_size;
[all...]
/linux-master/drivers/md/
H A Ddm-snap.c886 sector_t hash_size, cow_dev_size, max_buckets; local
895 hash_size = cow_dev_size >> s->store->chunk_shift;
896 hash_size = min(hash_size, max_buckets);
898 if (hash_size < 64)
899 hash_size = 64;
900 hash_size = rounddown_pow_of_two(hash_size);
901 if (dm_exception_table_init(&s->complete, hash_size,
909 hash_size >>
[all...]
/linux-master/lib/zlib_deflate/
H A Ddeflate.c184 s->head[s->hash_size-1] = NIL; \
185 memset((char *)s->head, 0, (unsigned)(s->hash_size-1)*sizeof(*s->head));
257 s->hash_size = 1 << s->hash_bits;
258 s->hash_mask = s->hash_size - 1;
783 n = s->hash_size;
H A Ddefutil.h115 uInt hash_size; /* number of elements in hash table */ member in struct:deflate_state
116 uInt hash_bits; /* log2(hash_size) */
117 uInt hash_mask; /* hash_size-1 */
/linux-master/net/dccp/
H A Dproto.c1165 unsigned long hash_size = (1UL << ehash_order) * PAGE_SIZE / local
1168 while (hash_size & (hash_size - 1))
1169 hash_size--;
1170 dccp_hashinfo.ehash_mask = hash_size - 1;
/linux-master/include/linux/sunrpc/
H A Dcache.h72 int hash_size; member in struct:cache_detail
/linux-master/drivers/net/bonding/
H A Dbond_alb.c61 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) argument
66 for (i = 0; i < hash_size; i++)
1429 int hash_size = 0; local
1449 hash_size = sizeof(iph->daddr);
1488 hash_size = sizeof(ip6hdr->daddr);
1503 hash_index = _simple_hash(hash_start, hash_size);
/linux-master/fs/nfsd/
H A Dnfs4idmap.c191 .hash_size = ENT_HASHMAX,
361 .hash_size = ENT_HASHMAX,
H A Dexport.c259 .hash_size = EXPKEY_HASHMAX,
882 .hash_size = EXPORT_HASHMAX,
/linux-master/drivers/crypto/chelsio/
H A Dchcr_algo.h252 unsigned int hash_size; member in struct:hash_wr_param
H A Dchcr_algo.c1647 param->hash_size, transhdr_len,
1720 params.hash_size = params.alg_prm.result_size;
1812 params.hash_size = crypto_ahash_digestsize(rtfm);
1884 params.hash_size = params.alg_prm.result_size;
1890 params.hash_size = crypto_ahash_digestsize(rtfm);
1987 params.hash_size = params.alg_prm.result_size;
1990 params.hash_size = crypto_ahash_digestsize(rtfm);
2065 params.hash_size = params.alg_prm.result_size;
2070 params.hash_size = crypto_ahash_digestsize(rtfm);
/linux-master/fs/nfs/
H A Ddns_resolve.c368 .hash_size = NFS_DNS_HASHTBL_SIZE,

Completed in 321 milliseconds

12