Home
last modified time | relevance | path

Searched refs:num_slots (Results 1 – 2 of 2) sorted by relevance

/block/
A Dblk-crypto-profile.c75 unsigned int num_slots) in blk_crypto_profile_init() argument
91 if (num_slots == 0) in blk_crypto_profile_init()
101 profile->num_slots = num_slots; in blk_crypto_profile_init()
106 for (slot = 0; slot < num_slots; slot++) { in blk_crypto_profile_init()
114 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_crypto_profile_init()
157 unsigned int num_slots) in devm_blk_crypto_profile_init() argument
262 if (profile->num_slots == 0) in blk_crypto_get_keyslot()
371 if (profile->num_slots == 0) { in __blk_crypto_evict_key()
424 if (profile->num_slots == 0) in blk_crypto_reprogram_all_keys()
429 for (slot = 0; slot < profile->num_slots; slot++) { in blk_crypto_reprogram_all_keys()
[all …]
A Dblk-crypto-sysfs.c50 return sysfs_emit(page, "%u\n", profile->num_slots); in num_keyslots_show()

Completed in 5 milliseconds