Home
last modified time | relevance | path

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

/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/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()
1367 int hash_size = 0; in bond_alb_xmit() local
1390 hash_size = sizeof(iph->daddr); in bond_alb_xmit()
1427 hash_size = sizeof(ip6hdr->daddr); in bond_alb_xmit()
1456 hash_size = ETH_ALEN; in bond_alb_xmit()
1470 hash_index = _simple_hash(hash_start, hash_size); in bond_alb_xmit()
/drivers/block/drbd/
Ddrbd_receiver.c3369 int hash_size; in receive_protocol() local
3387 hash_size = crypto_hash_digestsize(peer_integrity_tfm); in receive_protocol()
3388 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
3389 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()