HelenOS sources
context_swap 513 kernel/generic/src/proc/scheduler.c context_swap(&old_thread->saved_context, &new_thread->saved_context);
context_swap 520 kernel/generic/src/proc/scheduler.c context_swap(&THREAD->saved_context, &CPU_LOCAL->scheduler_context);
context_swap 566 kernel/generic/src/proc/scheduler.c context_swap(&CPU_LOCAL->scheduler_context, &THREAD->saved_context);
context_swap 495 uspace/lib/c/generic/thread/fibril.c context_swap(&srcf->ctx, &dstf->ctx);
context_swap 45 uspace/lib/c/include/context.h extern void context_swap(context_t *self, context_t *other);
context_swap 45 uspace/lib/posix/include/libc/context.h extern void context_swap(context_t *self, context_t *other);
HelenOS homepage, sources at GitHub