Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fsp/
H A Dbase.c16 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 Dipa_table.c398 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 Dipa_cmd.c363 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 Dipa_cmd.h86 u16 hash_size, u32 hash_offset,
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c689 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 Dfman_keygen.h17 u32 hash_base_fqid, u32 hash_size);
/linux/net/sunrpc/
H A Dcache.c454 current_index >= current_detail->hash_size) { in cache_clean()
466 current_index = current_detail->hash_size; in cache_clean()
476 while (current_index < current_detail->hash_size && in cache_clean()
481 if (current_index < current_detail->hash_size) { in cache_clean()
562 for (i = 0; i < detail->hash_size; i++) { in cache_purge()
1354 if (hash >= cd->hash_size) in __cache_seq_start()
1361 while (!ch && ++hash < cd->hash_size) in __cache_seq_start()
1380 while (hash < cd->hash_size) { in cache_seq_next()
1739 cd->hash_table = kzalloc_objs(struct hlist_head, cd->hash_size); in cache_create_net()
1745 for (i = 0; i < cd->hash_size; i++) in cache_create_net()
H A Dsvcauth_unix.c855 .hash_size = GID_HASHMAX,
1533 .hash_size = IP_HASHMAX,
/linux/drivers/net/
H A Dgtp.c85 unsigned int hash_size; member
152 head = &gtp->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find()
169 head = &gtp->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find()
186 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find()
221 head = &gtp->addr_hash[ipv6_hashfn(ms_addr) % gtp->hash_size]; in ipv6_pdp_find()
1558 for (i = 0; i < gtp->hash_size; i++) in gtp_dellink()
1597 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size)) in gtp_fill_info()
1637 gtp->hash_size = hsize; in gtp_hashtable_new()
1861 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size; in gtp_pdp_add()
1870 hash_ms = ipv6_hashfn(&ms_addr6) % gtp->hash_size; in gtp_pdp_add()
[all …]
/linux/drivers/crypto/
H A Datmel-sha.c105 size_t hash_size; member
1690 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup()
1695 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1700 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1705 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1710 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1781 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash()
1796 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done()
1867 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done()
1886 size_t hs = ctx->hash_size; in atmel_sha_hmac_final()
[all …]
/linux/net/dccp/
H A Dproto.c
/linux/fs/affs/
H A Damigaffs.h55 __be32 hash_size; member
/linux/drivers/net/bonding/
H A Dbond_alb.c61 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument
66 for (i = 0; i < hash_size; i++) in _simple_hash()
1428 int hash_size = 0; in bond_xmit_alb_slave_get() local
1448 hash_size = sizeof(iph->daddr); in bond_xmit_alb_slave_get()
1487 hash_size = sizeof(ip6hdr->daddr); in bond_xmit_alb_slave_get()
1502 hash_index = _simple_hash(hash_start, hash_size); in bond_xmit_alb_slave_get()
/linux/lib/zlib_deflate/
H A Ddefutil.h115 uInt hash_size; /* number of elements in hash table */ member
/linux/fs/nfsd/
H A Dnfs4idmap.c192 .hash_size = ENT_HASHMAX,
362 .hash_size = ENT_HASHMAX,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsigned_loader.c1034 info.hash_size = sizeof(hbuf); in hash_requires_frozen()
1111 info.hash_size = sizeof(kbuf); in map_hash_matches_libbpf()
1152 info.hash_size = sizeof(kbuf); in map_hash_multi_element()
1178 info.hash_size = sizeof(kbuf) / 2; in map_hash_bad_size()
1198 info.hash_size = sizeof(kbuf); in map_hash_unsupported_type()
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.h252 unsigned int hash_size; member
/linux/include/linux/
H A Djbd2.h1646 struct jbd2_revoke_table_s *jbd2_journal_init_revoke_table(int hash_size);
/linux/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c309 .hash_size = RSI_HASHMAX,
587 .hash_size = RSC_HASHMAX,
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c3527 int hash_size; in receive_protocol() local
3546 hash_size = crypto_shash_digestsize(peer_integrity_tfm); in receive_protocol()
3547 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
3548 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
/linux/tools/include/uapi/linux/
H A Dbpf.h6825 __u32 hash_size; member
/linux/include/uapi/linux/
H A Dbpf.h6825 __u32 hash_size; member
/linux/kernel/bpf/
H A Dsyscall.c5399 len = offsetofend(struct bpf_map_info, hash_size); in bpf_map_get_info_by_fd()
5438 if (info.hash_size != sizeof(map->sha)) in bpf_map_get_info_by_fd()
5449 } else if (info.hash_size) { in bpf_map_get_info_by_fd()