HelenOS sources

CURRENT            60 kernel/generic/include/arch.h 	((CURRENT->task) ? (CURRENT->task->container) : (DEFAULT_CONTAINER))
CURRENT            46 kernel/generic/include/cpu.h #define CPU                  (CURRENT->cpu)
CURRENT            52 kernel/generic/include/mm/as.h #define AS                   CURRENT->as
CURRENT            43 kernel/generic/include/preemption.h #define PREEMPTION_DISABLED    (PREEMPTION_INC <= CURRENT->preemption)
CURRENT            49 kernel/generic/include/preemption.h 		CURRENT->preemption += PREEMPTION_INC; \
CURRENT            58 kernel/generic/include/preemption.h 		CURRENT->preemption -= PREEMPTION_INC; \
CURRENT            62 kernel/generic/include/proc/task.h #define TASK                 CURRENT->task
CURRENT            52 kernel/generic/include/proc/thread.h #define THREAD              CURRENT->thread
CURRENT            96 kernel/generic/src/debug/panic.c 	printf("CURRENT=%p: ", CURRENT);
CURRENT            97 kernel/generic/src/debug/panic.c 	if (CURRENT != NULL) {
CURRENT            99 kernel/generic/src/debug/panic.c 		    " magic=%#" PRIx32 "\n", CURRENT->preemption,
CURRENT           100 kernel/generic/src/debug/panic.c 		    CURRENT->thread, CURRENT->task, CURRENT->cpu, CURRENT->as, CURRENT->magic);
CURRENT           102 kernel/generic/src/debug/panic.c 		if (CURRENT->thread != NULL)
CURRENT           103 kernel/generic/src/debug/panic.c 			printf("thread=\"%s\"\n", CURRENT->thread->name);
CURRENT           105 kernel/generic/src/debug/panic.c 		if (CURRENT->task != NULL)
CURRENT           106 kernel/generic/src/debug/panic.c 			printf("task=\"%s\"\n", CURRENT->task->name);
CURRENT           189 kernel/generic/src/main/main.c 	current_initialize(CURRENT);
CURRENT           289 kernel/generic/src/main/main.c 	current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CURRENT           318 kernel/generic/src/main/main.c 	current_initialize(CURRENT);
CURRENT           335 kernel/generic/src/main/main.c 	current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CURRENT           425 kernel/generic/src/proc/scheduler.c 	assert(CURRENT->mutex_locks == 0);
CURRENT           512 kernel/generic/src/proc/scheduler.c 		current_copy(CURRENT, (current_t *) new_thread->kstack);
CURRENT           519 kernel/generic/src/proc/scheduler.c 		current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
CURRENT           523 kernel/generic/src/proc/scheduler.c 	assert(CURRENT->mutex_locks == 0);
CURRENT           553 kernel/generic/src/proc/scheduler.c 		assert(CURRENT->mutex_locks == 0);
CURRENT           563 kernel/generic/src/proc/scheduler.c 		current_copy(CURRENT, (current_t *) THREAD->kstack);
CURRENT           571 kernel/generic/src/proc/scheduler.c 		assert(CURRENT->mutex_locks == 0);
CURRENT            62 kernel/generic/src/synch/irq_spinlock.c 	CURRENT->mutex_locks++;
CURRENT            67 kernel/generic/src/synch/irq_spinlock.c 	CURRENT->mutex_locks--;
HelenOS homepage, sources at GitHub