Lines Matching defs:pslot
37 kms_slot_t *pslot;
57 pslot = get_slotinfo();
58 (void) pthread_mutex_lock(&pslot->sl_mutex);
61 if ((pslot->sl_state == CKU_SO) && !(flags & CKF_RW_SESSION)) {
62 (void) pthread_mutex_unlock(&pslot->sl_mutex);
70 (void) pthread_mutex_unlock(&pslot->sl_mutex);
148 kms_slot_t *pslot;
150 pslot = get_slotinfo();
151 (void) pthread_mutex_lock(&pslot->sl_mutex);
153 if (pslot->sl_state == CKU_PUBLIC) {
156 } else if (pslot->sl_state == CKU_USER) {
159 } else if (pslot->sl_state == CKU_SO) {
165 (void) pthread_mutex_unlock(&pslot->sl_mutex);
237 kms_slot_t *pslot;
256 pslot = get_slotinfo();
257 (void) pthread_mutex_lock(&pslot->sl_mutex);
260 if ((pslot->sl_state == CKU_USER) || (pslot->sl_state == CKU_SO)) {
271 sp = pslot->sl_sess_list;
304 pslot->sl_state = userType;
310 (void) pthread_mutex_unlock(&pslot->sl_mutex);
319 kms_slot_t *pslot;
334 pslot = get_slotinfo();
335 (void) pthread_mutex_lock(&pslot->sl_mutex);
338 if (pslot->sl_state == CKU_PUBLIC) {
349 (void) pthread_mutex_unlock(&pslot->sl_mutex);
350 kms_cleanup_pri_objects_in_slot(pslot, session_p);
351 (void) pthread_mutex_lock(&pslot->sl_mutex);
354 pslot->sl_state = CKU_PUBLIC;
358 (void) pthread_mutex_unlock(&pslot->sl_mutex);