/arch/x86/purgatory/ |
H A D | stack.S | 2 * purgatory: stack 10 /* A stack for the loaded kernel. 15 .globl stack, stack_end 17 stack: label
|
/arch/um/include/asm/ |
H A D | sysrq.h | 5 extern void show_trace(struct task_struct* task, unsigned long *stack);
|
/arch/um/include/shared/skas/ |
H A D | mm_id.h | 14 unsigned long stack; member in struct:mm_id
|
H A D | skas.h | 15 extern int user_thread(unsigned long stack, int flags); 18 extern int new_mm(unsigned long stack);
|
/arch/sh/include/asm/ |
H A D | stacktrace.h | 10 /* Generic stack tracer with callbacks */ 15 int (*stack)(void *data, char *name); member in struct:stacktrace_ops 19 unsigned long *stack,
|
/arch/blackfin/kernel/ |
H A D | dumpstack.c | 1 /* 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...] |
/arch/um/kernel/ |
H A D | sysrq.c | 30 void show_stack(struct task_struct *task, unsigned long *stack) argument 32 unsigned long *sp = stack, bp = 0; 38 " aborting stack trace!\n"); 46 if (!stack) 50 stack = sp; 52 if (kstack_end(stack)) 56 pr_cont(" %08lx", *stack++);
|
/arch/x86/kernel/ |
H A D | dumpstack_64.c | 34 static unsigned long *in_exception_stack(unsigned cpu, unsigned long stack, argument 41 * 'stack' is in one of them: 46 * Is 'stack' above this exception frame's end? 49 if (stack >= end) 52 * Is 'stack' above this exception frame's start address? 55 if (stack >= end - EXCEPTION_STKSZ) { 58 * stack once. If it comes up for the second time 69 * If this is a debug stack, and if it has a larger size than 70 * the usual exception stacks, then 'stack' might still 71 * be within the lower portion of the debug stack 100 in_irq_stack(unsigned long *stack, unsigned long *irq_stack, unsigned long *irq_stack_end) argument 117 analyze_stack(int cpu, struct task_struct *task, unsigned long *stack, unsigned long **stack_end, unsigned long *irq_stack, unsigned *used, char **id) argument 151 dump_trace(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data) argument 254 unsigned long *stack; local [all...] |
H A D | dumpstack_32.c | 27 static void *is_hardirq_stack(unsigned long *stack, int cpu) argument 31 return is_irq_stack(stack, irq); 34 static void *is_softirq_stack(unsigned long *stack, int cpu) argument 38 return is_irq_stack(stack, irq); 42 unsigned long *stack, unsigned long bp, 52 if (!stack) { 55 stack = &dummy; 57 stack = (unsigned long *)task->thread.sp; 67 end_stack = is_hardirq_stack(stack, cpu); 69 end_stack = is_softirq_stack(stack, cp 41 dump_trace(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data) argument 97 unsigned long *stack; local [all...] |
H A D | dumpstack.c | 75 * process stack 76 * interrupt stack 77 * severe exception (double fault, nmi, stack fault, debug, mce) hardware stack 95 unsigned long *stack, unsigned long bp, 101 while (valid_stack_ptr(tinfo, stack, sizeof(*stack), end)) { 104 addr = *stack; 106 if ((unsigned long) stack == bp + sizeof(long)) { 115 stack 94 print_context_stack(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) argument 122 print_context_stack_bp(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) argument 169 show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, char *log_lvl) argument 176 show_trace(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp) argument 185 unsigned long stack; local [all...] |
/arch/x86/lguest/ |
H A D | Makefile | 2 CFLAGS_boot.o := $(call cc-option, -fno-stack-protector)
|
/arch/um/os-Linux/skas/ |
H A D | mem.c | 27 unsigned long *stack) 29 if (stack == NULL) { 30 stack = (unsigned long *) mm_idp->stack + 2; 31 *stack = 0; 33 return stack; 81 * beginning of the stack: 85 ret = *((unsigned long *) mm_idp->stack); 86 offset = *((unsigned long *) mm_idp->stack + 1); 88 data = (unsigned long *)(mm_idp->stack 26 check_init_stack(struct mm_id * mm_idp, unsigned long *stack) argument 121 unsigned long *stack = check_init_stack(mm_idp, *addr); local 149 unsigned long *stack; local [all...] |
/arch/cris/kernel/ |
H A D | traps.c | 5 * 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/um/kernel/skas/ |
H A D | mmu.c | 54 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/powerpc/kernel/ |
H A D | stacktrace.c | 20 * 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/x86/include/asm/ |
H A D | stacktrace.h | 18 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/um/os-Linux/ |
H A D | helper.c | 45 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/frv/lib/ |
H A D | memcpy.S | 20 # - NOTE: must not use any stack. exception detection performs function return
|
H A D | memset.S | 20 # - NOTE: must not use any stack. exception detection performs function return
|
/arch/unicore32/boot/compressed/ |
H A D | vmlinux.lds.in | 58 .stack : { *(.stack) }
|
/arch/unicore32/include/asm/ |
H A D | processor.h | 55 unsigned long *stack = (unsigned long *)sp; \ 60 regs->UCreg_02 = stack[2]; /* r2 (envp) */ \ 61 regs->UCreg_01 = stack[1]; /* r1 (argv) */ \ 62 regs->UCreg_00 = stack[0]; /* r0 (argc) */ \
|
/arch/x86/power/ |
H A D | Makefile | 2 # itself be stack-protected 3 nostackp := $(call cc-option, -fno-stack-protector)
|
/arch/openrisc/kernel/ |
H A D | traps.c | 18 * mechanism, as well as some general stack/register dumping 49 void show_trace(struct task_struct *task, unsigned long *stack) argument 55 ((unsigned long)stack & (~(THREAD_SIZE - 1))); 57 while (valid_stack_ptr(context, stack)) { 58 addr = *stack++; 68 /* displays a short stack trace */ 71 unsigned long addr, *stack; local 77 stack = esp; 81 if (kstack_end(stack)) 83 if (__get_user(addr, stack)) { 176 unsigned long addr, stack = regs->sp; local [all...] |
/arch/powerpc/include/asm/ |
H A D | xics.h | 93 unsigned char stack[MAX_NUM_PRIORITIES]; member in struct:xics_cppr 107 os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; 109 os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; 119 return os_cppr->stack[--os_cppr->index]; 127 * just one cppr value on the stack 131 os_cppr->stack[0] = cppr; 138 return os_cppr->stack[os_cppr->index];
|
/arch/mips/boot/compressed/ |
H A D | head.S | 36 PTR_LA sp, (.stack + 8192) /* stack address */ 56 .comm .stack,4096*2,4
|