Lines Matching defs:ts
909 x86_thread_state32_t *ts = &state;
911 ts->eip = (int)p->p_threadstart;
912 ts->eax = (unsigned int)th_pthread;
913 ts->ebx = (unsigned int)th_thport;
914 ts->ecx = (unsigned int)user_func;
915 ts->edx = (unsigned int)user_funcarg;
916 ts->edi = (unsigned int)user_stacksize;
917 ts->esi = (unsigned int)uap->flags;
921 ts->esp = (int)((vm_offset_t)(th_stack-C_32_STK_ALIGN));
923 thread_set_wq_state32(th, (thread_state_t)ts);
2023 x86_thread_state32_t *ts = &state;
2025 ts->eip = (int)p->p_wqthread;
2026 ts->eax = (unsigned int)(tl->th_stackaddr + PTH_DEFAULT_STACKSIZE + PTH_DEFAULT_GUARDSIZE);
2027 ts->ebx = (unsigned int)tl->th_thport;
2028 ts->ecx = (unsigned int)(tl->th_stackaddr + PTH_DEFAULT_GUARDSIZE);
2029 ts->edx = (unsigned int)item;
2030 ts->edi = (unsigned int)reuse_thread;
2031 ts->esi = (unsigned int)0;
2035 ts->esp = (int)((vm_offset_t)((tl->th_stackaddr + PTH_DEFAULT_STACKSIZE + PTH_DEFAULT_GUARDSIZE) - C_32_STK_ALIGN));
2037 thread_set_wq_state32(th, (thread_state_t)ts);