Searched refs:st_slots (Results 1 – 7 of 7) sorted by relevance
257 cur_slot = slottable->st_slots[i]; in C_WaitForSlotEvent()293 prov_id = slottable->st_slots[i]->sl_prov_id; in C_WaitForSlotEvent()294 cur_slot = slottable->st_slots[i]; in C_WaitForSlotEvent()344 slottable->st_slots[j]->sl_prov_id) { in C_WaitForSlotEvent()440 prov_id = slottable->st_slots[i]->sl_prov_id; in C_WaitForSlotEvent()441 cur_slot = slottable->st_slots[i]; in C_WaitForSlotEvent()538 st_slots[event_slot]->sl_mutex); in C_WaitForSlotEvent()539 if (slottable->st_slots[event_slot]-> in C_WaitForSlotEvent()543 slottable->st_slots[event_slot]->sl_wfse_state = in C_WaitForSlotEvent()546 st_slots[event_slot]->sl_mutex); in C_WaitForSlotEvent()[all …]
55 stmp->st_slots = NULL; in pkcs11_slottable_initialize()102 (slottable->st_slots, newsize * sizeof (pkcs11_slot_t *)); in pkcs11_slottable_increase()109 slottable->st_slots = tmpslots; in pkcs11_slottable_increase()150 slottable->st_slots[*pslot_id] = tmpslot; in pkcs11_slot_allocate()174 if (slottable->st_slots[i] != NULL) { in pkcs11_slottable_delete()176 cur_slot = slottable->st_slots[i]; in pkcs11_slottable_delete()247 free(slottable->st_slots); in pkcs11_slottable_delete()271 } else if (slottable->st_slots[slot_id] != NULL) { in pkcs11_is_valid_slot()
49 slottable->st_slots[fast_slot]->sl_norandom) { in C_SeedRandom()69 if (slottable->st_slots[slotid]->sl_norandom) in C_SeedRandom()102 slottable->st_slots[fast_slot]->sl_norandom) { in C_GenerateRandom()123 if (slottable->st_slots[slotid]->sl_norandom) in C_GenerateRandom()
175 slottable->st_slots[0] = NULL; in setup_metaslot()191 slottable->st_slots[0] = cur_slot; in setup_metaslot()223 slottable->st_slots[0] = NULL; in setup_metaslot()572 cur_slot = slottable->st_slots[slot_id]; in pkcs11_slot_mapping()692 cur_slot = slottable->st_slots[slottable->st_first]; in pkcs11_slot_mapping()815 (void) pthread_mutex_lock(&slottable->st_slots[slotid]->sl_mutex); in pkcs11_is_dismech()816 enabled_pol = slottable->st_slots[slotid]->sl_enabledpol; in pkcs11_is_dismech()817 pol_mechs = slottable->st_slots[slotid]->sl_pol_mechs; in pkcs11_is_dismech()818 pol_count = slottable->st_slots[slotid]->sl_pol_count; in pkcs11_is_dismech()819 (void) pthread_mutex_unlock(&slottable->st_slots[slotid]->sl_mutex); in pkcs11_is_dismech()
151 if (slottable->st_slots[i] != NULL) { in pkcs11_fork_prepare()153 &slottable->st_slots[i]->sl_mutex); in pkcs11_fork_prepare()174 if (slottable->st_slots[i] != NULL) { in pkcs11_fork_parent()176 &slottable->st_slots[i]->sl_mutex); in pkcs11_fork_parent()204 if (slottable->st_slots[i] != NULL) { in pkcs11_fork_child()206 &slottable->st_slots[i]->sl_mutex); in pkcs11_fork_child()
88 pkcs11_slot_t **st_slots; member112 #define FUNCLIST(slotID) (slottable->st_slots[(slotID)]->sl_func_list)118 #define TRUEID(slotID) (slottable->st_slots[(slotID)]->sl_id)
97 slottable->st_slots[METASLOT_FRAMEWORK_ID], in C_OpenSession()100 rv = pkcs11_session_add(slottable->st_slots[fw_st_id], in C_OpenSession()149 pkcs11_session_delete(slottable->st_slots[sessp->se_slotid], sessp); in C_CloseSession()197 slotp = slottable->st_slots[fw_st_id]; in C_CloseAllSessions()