Lines Matching refs:num_slots
67 * @num_slots: the number of keyslots
75 unsigned int num_slots)
91 if (num_slots == 0)
96 profile->slots = kvcalloc(num_slots, sizeof(profile->slots[0]),
101 profile->num_slots = num_slots;
106 for (slot = 0; slot < num_slots; slot++) {
114 slot_hashtable_size = roundup_pow_of_two(num_slots);
148 * @num_slots: the number of keyslots
157 unsigned int num_slots)
159 int err = blk_crypto_profile_init(profile, num_slots);
262 if (profile->num_slots == 0)
369 if (profile->num_slots == 0) {
422 if (profile->num_slots == 0)
427 for (slot = 0; slot < profile->num_slots; slot++) {
448 sizeof(profile->slots[0]) * profile->num_slots);