Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 25 of 25) 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/drivers/md/
H A Ddm-snap.c879 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables()
888 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
889 hash_size = min(hash_size, max_buckets); in init_hash_tables()
891 if (hash_size < 64) in init_hash_tables()
892 hash_size = 64; in init_hash_tables()
893 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables()
894 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables()
902 hash_size >> in init_hash_tables()
877 sector_t hash_size, cow_dev_size, max_buckets; init_hash_tables() local
[all...]
/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.c864 .hash_size = GID_HASHMAX,
1542 .hash_size = IP_HASHMAX,
/linux/drivers/net/
H A Dgtp.c86 unsigned int hash_size; member
155 head = &gtp->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find()
173 head = &gtp->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find()
191 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find()
227 head = &gtp->addr_hash[ipv6_hashfn(ms_addr) % gtp->hash_size]; in ipv6_pdp_find()
1579 for (i = 0; i < gtp->hash_size; i++) in gtp_dellink()
1619 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size)) in gtp_fill_info()
1659 gtp->hash_size = hsize; in gtp_hashtable_new()
1883 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size; in gtp_pdp_add()
1892 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
1693 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup()
1698 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1703 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1708 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1713 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1784 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash()
1799 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done()
1870 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done()
1889 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.c62 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash()
67 for (i = 0; i < hash_size; i++) in _simple_hash()
1454 int hash_size = 0; in bond_xmit_alb_slave_get()
1473 hash_size = sizeof(iph->daddr); in bond_xmit_alb_slave_get()
1512 hash_size = sizeof(ip6hdr->daddr); in bond_xmit_alb_slave_get()
1527 hash_index = _simple_hash(hash_start, hash_size); in bond_xmit_alb_slave_get()
61 _simple_hash(const u8 * hash_start,int hash_size) _simple_hash() argument
1435 int hash_size = 0; bond_xmit_alb_slave_get() local
/linux/fs/nfsd/
H A Dnfs4idmap.c193 .hash_size = ENT_HASHMAX,
365 .hash_size = ENT_HASHMAX,
H A Dexport.c267 .hash_size = EXPKEY_HASHMAX,
1598 .hash_size = EXPORT_HASHMAX,
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsigned_loader.c1387 info.hash_size = sizeof(hbuf); in loadtime_drive()
1464 info.hash_size = sizeof(kbuf); in loadtime_verify()
1505 info.hash_size = sizeof(kbuf); in loadtime_verify()
1531 info.hash_size = sizeof(kbuf) / 2;
1534 "wrong hash_size rejected"); in signed_no_fd_array()
1551 info.hash_size = sizeof(kbuf); in signed_no_fd_array()
/linux/lib/zlib_deflate/
H A Ddefutil.h115 uInt hash_size; /* number of elements in hash table */ member
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.h252 unsigned int hash_size; member
/linux/include/linux/
H A Djbd2.h1648 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.h6887 __u32 hash_size;
6825 __u32 hash_size; global() member
/linux/include/uapi/linux/
H A Dbpf.h6887 __u32 hash_size;
6825 __u32 hash_size; global() member
/linux/kernel/bpf/
H A Dsyscall.c5484 len = offsetofend(struct bpf_map_info, hash_size); in bpf_btf_get_info_by_fd()
5494 if (info_len >= offsetofend(struct bpf_map_info, hash_size) && in bpf_link_get_info_by_fd()
5495 get_user(info.hash_size, &uinfo->hash_size)) in bpf_link_get_info_by_fd()
5527 if (info.hash_size != sizeof(map->sha)) in bpf_link_get_info_by_fd()
5538 } else if (info.hash_size) { in token_get_info_by_fd()