Searched refs:sl_mutex (Results 1 - 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Sessionlist.c61 (void) pthread_mutex_lock(&slotp->sl_mutex);
78 (void) pthread_mutex_unlock(&slotp->sl_mutex);
96 (void) pthread_mutex_lock(&slotp->sl_mutex);
124 (void) pthread_mutex_unlock(&slotp->sl_mutex);
H A Dpkcs11SlotToken.c263 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
265 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
308 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
311 &cur_slot->sl_mutex);
322 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
327 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
331 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
456 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
459 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
477 &cur_slot->sl_mutex);
[all...]
H A Dpkcs11Slottable.c139 if (pthread_mutex_init(&tmpslot->sl_mutex, NULL) != 0) {
179 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
225 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
235 (void) pthread_mutex_destroy(&cur_slot->sl_mutex);
H A Dpkcs11Conf.c184 (void) pthread_mutex_init(&cur_slot->sl_mutex, NULL);
194 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
208 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
226 (void) pthread_mutex_destroy(&cur_slot->sl_mutex);
573 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
583 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
694 (void) pthread_mutex_lock(&cur_slot->sl_mutex);
707 (void) pthread_mutex_unlock(&cur_slot->sl_mutex);
815 (void) pthread_mutex_lock(&slottable->st_slots[slotid]->sl_mutex);
819 (void) pthread_mutex_unlock(&slottable->st_slots[slotid]->sl_mutex);
[all...]
H A Dpkcs11Slot.h55 pthread_mutex_t sl_mutex; /* protects: sl_sess_list, */ member in struct:pkcs11_slot
H A Dpkcs11General.c148 /* Take the sl_mutex of all slots */
153 &slottable->st_slots[i]->sl_mutex);
171 /* Release the sl_mutex of all slots */
176 &slottable->st_slots[i]->sl_mutex);
201 /* Release the sl_mutex of all slots */
206 &slottable->st_slots[i]->sl_mutex);
H A Dpkcs11Session.c211 (void) pthread_mutex_lock(&slotp->sl_mutex);
228 (void) pthread_mutex_unlock(&slotp->sl_mutex);
/illumos-gate/usr/src/uts/common/io/softmac/
H A Dsoftmac_pkt.c115 mutex_enter(&slp->sl_mutex);
117 mutex_exit(&slp->sl_mutex);
121 mutex_enter(&slp->sl_mutex);
123 if (cv_reltimedwait(&slp->sl_cv, &slp->sl_mutex, ACKTIMEOUT,
138 mutex_exit(&slp->sl_mutex);
172 mutex_enter(&slp->sl_mutex);
174 mutex_exit(&slp->sl_mutex);
178 mutex_enter(&slp->sl_mutex);
180 cv_wait(&slp->sl_cv, &slp->sl_mutex);
183 mutex_exit(&slp->sl_mutex);
[all...]
H A Dsoftmac_ctl.c332 mutex_enter(&slp->sl_mutex);
335 mutex_exit(&slp->sl_mutex);
343 mutex_exit(&slp->sl_mutex);
530 mutex_enter(&slp->sl_mutex);
532 mutex_exit(&slp->sl_mutex);
542 mutex_exit(&slp->sl_mutex);
H A Dsoftmac_dev.c262 mutex_init(&slp->sl_mutex, NULL, MUTEX_DRIVER, NULL);
300 mutex_destroy(&slp->sl_mutex);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlot.h61 pthread_mutex_t sl_mutex; member in struct:kernel_slot
H A DkernelSessionUtil.c65 (void) pthread_mutex_lock(&pslot->sl_mutex);
82 (void) pthread_mutex_unlock(&pslot->sl_mutex);
85 (void) pthread_mutex_unlock(&pslot->sl_mutex);
197 (void) pthread_mutex_lock(&pslot->sl_mutex);
234 (void) pthread_mutex_unlock(&pslot->sl_mutex);
367 (void) pthread_mutex_lock(&pslot->sl_mutex);
387 (void) pthread_mutex_unlock(&pslot->sl_mutex);
472 * 2. pslot->sl_mutex
488 (void) pthread_mutex_lock(&pslot->sl_mutex);
537 (void) pthread_mutex_unlock(&pslot->sl_mutex);
[all...]
H A DkernelSession.c65 (void) pthread_mutex_lock(&pslot->sl_mutex);
69 (void) pthread_mutex_unlock(&pslot->sl_mutex);
76 (void) pthread_mutex_unlock(&pslot->sl_mutex);
158 (void) pthread_mutex_lock(&pslot->sl_mutex);
170 (void) pthread_mutex_unlock(&pslot->sl_mutex);
467 (void) pthread_mutex_lock(&pslot->sl_mutex);
526 (void) pthread_mutex_unlock(&pslot->sl_mutex);
554 (void) pthread_mutex_lock(&pslot->sl_mutex);
591 (void) pthread_mutex_unlock(&pslot->sl_mutex);
H A DkernelObjectUtil.c617 (void) pthread_mutex_lock(&pslot->sl_mutex);
655 (void) pthread_mutex_unlock(&pslot->sl_mutex);
752 (void) pthread_mutex_lock(&pslot->sl_mutex);
767 (void) pthread_mutex_unlock(&pslot->sl_mutex);
828 (void) pthread_mutex_lock(&pslot->sl_mutex);
836 (void) pthread_mutex_unlock(&pslot->sl_mutex);
H A DkernelSlottable.c204 if (pthread_mutex_init(&slot_table[i]->sl_mutex, NULL) != 0) {
260 (void) pthread_mutex_destroy(&slot_table[i]->sl_mutex);
H A DkernelGeneral.c311 (void) pthread_mutex_destroy(&slot_table[i]->sl_mutex);
H A DkernelObject.c862 (void) pthread_mutex_lock(&pslot->sl_mutex);
920 (void) pthread_mutex_unlock(&pslot->sl_mutex);
H A DkernelAttributeUtil.c2934 (void) pthread_mutex_lock(&pslot->sl_mutex);
2946 (void) pthread_mutex_unlock(&pslot->sl_mutex);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c601 mutex_init(&sl->sl_mutex, NULL, MUTEX_DEFAULT, NULL);
619 mutex_destroy(&sl->sl_mutex);
634 mutex_enter(&sl->sl_mutex);
637 mutex_exit(&sl->sl_mutex);
650 mutex_enter(&sl->sl_mutex);
653 mutex_exit(&sl->sl_mutex);
666 mutex_enter(&sl->sl_mutex);
672 mutex_exit(&sl->sl_mutex);
688 mutex_enter(&sl->sl_mutex);
698 mutex_exit(&sl->sl_mutex);
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dsoftmac_impl.h68 kmutex_t sl_mutex; member in struct:softmac_lower_s
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kproto.h842 #define smb_slist_enter(sl) mutex_enter(&(sl)->sl_mutex)
H A Dsmb_ktypes.h395 kmutex_t sl_mutex; member in struct:smb_slist

Completed in 104 milliseconds