Home
last modified time | relevance | path

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

/drivers/md/
Ddm-snap.c796 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local
805 hash_size = cow_dev_size >> s->store->chunk_shift; in init_hash_tables()
806 hash_size = min(hash_size, max_buckets); in init_hash_tables()
808 if (hash_size < 64) in init_hash_tables()
809 hash_size = 64; in init_hash_tables()
810 hash_size = rounddown_pow_of_two(hash_size); in init_hash_tables()
811 if (dm_exception_table_init(&s->complete, hash_size, in init_hash_tables()
819 hash_size >>= 3; in init_hash_tables()
820 if (hash_size < 64) in init_hash_tables()
821 hash_size = 64; in init_hash_tables()
[all …]
/drivers/net/bonding/
Dbond_alb.c90 static inline u8 _simple_hash(const u8 *hash_start, int hash_size) in _simple_hash() argument
95 for (i = 0; i < hash_size; i++) in _simple_hash()
1370 int hash_size = 0; in bond_alb_xmit() local
1390 hash_size = sizeof(iph->daddr); in bond_alb_xmit()
1421 hash_size = sizeof(ipv6_hdr(skb)->daddr); in bond_alb_xmit()
1440 hash_size = ETH_ALEN; in bond_alb_xmit()
1453 hash_index = _simple_hash(hash_start, hash_size); in bond_alb_xmit()
/drivers/block/drbd/
Ddrbd_receiver.c3367 int hash_size; in receive_protocol() local
3385 hash_size = crypto_hash_digestsize(peer_integrity_tfm); in receive_protocol()
3386 int_dig_in = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()
3387 int_dig_vv = kmalloc(hash_size, GFP_KERNEL); in receive_protocol()