Home
last modified time | relevance | path

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

/illumos-gate/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()
187 if (slot_table == NULL) { 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()
206 (void) free(slot_table[i]); in kernel_slottable_init()
249 rv = kernel_get_func_list(slot_table[i]); in kernel_slottable_init()
261 (void) free(slot_table[i]); 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.c97 gi.gi_provider_id = slot_table[slotID]->sl_provider_id; in C_GetSlotInfo()
149 gi.gi_provider_id = slot_table[slotID]->sl_provider_id; in C_GetTokenInfo()
241 provider_id = slot_table[slotID]->sl_provider_id; in C_GetMechanismList()
378 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.c259 pslot = slot_table[session_p->ses_slotid]; in C_CopyObject()
371 pslot = slot_table[session_p->ses_slotid]; in C_DestroyObject()
781 pslot = slot_table[session_p->ses_slotid]; in C_FindObjectsInit()
859 pslot = slot_table[session_p->ses_slotid]; in C_FindObjects()
960 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.c409 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKey()
490 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKey()
1468 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKeyPair()
1624 pslot = slot_table[session_p->ses_slotid]; in C_GenerateKeyPair()
1788 pslot = slot_table[session_p->ses_slotid]; in C_UnwrapKey()
1943 pslot = slot_table[session_p->ses_slotid]; in C_UnwrapKey()
2377 pslot = slot_table[session_p->ses_slotid]; in C_DeriveKey()
2458 pslot = slot_table[session_p->ses_slotid]; in C_DeriveKey()
H A DkernelUtil.c938 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()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_pci.c72 typedef struct slot_table { struct