Lines Matching refs:curthread

53 	ulwp_t *self = curthread;  in rwl_entry()
142 ulwp_t *self = curthread; in rw_read_held()
185 ulwp_t *self = curthread; in rw_write_held()
205 ulwp_t *self = curthread; in rwlock_init()
242 ulwp_t *self = curthread; in rwlock_destroy()
289 ulwp_t *self = curthread; in read_lock_try()
310 ulwp_t *self = curthread; in read_unlock_try()
333 ulwp_t *self = curthread; in write_lock_try()
356 ulwp_t *self = curthread; in write_unlock_try()
480 ulwp_t *self = curthread; in rw_queue_release()
584 ulwp_t *self = curthread; in rwlock_lock()
713 ulwp_t *self = curthread; in rw_rdlock_impl()
775 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_rdlock()
782 enter_critical(curthread); in lrw_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()
851 ulwp_t *self = curthread; in rw_wrlock_impl()
906 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_wrlock()
913 enter_critical(curthread); in lrw_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()
982 ulwp_t *self = curthread; in rw_tryrdlock()
988 ASSERT(!curthread->ul_critical || curthread->ul_bindflags); in rw_tryrdlock()
1040 ulwp_t *self = curthread; in rw_trywrlock()
1082 ulwp_t *self = curthread; in rw_unlock()
1173 exit_critical(curthread); in lrw_unlock()