HelenOS sources

stack              41 kernel/arch/abs32le/include/arch/context.h #define context_set(ctx, pc, stack, size) \
stack              42 kernel/arch/abs32le/include/arch/context.h 	context_set_generic(ctx, pc, stack, size)
stack              61 kernel/arch/abs32le/include/arch/istate.h 	uint32_t stack[];
stack              47 kernel/arch/amd64/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              50 kernel/arch/amd64/include/arch/context.h 		(c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              50 kernel/arch/amd64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              51 kernel/arch/amd64/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV];
stack              58 kernel/arch/amd64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              59 kernel/arch/amd64/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack              47 kernel/arch/arm32/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              50 kernel/arch/arm32/include/arch/context.h 		(c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              49 kernel/arch/arm32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              51 kernel/arch/arm32/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV];
stack              57 kernel/arch/arm32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              59 kernel/arch/arm32/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack              46 kernel/arch/arm64/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              49 kernel/arch/arm64/include/arch/context.h 		(c)->sp = ((uint64_t) (stack)) + (size) - SP_DELTA; \
stack              49 kernel/arch/arm64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              51 kernel/arch/arm64/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV];
stack              57 kernel/arch/arm64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              59 kernel/arch/arm64/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack              51 kernel/arch/ia32/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              54 kernel/arch/ia32/include/arch/context.h 		(c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              50 kernel/arch/ia32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              51 kernel/arch/ia32/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV];
stack              57 kernel/arch/ia32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              58 kernel/arch/ia32/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack              54 kernel/arch/ia64/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              57 kernel/arch/ia64/include/arch/context.h 		(c)->bsp = ((uintptr_t) stack) + ALIGN_UP((size / 2), REGISTER_STACK_ALIGNMENT); \
stack              60 kernel/arch/ia64/include/arch/context.h 		(c)->sp = ((uintptr_t) stack) + ALIGN_UP((size / 2), STACK_ALIGNMENT) - SP_DELTA; \
stack              47 kernel/arch/mips32/include/arch/context.h #define context_set(ctx, pc, stack, size) \
stack              48 kernel/arch/mips32/include/arch/context.h     context_set_generic(ctx, pc, stack, size)
stack             212 kernel/arch/ppc32/include/arch/asm.h extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack, uintptr_t entry);
stack              42 kernel/arch/ppc32/include/arch/context.h #define context_set(ctx, pc, stack, size) \
stack              43 kernel/arch/ppc32/include/arch/context.h     context_set_generic(ctx, pc, stack, size)
stack              50 kernel/arch/ppc32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              51 kernel/arch/ppc32/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV];
stack              57 kernel/arch/ppc32/src/debug/stacktrace.c 	uint32_t *stack = (void *) ctx->fp;
stack              58 kernel/arch/ppc32/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack             140 kernel/arch/riscv64/include/arch/asm.h extern void userspace_asm(uintptr_t uspace_uarg, uintptr_t stack,
stack              42 kernel/arch/riscv64/include/arch/context.h #define context_set(context, pc, stack, size) \
stack              43 kernel/arch/riscv64/include/arch/context.h 	context_set_generic(context, pc, stack, size)
stack              45 kernel/arch/sparc64/include/arch/context.h #define context_set(c, _pc, stack, size) \
stack              48 kernel/arch/sparc64/include/arch/context.h 		(c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
stack              76 kernel/arch/sparc64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              78 kernel/arch/sparc64/src/debug/stacktrace.c 	*prev = stack[FRAME_OFFSET_FP_PREV] + STACK_BIAS;
stack              84 kernel/arch/sparc64/src/debug/stacktrace.c 	uint64_t *stack = (void *) ctx->fp;
stack              86 kernel/arch/sparc64/src/debug/stacktrace.c 	*ra = stack[FRAME_OFFSET_RA];
stack              43 kernel/generic/include/context.h #define context_set_generic(ctx, _pc, stack, size) \
stack              46 kernel/generic/include/context.h 		(ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              69 kernel/generic/include/cpu.h 	uint8_t *stack;
stack              83 kernel/generic/src/cpu/cpu.c 			cpus[i].local.stack = (uint8_t *) PA2KA(stack_phys);
stack             289 kernel/generic/src/main/main.c 	current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
stack             290 kernel/generic/src/main/main.c 	context_replace(scheduler_run, CPU_LOCAL->stack, STACK_SIZE);
stack             335 kernel/generic/src/main/main.c 	current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
stack             336 kernel/generic/src/main/main.c 	context_replace(main_ap_separated_stack, CPU_LOCAL->stack, STACK_SIZE);
stack             519 kernel/generic/src/proc/scheduler.c 		current_copy(CURRENT, (current_t *) CPU_LOCAL->stack);
stack             418 uspace/app/calculator/calculator.c static bool stack_push_value(list_t *stack, int64_t value, bool value_neg)
stack             432 uspace/app/calculator/calculator.c 	list_prepend(&item->link, stack);
stack             437 uspace/app/calculator/calculator.c static bool stack_push_operator(list_t *stack, operator_t operator)
stack             446 uspace/app/calculator/calculator.c 	list_prepend(&item->link, stack);
stack             451 uspace/app/calculator/calculator.c static bool stack_pop_value(list_t *stack, int64_t *value)
stack             453 uspace/app/calculator/calculator.c 	link_t *link = list_first(stack);
stack             469 uspace/app/calculator/calculator.c static bool stack_pop_operator(list_t *stack, operator_t *operator)
stack             471 uspace/app/calculator/calculator.c 	link_t *link = list_first(stack);
stack             487 uspace/app/calculator/calculator.c static void stack_cleanup(list_t *stack)
stack             489 uspace/app/calculator/calculator.c 	while (!list_empty(stack)) {
stack             490 uspace/app/calculator/calculator.c 		link_t *link = list_first(stack);
stack             542 uspace/app/calculator/calculator.c static void evaluate(list_t *stack, int64_t *value, parser_state_t *state,
stack             545 uspace/app/calculator/calculator.c 	while (!list_empty(stack)) {
stack             546 uspace/app/calculator/calculator.c 		if (!stack_pop_value(stack, value)) {
stack             552 uspace/app/calculator/calculator.c 		if (!list_empty(stack)) {
stack             554 uspace/app/calculator/calculator.c 			if (!stack_pop_operator(stack, &operator)) {
stack             561 uspace/app/calculator/calculator.c 			if (!stack_pop_value(stack, &value_a)) {
stack             573 uspace/app/calculator/calculator.c 			if (!stack_push_value(stack, *value, false)) {
stack             651 uspace/app/calculator/calculator.c 	list_t stack;
stack             652 uspace/app/calculator/calculator.c 	list_initialize(&stack);
stack             695 uspace/app/calculator/calculator.c 				if (!stack_push_value(&stack, value, value_neg)) {
stack             706 uspace/app/calculator/calculator.c 					evaluate(&stack, &value, &state, &error_type);
stack             710 uspace/app/calculator/calculator.c 					if (!stack_push_value(&stack, value, value_neg)) {
stack             716 uspace/app/calculator/calculator.c 				if (!stack_push_operator(&stack, operator)) {
stack             725 uspace/app/calculator/calculator.c 				if (!stack_push_value(&stack, value, value_neg)) {
stack             740 uspace/app/calculator/calculator.c 	evaluate(&stack, &value, &state, &error_type);
stack             741 uspace/app/calculator/calculator.c 	stack_cleanup(&stack);
stack              43 uspace/lib/c/arch/abs32le/include/libarch/fibril.h #define context_set(ctx, _pc, stack, size, ptls) \
stack              46 uspace/lib/c/arch/abs32le/include/libarch/fibril.h 		(ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              61 uspace/lib/c/arch/abs32le/include/libarch/istate.h 	uint32_t stack[];
stack              47 uspace/lib/c/arch/amd64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              50 uspace/lib/c/arch/amd64/include/libarch/fibril.h 		(c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
stack              59 uspace/lib/c/arch/arm32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              62 uspace/lib/c/arch/arm32/include/libarch/fibril.h 		(c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
stack              59 uspace/lib/c/arch/arm64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              62 uspace/lib/c/arch/arm64/include/libarch/fibril.h 		(c)->sp = ((uint64_t) (stack)) + (size) - SP_DELTA; \
stack              48 uspace/lib/c/arch/ia32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              51 uspace/lib/c/arch/ia32/include/libarch/fibril.h 		(c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
stack              55 uspace/lib/c/arch/ia64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, tls) \
stack              58 uspace/lib/c/arch/ia64/include/libarch/fibril.h 		(c)->bsp = ((uint64_t) stack) + \
stack              61 uspace/lib/c/arch/ia64/include/libarch/fibril.h 		(c)->sp = ((uint64_t) stack) + \
stack              52 uspace/lib/c/arch/mips32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              55 uspace/lib/c/arch/mips32/include/libarch/fibril.h 		(c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
stack              49 uspace/lib/c/arch/ppc32/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              52 uspace/lib/c/arch/ppc32/include/libarch/fibril.h 		(c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
stack              43 uspace/lib/c/arch/riscv64/include/libarch/fibril.h #define context_set(ctx, _pc, stack, size, ptls) \
stack              46 uspace/lib/c/arch/riscv64/include/libarch/fibril.h 		(ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
stack              45 uspace/lib/c/arch/sparc64/include/libarch/fibril.h #define context_set(c, _pc, stack, size, ptls) \
stack              48 uspace/lib/c/arch/sparc64/include/libarch/fibril.h 		(c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
stack              54 uspace/lib/c/generic/private/fibril.h 	void *stack;
stack             455 uspace/lib/c/generic/thread/fibril.c 	void *stack = srcf->clean_after_me->stack;
stack             456 uspace/lib/c/generic/thread/fibril.c 	assert(stack);
stack             457 uspace/lib/c/generic/thread/fibril.c 	as_area_destroy(stack);
stack             553 uspace/lib/c/generic/thread/fibril.c 	fibril->stack = as_area_create(AS_AREA_ANY, fibril->stack_size,
stack             556 uspace/lib/c/generic/thread/fibril.c 	if (fibril->stack == AS_MAP_FAILED) {
stack             566 uspace/lib/c/generic/thread/fibril.c 		.stack_base = fibril->stack,
stack             593 uspace/lib/c/generic/thread/fibril.c 	assert(fibril->stack);
stack             594 uspace/lib/c/generic/thread/fibril.c 	as_area_destroy(fibril->stack);
stack             106 uspace/lib/c/generic/thread/thread.c 	void *stack = as_area_create(AS_AREA_ANY, stack_size,
stack             109 uspace/lib/c/generic/thread/thread.c 	if (stack == AS_MAP_FAILED) {
stack             117 uspace/lib/c/generic/thread/thread.c 	uarg->uspace_stack = stack;
stack             131 uspace/lib/c/generic/thread/thread.c 		as_area_destroy(stack);
stack              81 uspace/lib/cpp/include/__bits/adt/stack.hpp             stack(const stack& other, const Alloc& alloc)
stack              86 uspace/lib/cpp/include/__bits/adt/stack.hpp             stack(stack&& other, const Alloc& alloc)
stack             131 uspace/lib/cpp/include/__bits/adt/stack.hpp             void swap(stack& other) // We cannot use c in the noexcept :/
stack             146 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator==(const stack<T, Container>& lhs,
stack             147 uspace/lib/cpp/include/__bits/adt/stack.hpp                     const stack<T, Container>& rhs)
stack             153 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator!=(const stack<T, Container>& lhs,
stack             154 uspace/lib/cpp/include/__bits/adt/stack.hpp                     const stack<T, Container>& rhs)
stack             160 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator<(const stack<T, Container>& lhs,
stack             161 uspace/lib/cpp/include/__bits/adt/stack.hpp                    const stack<T, Container>& rhs)
stack             167 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator<=(const stack<T, Container>& lhs,
stack             168 uspace/lib/cpp/include/__bits/adt/stack.hpp                     const stack<T, Container>& rhs)
stack             174 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator>(const stack<T, Container>& lhs,
stack             175 uspace/lib/cpp/include/__bits/adt/stack.hpp                    const stack<T, Container>& rhs)
stack             181 uspace/lib/cpp/include/__bits/adt/stack.hpp     bool operator>=(const stack<T, Container>& lhs,
stack             182 uspace/lib/cpp/include/__bits/adt/stack.hpp                     const stack<T, Container>& rhs)
stack             192 uspace/lib/cpp/include/__bits/adt/stack.hpp     void swap(stack<T, Container>& lhs, stack<T, Container>& rhs)
stack             181 uspace/lib/cpp/src/__bits/test/adaptors.cpp         std::stack<int> s{std::deque<int>{1}};
stack             351 uspace/lib/usbhid/src/hiddescriptor.c 	list_t stack;
stack             352 uspace/lib/usbhid/src/hiddescriptor.c 	list_initialize(&stack);
stack             464 uspace/lib/usbhid/src/hiddescriptor.c 				list_prepend (&new_report_item->link, &stack);
stack             468 uspace/lib/usbhid/src/hiddescriptor.c 				item_link = list_first(&stack);
HelenOS homepage, sources at GitHub