Home
last modified time | relevance | path

Searched refs:ul_critical (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Drwlock.c59 ASSERT((self->ul_critical + self->ul_sigdefer) != 0); in rwl_entry()
775 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_rdlock()
793 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_rwlock_relclockrdlock_np()
824 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_rwlock_clockrdlock()
906 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_wrlock()
924 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_rwlock_relclockwrlock_np()
955 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_rwlock_clockwrlock()
988 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_tryrdlock()
1045 ASSERT(!self->ul_critical || self->ul_bindflags); in rw_trywrlock()
H A Dsema.c203 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in sema_wait()
216 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in sema_relclockwait()
232 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in sema_clockwait()
267 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in sema_trywait()
H A Dscalls.c120 ASSERT(curthread->ul_critical == 0); in fork_lock_enter()
127 ASSERT(curthread->ul_critical == 0); in fork_lock_exit()
140 ASSERT(curthread->ul_critical == 0); in callout_lock_enter()
147 ASSERT(curthread->ul_critical == 0); in callout_lock_exit()
356 self->ul_critical | self->ul_sigdefer); \
416 self->ul_critical | self->ul_sigdefer); \
468 self->ul_critical | self->ul_sigdefer) != 0; in _cancel_prologue()
727 if (curthread->ul_critical == 0) in close()
H A Dsigaction.c250 ASSERT((self->ul_critical | self->ul_sigdefer | self->ul_cursig) == 0); in take_deferred_signal()
320 if ((self->ul_critical + self->ul_sigdefer) == 0) { in sigacthandler()
553 ASSERT(self->ul_critical + self->ul_sigdefer != 0); in setcontext()
738 ASSERT(self->ul_critical == 0); in do_sigcancel()
H A Dsynch.c962 self->ul_critical++; in unsleep_self()
976 self->ul_critical--; in unsleep_self()
1233 ASSERT(self->ul_preempt == 1 && self->ul_critical > 0); in preempt_unpark()
1235 (self->ul_curplease && self->ul_critical == 1)) { in preempt_unpark()
2323 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in mutex_lock()
2358 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_mutex_clocklock()
2389 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in pthread_mutex_relclocklock_np()
2422 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in mutex_trylock()
2859 self->ul_critical | self->ul_sigdefer) && in cancel_safe_mutex_unlock()
2997 ASSERT(!self->ul_critical || self->ul_bindflags); in pthread_spin_lock()
[all …]
H A Dthr.c891 ASSERT(self->ul_critical == 1); in _thrp_exit()
922 ASSERT(self->ul_critical == 0 && self->ul_preempt == 0); in _thrp_exit_common()
1870 if ((ulwp->ul_critical == 0 && ulwp->ul_rtld == 0) || in safe_suspend()
2203 ASSERT(self->ul_critical == 0); in do_exit_critical()
2218 self->ul_critical++; in do_exit_critical()
2229 self->ul_critical--; in do_exit_critical()
2244 ASSERT(self->ul_critical == 0); in do_exit_critical()
2309 int level = self->ul_critical; in _ti_critical()
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_uberdata.h617 volatile int ul_critical; /* non-zero == in a critical region */ member
1084 int ul_critical; /* non-zero == in a critical region */ member
1341 #define enter_critical(self) (self->ul_critical++)
1346 (void) (self->ul_critical--, \
1347 ((self->ul_curplease && self->ul_critical == 0)? \
1361 self->ul_curplease && self->ul_critical == 0)? \
1404 (ASSERT((self)->ul_critical + (self)->ul_sigdefer != 0), 0) : \
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c565 ulwp.ul_critical, in d_ulwp()