/drivers/soc/qcom/ |
D | mdt_loader.c | 91 size_t hash_size; in qcom_mdt_read_metadata() local 108 hash_size = phdrs[1].p_filesz; in qcom_mdt_read_metadata() 110 data = kmalloc(ehdr_size + hash_size, GFP_KERNEL); in qcom_mdt_read_metadata() 115 if (ehdr_size + hash_size == fw->size) in qcom_mdt_read_metadata() 121 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 123 *data_len = ehdr_size + hash_size; in qcom_mdt_read_metadata()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_keygen.c | 716 u32 hash_base_fqid, u32 hash_size) in keygen_port_hashing_init() argument 727 if (hash_size == 0 || (hash_size & (hash_size - 1)) != 0) { in keygen_port_hashing_init() 760 scheme->hash_fqid_count = hash_size; in keygen_port_hashing_init()
|
D | fman_keygen.h | 44 u32 hash_base_fqid, u32 hash_size);
|
/drivers/net/ |
D | gtp.c | 73 unsigned int hash_size; member 110 head = >p->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find() 126 head = >p->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find() 142 head = >p->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find() 719 for (i = 0; i < gtp->hash_size; i++) in gtp_dellink() 753 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size)) in gtp_fill_info() 791 gtp->hash_size = hsize; in gtp_hashtable_new() 954 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size; in gtp_pdp_add() 1010 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size; in gtp_pdp_add() 1013 hash_tid = gtp1u_hashfn(pctx->u.v1.i_tei) % gtp->hash_size; in gtp_pdp_add() [all …]
|
/drivers/net/ipa/ |
D | ipa_cmd.c | 402 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument 418 if (hash_size) { in ipa_cmd_table_init_add() 423 val |= u64_encode_bits(hash_size, in ipa_cmd_table_init_add() 431 if (hash_size) in ipa_cmd_table_init_add()
|
D | ipa_table.c | 421 u16 hash_size; in ipa_table_init_add() local 439 hash_size = hash_count * sizeof(__le64); in ipa_table_init_add() 445 hash_size, hash_mem->offset, hash_addr); in ipa_table_init_add()
|
D | ipa_cmd.h | 109 u16 hash_size, u32 hash_offset,
|
/drivers/md/ |
D | dm-snap.c | 885 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 894 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables() 895 hash_size = min(hash_size, max_buckets); in init_hash_tables() 897 if (hash_size < 64) in init_hash_tables() 898 hash_size = 64; in init_hash_tables() 899 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables() 900 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables() 908 hash_size >>= 3; in init_hash_tables() 909 if (hash_size < 64) in init_hash_tables() 910 hash_size = 64; in init_hash_tables() [all …]
|
/drivers/crypto/ |
D | sa2ul.c | 134 u8 hash_size; member 689 u8 hash_size, u32 *swinfo) in sa_set_swinfo() argument 701 swinfo[2] |= (hash_size << __ffs(SA_SW2_EGRESS_LENGTH)); in sa_set_swinfo() 737 if (!ad->hash_size) in sa_init_sc() 739 ad->hash_size = roundup(ad->hash_size, 8); in sa_init_sc() 745 ad->hash_size = ad->iv_out_size; in sa_init_sc() 775 SA_SW_INFO_FLAG_EVICT, ad->hash_size, swinfo); in sa_init_sc() 1634 ad.hash_size = SHA1_DIGEST_SIZE; in sa_sha1_cra_init() 1650 ad.hash_size = SHA256_DIGEST_SIZE; in sa_sha256_cra_init() 1666 ad.hash_size = SHA512_DIGEST_SIZE; in sa_sha512_cra_init() [all …]
|
D | atmel-sha.c | 106 size_t hash_size; member 1699 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup() 1704 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1709 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup() 1714 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup() 1719 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 …]
|
/drivers/nfc/s3fwrn5/ |
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()
|
/drivers/net/bonding/ |
D | bond_alb.c | 60 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument 65 for (i = 0; i < hash_size; i++) in _simple_hash() 1395 int hash_size = 0; in bond_xmit_alb_slave_get() local 1415 hash_size = sizeof(iph->daddr); in bond_xmit_alb_slave_get() 1452 hash_size = sizeof(ip6hdr->daddr); in bond_xmit_alb_slave_get() 1467 hash_index = _simple_hash(hash_start, hash_size); in bond_xmit_alb_slave_get()
|
/drivers/crypto/chelsio/ |
D | chcr_algo.h | 252 unsigned int hash_size; member
|
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() 1980 params.hash_size = params.alg_prm.result_size; in chcr_ahash_digest() 1983 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_digest() 2058 params.hash_size = params.alg_prm.result_size; in chcr_ahash_continue() 2063 params.hash_size = crypto_ahash_digestsize(rtfm); in chcr_ahash_continue()
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 3744 int hash_size; in receive_protocol() local 3763 hash_size = crypto_shash_digestsize(peer_integrity_tfm); in receive_protocol() 3764 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol() 3765 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
|