Home
last modified time | relevance | path

Searched refs:lwptp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dlwp_timer.c56 lwp_timer_t *lwptp = arg; in lwp_timer_timeout() local
57 kthread_t *t = lwptp->lwpt_thread; in lwp_timer_timeout()
66 if (lwptp->lwpt_timecheck == timechanged && in lwp_timer_timeout()
67 (lwptp->lwpt_rqtime.tv_sec > now.tv_sec || in lwp_timer_timeout()
68 (lwptp->lwpt_rqtime.tv_sec == now.tv_sec && in lwp_timer_timeout()
69 lwptp->lwpt_rqtime.tv_nsec > now.tv_nsec))) { in lwp_timer_timeout()
70 lwptp->lwpt_imm_timeout = 0; in lwp_timer_timeout()
71 delta = lwptp->lwpt_rqtime; in lwp_timer_timeout()
73 lwptp->lwpt_id = timeout_generic(CALLOUT_REALTIME, in lwp_timer_timeout()
74 lwp_timer_timeout, lwptp, ts2hrt(&delta), nsec_per_tick, in lwp_timer_timeout()
[all …]
H A Dlwp_sobj.c705 lwp_upimutex_lock(lwp_mutex_t *lp, uint8_t type, int try, lwp_timer_t *lwptp) in lwp_upimutex_lock() argument
796 if ((error = lwptp->lwpt_time_error) != 0) { in lwp_upimutex_lock()
805 if (lwptp->lwpt_tsp != NULL) { in lwp_upimutex_lock()
813 (void) lwp_timer_enqueue(lwptp); in lwp_upimutex_lock()
846 &lwp_sobj_pi_ops, &upibp->upib_lock, lwptp); in lwp_upimutex_lock()
/titanic_41/usr/src/uts/common/os/
H A Dturnstile.c407 kmutex_t *mp, lwp_timer_t *lwptp) in turnstile_block() argument
519 if (lwptp->lwpt_id != 0) in turnstile_block()
520 (void) lwp_timer_dequeue(lwptp); in turnstile_block()
615 if (lwptp->lwpt_id != 0) { in turnstile_block()
623 atomic_cas_uint(&lwptp->lwpt_imm_timeout, 0, 0); in turnstile_block()
634 tim = lwp_timer_dequeue(lwptp); in turnstile_block()