Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/fman/
Dfman_keygen.c715 u32 hash_base_fqid, u32 hash_size) in keygen_port_hashing_init() argument
726 if (hash_size == 0 || (hash_size & (hash_size - 1)) != 0) { in keygen_port_hashing_init()
759 scheme->hash_fqid_count = hash_size; in keygen_port_hashing_init()
Dfman_keygen.h44 u32 hash_base_fqid, u32 hash_size);
/drivers/net/
Dgtp.c77 unsigned int hash_size; member
114 head = &gtp->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find()
130 head = &gtp->tid_hash[gtp1u_hashfn(tid) % gtp->hash_size]; in gtp1_pdp_find()
146 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find()
714 for (i = 0; i < gtp->hash_size; i++) in gtp_dellink()
748 if (nla_put_u32(skb, IFLA_GTP_PDP_HASHSIZE, gtp->hash_size)) in gtp_fill_info()
784 gtp->hash_size = hsize; in gtp_hashtable_new()
950 hash_ms = ipv4_hashfn(ms_addr) % gtp->hash_size; in gtp_pdp_add()
1006 hash_tid = gtp0_hashfn(pctx->u.v0.tid) % gtp->hash_size; in gtp_pdp_add()
1009 hash_tid = gtp1u_hashfn(pctx->u.v1.i_tei) % gtp->hash_size; in gtp_pdp_add()
[all …]
/drivers/md/
Ddm-snap.c818 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local
827 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
828 hash_size = min(hash_size, max_buckets); in init_hash_tables()
830 if (hash_size < 64) in init_hash_tables()
831 hash_size = 64; in init_hash_tables()
832 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables()
833 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables()
841 hash_size >>= 3; in init_hash_tables()
842 if (hash_size < 64) in init_hash_tables()
843 hash_size = 64; in init_hash_tables()
[all …]
/drivers/nfc/s3fwrn5/
Dfirmware.c121 const void *hash_data, u16 hash_size, in s3fwrn5_fw_enter_update_mode() argument
131 args.hashcode_size = hash_size; in s3fwrn5_fw_enter_update_mode()
155 hash_data, hash_size); in s3fwrn5_fw_enter_update_mode()
/drivers/crypto/
Datmel-sha.c107 size_t hash_size; member
1768 ctx->hash_size = SHA1_DIGEST_SIZE; in atmel_sha_hmac_setup()
1773 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1778 ctx->hash_size = SHA256_DIGEST_SIZE; in atmel_sha_hmac_setup()
1783 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1788 ctx->hash_size = SHA512_DIGEST_SIZE; in atmel_sha_hmac_setup()
1859 size_t hs = ctx->hash_size; in atmel_sha_hmac_compute_opad_hash()
1874 size_t hs = ctx->hash_size; in atmel_sha_hmac_setup_done()
1945 size_t hs = ctx->hash_size; in atmel_sha_hmac_init_done()
1964 size_t hs = ctx->hash_size; in atmel_sha_hmac_final()
[all …]
/drivers/net/bonding/
Dbond_alb.c82 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument
87 for (i = 0; i < hash_size; i++) in _simple_hash()
1402 int hash_size = 0; in bond_alb_xmit() local
1425 hash_size = sizeof(iph->daddr); in bond_alb_xmit()
1462 hash_size = sizeof(ip6hdr->daddr); in bond_alb_xmit()
1491 hash_size = ETH_ALEN; in bond_alb_xmit()
1505 hash_index = _simple_hash(hash_start, hash_size); in bond_alb_xmit()
/drivers/block/drbd/
Ddrbd_receiver.c3613 int hash_size; in receive_protocol() local
3632 hash_size = crypto_ahash_digestsize(peer_integrity_tfm); in receive_protocol()
3633 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
3634 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()