Searched defs:stack (Results 1 - 25 of 72) sorted by relevance

123

/arch/sh/include/asm/
H A Dstacktrace.h10 /* Generic stack tracer with callbacks */
15 int (*stack)(void *data, char *name); member in struct:stacktrace_ops
19 unsigned long *stack,
/arch/arm/include/asm/
H A Dsmp.h53 * This also gives us the initial stack to use for this CPU.
79 void *stack; member in struct:secondary_data
/arch/um/include/shared/skas/
H A Dmm_id.h14 unsigned long stack; member in struct:mm_id
/arch/ia64/kernel/
H A Dinit_task.c35 unsigned long stack[KERNEL_STACK_SIZE/sizeof (unsigned long)]; member in union:__anon1807
/arch/powerpc/kernel/
H A Dstacktrace.c20 * Save stack-backtrace addresses into a stack_trace buffer.
26 unsigned long *stack = (unsigned long *) sp; local
32 newsp = stack[0];
33 ip = stack[STACK_FRAME_LR_SAVE];
/arch/um/kernel/skas/
H A Dprocess.c13 int new_mm(unsigned long stack) argument
22 err = map_stub_pages(fd, STUB_CODE, STUB_DATA, stack);
80 return current->mm->context.id.stack;
H A Dmmu.c54 unsigned long stack = 0; local
58 stack = get_zeroed_page(GFP_KERNEL);
59 if (stack == 0)
63 to_mm->id.stack = stack;
68 ret = new_mm(stack);
78 to_mm->id.u.pid = copy_context_skas0(stack,
80 else to_mm->id.u.pid = start_userspace(stack);
98 if (to_mm->id.stack != 0)
99 free_page(to_mm->id.stack);
[all...]
/arch/um/kernel/
H A Dsysrq.c14 void show_trace(struct task_struct *task, unsigned long * stack) argument
18 if (!stack) {
19 stack = (unsigned long*) &stack;
24 while (((long) stack & (THREAD_SIZE-1)) != 0) {
25 addr = *stack;
28 (unsigned long) stack, addr);
32 stack++;
39 * stack dumps generator - this is used by arch-independent code.
44 unsigned long stack; local
57 unsigned long *stack; local
[all...]
/arch/arm/common/
H A Dfiq_glue_setup.c52 void *stack; local
53 stack = (void *)__get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER);
54 if (WARN_ON(!stack)) {
58 per_cpu(fiq_stack, cpu) = stack;
/arch/arm/lib/
H A Dbacktrace.S17 @ fp is 0 or stack frame
33 beq no_frame @ we have no stack frames
117 #define stack r6 define
119 .Ldumpstm: stmfd sp!, {instr, reg, stack, r7, lr}
120 mov stack, r0
134 ldr r3, [stack], #-4
143 ldmfd sp!, {instr, reg, stack, r7, pc}
/arch/unicore32/lib/
H A Dbacktrace.S16 @ fp is 0 or stack frame
36 beq no_frame @ we have no stack frames
117 #define stack v6 define
119 .Ldumpstm: stm.w (instr, reg, stack, v7, lr), [sp-]
120 mov stack, r0
136 ldw.w r3, [stack]+, #-4
154 201: ldm.w (instr, reg, stack, v7, pc), [sp]+
/arch/x86/um/
H A Dsysrq_32.c48 unsigned long *stack, unsigned long ebp)
61 while (valid_stack_ptr(tinfo, stack)) {
62 addr = *stack;
64 printk("%08lx: [<%08lx>]", (unsigned long) stack, addr);
68 stack++;
74 void show_trace(struct task_struct* task, unsigned long * stack) argument
80 if (!stack) {
81 stack = (unsigned long*) &stack;
82 printk("show_trace: got NULL stack, implici
47 print_context_stack(struct thread_info *tinfo, unsigned long *stack, unsigned long ebp) argument
[all...]
/arch/blackfin/kernel/
H A Ddumpstack.c1 /* Provide basic stack dumping functions
35 void show_stack(struct task_struct *task, unsigned long *stack) argument
44 * If we have been passed a specific stack, use that one otherwise
46 * use the stack of where the variable "stack" exists
49 if (stack == NULL) {
51 /* We know this is a kernel stack, so this is the start/end */
52 stack = (unsigned long *)task->thread.ksp;
53 endstack = (unsigned int *)(((unsigned int)(stack) & ~(THREAD_SIZE - 1)) + THREAD_SIZE);
55 /* print out the existing stack inf
165 unsigned long stack; local
[all...]
H A Dtraps.c88 * double faults if the stack has become corrupt
121 /* 0x03 - User Defined, userspace stack overflow */
452 /* Dump the current kernel stack */
463 unsigned long *stack; local
464 /* Dump the user space stack */
465 stack = (unsigned long *)rdusp();
467 show_stack(NULL, stack);
/arch/microblaze/kernel/
H A Dsys_microblaze.c43 asmlinkage long microblaze_clone(int flags, unsigned long stack, argument
46 if (!stack)
47 stack = regs->r1;
48 return do_fork(flags, stack, regs, 0, NULL, NULL);
/arch/x86/include/asm/
H A Dstacktrace.h18 unsigned long *stack,
27 unsigned long *stack, unsigned long bp,
33 unsigned long *stack, unsigned long bp,
37 /* Generic stack tracer with callbacks */
42 int (*stack)(void *data, char *name); member in struct:stacktrace_ops
47 unsigned long *stack, unsigned long bp,
86 unsigned long *stack, unsigned long bp, char *log_lvl);
94 /* The form of the top of the frame on the stack */
/arch/x86/oprofile/
H A Dbacktrace.c35 .stack = backtrace_stack,
57 /* frame pointers should strictly progress back up the stack
101 /* frame pointers should strictly progress back up the stack
115 unsigned long stack = kernel_stack_pointer(regs); local
117 dump_trace(NULL, regs, (unsigned long *)stack, 0,
/arch/cris/kernel/
H A Dtraps.c5 * mechanism, as well as some general stack/register dumping
38 show_trace(unsigned long *stack) argument
50 while (((long)stack & (THREAD_SIZE-1)) != 0) {
51 if (__get_user(addr, stack)) {
55 printk("Failing address 0x%lx\n", (unsigned long)stack);
58 stack++;
97 unsigned long *stack, addr; local
112 stack = sp;
114 printk("\nStack from %08lx:\n ", (unsigned long)stack);
116 if (((long)stack
[all...]
/arch/h8300/kernel/
H A Dtraps.c93 printk("(Possibly corrupted stack page??)\n");
123 unsigned long *stack, addr; local
129 stack = esp;
131 printk("Stack from %08lx:", (unsigned long)stack);
133 if (((unsigned long)stack & (THREAD_SIZE - 1)) == 0)
137 printk(" %08lx", *stack++);
142 stack = esp;
143 while (((unsigned long)stack & (THREAD_SIZE - 1)) != 0) {
144 addr = *stack++;
/arch/um/os-Linux/
H A Dhelper.c45 unsigned long stack, sp; local
48 stack = alloc_stack(0, __cant_sleep());
49 if (stack == 0)
67 sp = stack + UM_KERN_PAGE_SIZE - sizeof(void *);
109 free_stack(stack, 0);
116 unsigned long stack, sp; local
119 stack = alloc_stack(0, __cant_sleep());
120 if (stack == 0)
123 sp = stack + UM_KERN_PAGE_SIZE - sizeof(void *);
142 free_stack(stack,
[all...]
/arch/x86/kernel/
H A Ddumpstack_32.c21 unsigned long *stack, unsigned long bp,
29 if (!stack) {
32 stack = &dummy;
34 stack = (unsigned long *)task->thread.sp;
44 ((unsigned long)stack & (~(THREAD_SIZE - 1)));
45 bp = ops->walk_stack(context, stack, bp, ops, data, NULL, &graph);
47 stack = (unsigned long *)context->previous_esp;
48 if (!stack)
50 if (ops->stack(data, "IRQ") < 0)
61 unsigned long *stack; local
20 dump_trace(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data) argument
[all...]
H A Dirq_32.c34 /* Debugging check for stack overflow: is there less than 1KB free? */
47 printk(KERN_WARNING "low stack detected by irq handler\n");
50 panic("low stack detected by irq handler - check messages\n");
59 * per-CPU IRQ handling contexts (thread information and stack)
63 u32 stack[THREAD_SIZE/sizeof(u32)]; member in union:irq_ctx
69 static void call_on_stack(void *func, void *stack) argument
74 : "=b" (stack)
75 : "0" (stack),
90 * this is where we switch to the IRQ stack. However, if we are
91 * already using the IRQ stack (becaus
[all...]
/arch/c6x/kernel/
H A Dtraps.c72 unsigned long stack; local
74 show_stack(current, &stack);
363 static void show_trace(unsigned long *stack, unsigned long *endstack) argument
370 while (stack + 1 <= endstack) {
371 addr = *stack++;
393 void show_stack(struct task_struct *task, unsigned long *stack) argument
398 if (!stack) {
400 /* We know this is a kernel stack,
402 stack = (unsigned long *)thread_saved_ksp(task);
404 stack
[all...]
/arch/m32r/kernel/
H A Dtraps.c125 static void show_trace(struct task_struct *task, unsigned long *stack) argument
129 if (!stack)
130 stack = (unsigned long*)&stack;
133 while (!kstack_end(stack)) {
134 addr = *stack++;
145 unsigned long *stack; local
160 stack = sp;
162 if (kstack_end(stack))
166 printk("%08lx ", *stack
174 unsigned long stack; local
[all...]
/arch/mn10300/kernel/
H A Dptrace.c71 unsigned long stack; local
73 stack = (unsigned long) task->thread.uregs + offset;
74 *(unsigned long *) stack = data;

Completed in 926 milliseconds

123