Home
last modified time | relevance | path

Searched refs:slot_table (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlottable.c33 kernel_slot_t **slot_table; variable
87 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 …]
H A DkernelEmulate.h41 #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 & \
H A DkernelSessionUtil.c57 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()
H A DkernelSession.c64 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()
H A DkernelSlotToken.c99 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()
H A DkernelGeneral.c311 (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()
H A DkernelObject.c261 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()
H A DkernelSlot.h91 extern kernel_slot_t **slot_table;
H A DkernelObjectUtil.c233 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()
H A DkernelKeys.c414 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()
H A DkernelUtil.c1049 pslot = slot_table[cur_sp->ses_slotid]; in process_found_objects()
H A DkernelAttributeUtil.c934 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()
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c72 typedef struct slot_table { struct