Lines Matching defs:ts64
326 x86_thread_state64_t *ts64 = &state64;
328 ts64->rip = (uint64_t)p->p_threadstart;
329 ts64->rdi = (uint64_t)th_pthread;
330 ts64->rsi = (uint64_t)(th_thport);
331 ts64->rdx = (uint64_t)user_func;
332 ts64->rcx = (uint64_t)user_funcarg;
333 ts64->r8 = (uint64_t)user_stacksize;
334 ts64->r9 = (uint64_t)uap->flags;
338 ts64->rsp = (uint64_t)(th_stack - C_64_REDZONE_LEN);
341 if (!is_useraddr64_canonical(ts64->rsp) ||
342 !is_useraddr64_canonical(ts64->rip)) {
347 thread_set_wq_state64(th, (thread_state_t)ts64);
2263 x86_thread_state64_t *ts64 = &state64;
2265 ts64->rip = (uint64_t)p->p_wqthread;
2266 ts64->rdi = (uint64_t)(tl->th_stackaddr + PTH_DEFAULT_STACKSIZE + PTH_DEFAULT_GUARDSIZE);
2267 ts64->rsi = (uint64_t)(tl->th_thport);
2268 ts64->rdx = (uint64_t)(tl->th_stackaddr + PTH_DEFAULT_GUARDSIZE);
2269 ts64->rcx = (uint64_t)0;
2270 ts64->r8 = (uint64_t)flags;
2271 ts64->r9 = (uint64_t)0;
2276 ts64->rsp = (uint64_t)((tl->th_stackaddr + PTH_DEFAULT_STACKSIZE + PTH_DEFAULT_GUARDSIZE) - C_64_REDZONE_LEN);
2278 thread_set_wq_state64(th, (thread_state_t)ts64);