Searched refs:slot_table (Results 1 – 13 of 13) sorted by relevance
33 kernel_slot_t **slot_table; variable87 pslot = slot_table[0]; in _SUNW_GetThreshold()186 slot_table = malloc(sizeof (kernel_slot_t *) * slot_count); in kernel_slottable_init()187 if (slot_table == NULL) { in kernel_slottable_init()193 slot_table[i] = malloc(sizeof (kernel_slot_t)); in kernel_slottable_init()194 if (slot_table[i] == NULL) { in kernel_slottable_init()199 slot_table[i]->sl_sess_list = NULL; in kernel_slottable_init()200 slot_table[i]->sl_tobj_list = NULL; in kernel_slottable_init()201 slot_table[i]->sl_state = CKU_PUBLIC; in kernel_slottable_init()204 if (pthread_mutex_init(&slot_table[i]->sl_mutex, NULL) != 0) { in kernel_slottable_init()[all …]
41 #define SLOT_THRESHOLD(sp) (slot_table[sp->ses_slotid]->sl_threshold)43 (slot_table[sp->ses_slotid]->sl_hash_max_inlen)45 (slot_table[sp->ses_slotid]->sl_hmac_max_inlen)46 #define SLOT_HAS_LIMITED_HASH(sp) (slot_table[sp->ses_slotid]->sl_flags & \48 #define SLOT_HAS_LIMITED_HMAC(sp) (slot_table[sp->ses_slotid]->sl_flags & \
57 pslot = slot_table[slotID]; in kernel_delete_all_sessions()126 pslot = slot_table[slotID]; in kernel_add_session()194 pslot = slot_table[slotID]; in kernel_delete_session()487 pslot = slot_table[slotID]; in kernel_acquire_all_slots_mutexes()518 pslot = slot_table[slotID]; in kernel_release_all_slots_mutexes()
64 pslot = slot_table[slotID]; in C_OpenSession()157 pslot = slot_table[session_p->ses_slotid]; in get_ses_state()236 if (slot_table[session_p->ses_slotid]->sl_flags & in kernel_get_operationstate()466 pslot = slot_table[session_p->ses_slotid]; in C_Login()553 pslot = slot_table[session_p->ses_slotid]; in C_Logout()
99 gi.gi_provider_id = slot_table[slotID]->sl_provider_id; in C_GetSlotInfo()151 gi.gi_provider_id = slot_table[slotID]->sl_provider_id; in C_GetTokenInfo()243 provider_id = slot_table[slotID]->sl_provider_id; in C_GetMechanismList()380 rv = get_mechanism_info(slot_table[slotID], type, pInfo, &k_mi_flags); in C_GetMechanismInfo()
311 (void) pthread_mutex_destroy(&slot_table[i]->sl_mutex); in finalize_common()312 (void) free(slot_table[i]); in finalize_common()314 (void) free(slot_table); in finalize_common()
261 pslot = slot_table[session_p->ses_slotid]; in C_CopyObject()373 pslot = slot_table[session_p->ses_slotid]; in C_DestroyObject()783 pslot = slot_table[session_p->ses_slotid]; in C_FindObjectsInit()861 pslot = slot_table[session_p->ses_slotid]; in C_FindObjects()962 pslot = slot_table[session_p->ses_slotid]; in C_FindObjectsFinal()
91 extern kernel_slot_t **slot_table;
233 pslot = slot_table[sp->ses_slotid]; in kernel_add_object()307 pslot = slot_table[sp->ses_slotid]; in kernel_add_object()616 pslot = slot_table[sp->ses_slotid]; in search_for_objects()
414 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKey()495 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKey()1473 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKeyPair()1629 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKeyPair()1793 pslot = slot_table[session_p->ses_slotid]; in C_UnwrapKey()1948 pslot = slot_table[session_p->ses_slotid]; in C_UnwrapKey()2382 pslot = slot_table[session_p->ses_slotid]; in C_DeriveKey()2463 pslot = slot_table[session_p->ses_slotid]; in C_DeriveKey()
1049 pslot = slot_table[cur_sp->ses_slotid]; in process_found_objects()
934 kernel_slot_t *pslot = slot_table[sp->ses_slotid]; in kernel_parse_common_attrs()2889 kernel_slot_t *pslot = slot_table[sp->ses_slotid]; in kernel_set_common_key_attribute()
72 typedef struct slot_table { struct