Home
last modified time | relevance | path

Searched refs:slot_hashtable_size (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/block/
H A Dkeyslot-manager.c79 unsigned int slot_hashtable_size; in blk_ksm_init() local
105 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_ksm_init()
110 if (slot_hashtable_size < 2) in blk_ksm_init()
111 slot_hashtable_size = 2; in blk_ksm_init()
113 ksm->log_slot_ht_size = ilog2(slot_hashtable_size); in blk_ksm_init()
114 ksm->slot_hashtable = kvmalloc_array(slot_hashtable_size, in blk_ksm_init()
119 for (i = 0; i < slot_hashtable_size; i++) in blk_ksm_init()
/kernel/linux/linux-6.6/block/
H A Dblk-crypto-profile.c79 unsigned int slot_hashtable_size; in blk_crypto_profile_init() local
114 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_crypto_profile_init()
119 if (slot_hashtable_size < 2) in blk_crypto_profile_init()
120 slot_hashtable_size = 2; in blk_crypto_profile_init()
122 profile->log_slot_ht_size = ilog2(slot_hashtable_size); in blk_crypto_profile_init()
124 kvmalloc_array(slot_hashtable_size, in blk_crypto_profile_init()
128 for (i = 0; i < slot_hashtable_size; i++) in blk_crypto_profile_init()

Completed in 2 milliseconds