HelenOS sources
current_copy 104 kernel/generic/include/arch.h extern void current_copy(current_t *, current_t *);
current_copy 289 kernel/generic/src/main/main.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
current_copy 335 kernel/generic/src/main/main.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
current_copy 512 kernel/generic/src/proc/scheduler.c current_copy(CURRENT, (current_t *) new_thread->kstack);
current_copy 519 kernel/generic/src/proc/scheduler.c current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
current_copy 563 kernel/generic/src/proc/scheduler.c current_copy(CURRENT, (current_t *) THREAD->kstack);
HelenOS homepage, sources at GitHub