Lines Matching defs:slot_table
33 kernel_slot_t **slot_table;
87 pslot = slot_table[0];
186 slot_table = malloc(sizeof (kernel_slot_t *) * slot_count);
187 if (slot_table == NULL) {
193 slot_table[i] = malloc(sizeof (kernel_slot_t));
194 if (slot_table[i] == NULL) {
199 slot_table[i]->sl_sess_list = NULL;
200 slot_table[i]->sl_tobj_list = NULL;
201 slot_table[i]->sl_state = CKU_PUBLIC;
202 slot_table[i]->sl_hash_max_inlen = CRYPTO_MAX_BUFFER_LEN;
203 slot_table[i]->sl_hmac_max_inlen = CRYPTO_MAX_BUFFER_LEN;
206 if (pthread_mutex_init(&slot_table[i]->sl_mutex, NULL) != 0) {
208 (void) free(slot_table[i]);
209 slot_table[i] = NULL;
244 slot_table[i]->sl_provider_id = pl->pl_list[i].pe_provider_id;
252 rv = kernel_get_func_list(slot_table[i]);
263 (void) pthread_mutex_destroy(&slot_table[i]->sl_mutex);
264 (void) free(slot_table[i]);
267 (void) free(slot_table);