Home
last modified time | relevance | path

Searched refs:tm_context (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/tools/KSE/ksetest/
H A Dkse_threads_test.c211 getcontext(&tm->tm_context); in init_uts()
224 tm->tm_context.uc_stack.ss_sp = p - MAIN_STACK_SIZE; in init_uts()
225 tm->tm_context.uc_stack.ss_size = MAIN_STACK_SIZE; in init_uts()
427 signalcontext(&data->runq->head->tm_context, in uts()
442 signalcontext(&p->tm_context, 1, foof); in uts()
452 p->tm_context.uc_mcontext.mc_eip, progress); in uts()
472 getcontext(&tm->tm_context); in thread_create()
474 tm->tm_context.uc_stack.ss_sp = p; in thread_create()
475 tm->tm_context.uc_stack.ss_size = THREAD_STACK_SIZE; in thread_create()
476 makecontext(&tm->tm_context, func, 2, arg); in thread_create()
[all …]
/freebsd-12.1/tools/KSE/rr/
H A Drr.c155 getcontext(&tm->tm_context); in init_uts()
167 pfmt("eip -> 0x%x\n", tm->tm_context.uc_mcontext.mc_eip); in init_uts()
168 tm->tm_context.uc_stack.ss_sp = p - MAIN_STACK_SIZE; in init_uts()
169 tm->tm_context.uc_stack.ss_size = MAIN_STACK_SIZE; in init_uts()
362 p->tm_context.uc_mcontext.mc_eip, progress); in uts()
383 getcontext(&tm->tm_context); in thread_create()
385 tm->tm_context.uc_stack.ss_sp = p; in thread_create()
386 tm->tm_context.uc_stack.ss_size = THREAD_STACK_SIZE; in thread_create()
387 makecontext(&tm->tm_context, func, 1, arg); in thread_create()
400 tm->tm_context.uc_link = &tm2->tm_context; in thread_start()
/freebsd-12.1/lib/libthread_db/
H A Dlibpthread_db.c715 pt_ucontext_to_fxsave(&tmbx.tm_context, fxsave); in pt_thr_getxmmregs()
757 pt_ucontext_to_fpreg(&tmbx.tm_context, fpregs); in pt_thr_getfpregs()
798 pt_ucontext_to_reg(&tmbx.tm_context, gregs); in pt_thr_getgregs()
847 pt_fxsave_to_ucontext(fxsave, &tmbx.tm_context); in pt_thr_setxmmregs()
895 pt_fpreg_to_ucontext(fpregs, &tmbx.tm_context); in pt_thr_setfpregs()
942 pt_reg_to_ucontext(gregs, &tmbx.tm_context); in pt_thr_setgregs()
1039 pt_ucontext_to_reg(&tmbx.tm_context, &regs); in pt_thr_sstep()
1042 pt_reg_to_ucontext(&regs, &tmbx.tm_context); in pt_thr_sstep()
H A Dkse.h58 ucontext_t tm_context; /* User and machine context */ member