Searched refs:switch_buf (Results 1 – 5 of 5) sorted by relevance
30 jmp_buf switch_buf; member108 #define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
91 switch_threads(&from->thread.switch_buf, &to->thread.switch_buf); in __switch_to()184 new_thread(task_stack_page(p), &p->thread.switch_buf, handler); in copy_thread()374 sp = p->thread.switch_buf->JB_SP; in __get_wchan()
643 int start_idle_thread(void *stack, jmp_buf *switch_buf) in start_idle_thread() argument660 (*switch_buf)[0].JB_IP = (unsigned long) uml_finishsetup; in start_idle_thread()661 (*switch_buf)[0].JB_SP = (unsigned long) stack + in start_idle_thread()679 longjmp(*switch_buf, 1); in start_idle_thread()
46 &init_task.thread.switch_buf); in start_uml()
292 extern int start_idle_thread(void *stack, jmp_buf *switch_buf);