Searched refs:slotp (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Sessionlist.c43 * Assumptions: slotp is a valid slot, mutexes are not held, and
47 pkcs11_session_add(pkcs11_slot_t *slotp, CK_SLOT_ID slot_id, argument
61 (void) pthread_mutex_lock(&slotp->sl_mutex);
64 if (slotp->sl_sess_list == NULL) {
65 slotp->sl_sess_list = newhandle;
69 slotp->sl_sess_list->se_prev = newhandle;
70 newhandle->se_next = slotp->sl_sess_list;
72 slotp->sl_sess_list = newhandle;
78 (void) pthread_mutex_unlock(&slotp->sl_mutex);
87 * Assumptions: slotp i
92 pkcs11_session_delete(pkcs11_slot_t *slotp, pkcs11_session_t *sessp) argument
136 pkcs11_sessionlist_delete(pkcs11_slot_t *slotp) argument
[all...]
H A Dpkcs11Session.c167 pkcs11_slot_t *slotp; local
194 slotp = slottable->st_slots[slotID];
206 (void) pthread_mutex_lock(&slotp->sl_mutex);
207 sessp = slotp->sl_sess_list;
223 (void) pthread_mutex_unlock(&slotp->sl_mutex);
232 pkcs11_sessionlist_delete(slotp);

Completed in 27 milliseconds