Searched refs:switch_buf (Results 1 – 5 of 5) sorted by relevance
30 jmp_buf switch_buf; member115 #define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
88 switch_threads(&from->thread.switch_buf, in __switch_to()89 &to->thread.switch_buf); in __switch_to()189 new_thread(task_stack_page(p), &p->thread.switch_buf, handler); in copy_thread()399 sp = p->thread.switch_buf->JB_SP; in get_wchan()
72 &init_task.thread.switch_buf); in start_uml()
660 int start_idle_thread(void *stack, jmp_buf *switch_buf) in start_idle_thread() argument677 (*switch_buf)[0].JB_IP = (unsigned long) new_thread_handler; in start_idle_thread()678 (*switch_buf)[0].JB_SP = (unsigned long) stack + in start_idle_thread()696 longjmp(*switch_buf, 1); in start_idle_thread()
269 extern int start_idle_thread(void *stack, jmp_buf *switch_buf);