Home | History | Annotate | Download | only in runtime

Lines Matching full:sched

258 // Fn must never return. It should gogo(&g->sched)
261 // Save caller state in g->sched.
322 // save our state in g->sched. Pretend to
400 // Set g->sched to context in f.
564 // Save state of caller into g->sched. Smashes R11.
670 // Set m->sched.sp = SP, so that if a panic happens
675 // the same SP back to m->sched.sp. That seems redundant,
677 // restore the g->sched.sp from the stack location
687 // Save current m->g0->sched.sp on stack and then set it to SP.
688 // Save current sp in m->g0->sched.sp in preparation for
690 // NOTE: unwindm knows that the saved g->sched.sp is at 4(R13) aka savedsp-8(SP).
699 // save that information (m->curg->sched) so we can restore it.
700 // We can restore m->curg->sched.sp easily, because calling
702 // To save m->curg->sched.pc, we push it onto the stack.
722 // Restore g->sched (== m->curg->sched) from saved values.
728 // Switch back to m->g0's stack and restore m->g0->sched.sp.
729 // (Unlike m->curg, the g0 goroutine never uses sched.pc,