Lines Matching refs:ts
225 struct turnstile *ts; in psynch_wait_prepare() local
229 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_prepare()
232 turnstile_update_inheritor(ts, owner, in psynch_wait_prepare()
237 wr = waitq_assert_wait64_leeway(&ts->ts_waitq, (event64_t)kwq, in psynch_wait_prepare()
250 psynch_wait_update_complete(struct turnstile *ts) in psynch_wait_update_complete() argument
252 assert(ts); in psynch_wait_update_complete()
253 turnstile_update_inheritor_complete(ts, TURNSTILE_INTERLOCK_NOT_HELD); in psynch_wait_update_complete()
267 struct turnstile *ts; in psynch_wait_update_owner() local
269 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_update_owner()
272 turnstile_update_inheritor(ts, owner, in psynch_wait_update_owner()
274 turnstile_update_inheritor_complete(ts, TURNSTILE_INTERLOCK_HELD); in psynch_wait_update_owner()
289 struct turnstile *ts; in psynch_wait_wakeup() local
295 ts = turnstile_prepare(kwq, tstore, TURNSTILE_NULL, in psynch_wait_wakeup()
297 turnstile_update_inheritor(ts, th, in psynch_wait_wakeup()
300 kr = waitq_wakeup64_thread(&ts->ts_waitq, (event64_t)kwq, th, in psynch_wait_wakeup()
303 turnstile_update_inheritor_complete(ts, TURNSTILE_INTERLOCK_HELD); in psynch_wait_wakeup()