/arch/score/include/asm/ |
H A D | thread_info.h | 25 * - this struct shares the supervisor stack pages 67 #define init_stack (init_thread_union.stack)
|
/arch/um/drivers/ |
H A D | chan_user.h | 44 struct tty_port *port, unsigned long stack);
|
/arch/um/os-Linux/skas/ |
H A D | process.c | 128 * the stub stack page. We just have to copy it. 198 static int userspace_tramp(void *stack) argument 230 if (stack != NULL) { 231 fd = phys_mapping(to_phys(stack), &offset); 236 printk(UM_KERN_ERR "mapping segfault stack " 243 if (!ptrace_faultinfo && (stack != NULL)) { 273 void *stack; local 277 stack = mmap(NULL, UM_KERN_PAGE_SIZE, 280 if (stack == MAP_FAILED) { 287 sp = (unsigned long) stack 579 map_stub_pages(int fd, unsigned long code, unsigned long data, unsigned long stack) argument 635 new_thread(void *stack, jmp_buf *buf, void (*handler)(void)) argument 660 start_idle_thread(void *stack, jmp_buf *switch_buf) argument [all...] |
/arch/unicore32/kernel/ |
H A D | setup.c | 48 struct stack { struct 54 static struct stack stacks[NR_CPUS]; 109 struct stack *stk = &stacks[cpu]; 125 "I" (offsetof(struct stack, irq[0])), 127 "I" (offsetof(struct stack, abt[0])), 129 "I" (offsetof(struct stack, und[0])),
|
/arch/m68k/ifpsp060/ |
H A D | fskeleton.S | 72 | for enabled overflow conditions. The exception stack frame is an overflow 73 | stack frame. The FP state frame holds the EXCEPTIONAL OPERAND. 91 | for enabled underflow conditions. The exception stack frame is an underflow 92 | stack frame. The FP state frame holds the EXCEPTIONAL OPERAND. 109 | for enabled operand error exceptions. The exception stack frame is an operand error 110 | stack frame. The FP state frame holds the source operand of the faulting 128 | for enabled signalling NaN exceptions. The exception stack frame is a signalling NaN 129 | stack frame. The FP state frame holds the source operand of the faulting 147 | for enabled divide-by-zero exceptions. The exception stack frame is a divide-by-zero 148 | stack fram [all...] |
/arch/mn10300/kernel/ |
H A D | traps.c | 232 * show a stack trace from the specified stack pointer 236 unsigned long bottom, stack, addr, fp, raslot; local 240 //stack = (unsigned long)sp; 241 asm("mov sp,%0" : "=a"(stack)); 245 bottom = (stack + THREAD_SIZE) & ~(THREAD_SIZE - 1); 246 for (; stack < bottom; stack += sizeof(addr)) { 247 addr = *(unsigned long *)stack; 248 if (stack 277 unsigned long *stack; local [all...] |
/arch/powerpc/mm/ |
H A D | slb.c | 112 /* Update stack entry; others don't change */ 119 * the stack between the slbia and rebolting it. */ 124 /* Slot 2 - kernel stack */ 193 unsigned long stack = KSTK_ESP(tsk); local 199 * user memory (to get a stack trace) and possible cause an SLB miss 235 if (is_kernel_addr(pc) || is_kernel_addr(stack) || 241 if (!esids_match(pc, stack)) 242 slb_allocate(stack); 245 !esids_match(stack, exec_base)) 320 /* For the boot cpu, we're running on the stack i [all...] |
/arch/openrisc/kernel/ |
H A D | process.c | 100 return (unsigned long)user_regs(t->stack)->pc; 116 * @usp: user stack pointer or fn for kernel thread 121 * At the top of a newly initialized kernel stack are two stacked pt_reg 157 /* Locate userspace context on stack... */ 182 * _switch wants the kernel stack page in pt_regs->sp so that it 231 new_ti = new->stack; 232 old_ti = old->stack;
|
/arch/parisc/kernel/ |
H A D | process.c | 189 void *stack = task_stack_page(p); local 208 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE; 231 cregs->ksp = (unsigned long)stack + THREAD_SZ_ALGN + FRAME_SIZE;
|
/arch/s390/kernel/ |
H A D | head31.S | 28 # Setup stack 34 st %r15,__LC_KERNEL_STACK # set end of kernel stack 61 .long 0 # cr15: linkage stack operations
|
H A D | kprobes.c | 216 * previous kprobe is stored in kcb->prev_kprobe. A stack of up to 399 * other calls deeper on the call stack 425 * other calls deeper on the call stack 624 unsigned long stack; local 632 /* r15 is the stack pointer */ 633 stack = (unsigned long) regs->gprs[15]; 635 memcpy(kcb->jprobes_stack, (void *) stack, MIN_STACK_SIZE(stack)); 647 unsigned long stack; local 649 stack [all...] |
/arch/x86/ |
H A D | Makefile | 29 $(call cc-option, -fno-stack-protector) \ 30 $(call cc-option, -mpreferred-stack-boundary=2) 57 # prevent gcc from keeping the stack 16 byte aligned 58 KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=2) 61 # a lot more stack due to the lack of sharing of stacklots: 84 # Use -mpreferred-stack-boundary=3 if supported. 85 KBUILD_CFLAGS += $(call cc-option,-mpreferred-stack-boundary=3) 110 # Make sure compiler does not have buggy stack-protector support. 112 cc_has_sp := $(srctree)/scripts/gcc-x86_$(BITS)-has-stack-protector.sh 114 $(warning stack [all...] |
/arch/m68k/kernel/ |
H A D | entry.S | 87 movel %sp,%sp@- | stack frame pointer argument 95 movel %sp,%sp@- | stack frame pointer argument 126 movel %sp,%sp@- /* stack frame pointer argument */ 232 | kernel stack, otherwise stack overflow can occur during 283 movel %d0,%sp@- | put vector # on stack 286 addql #8,%sp | pop parameters off stack 300 movel %d0,%sp@- | put vector # on stack 302 addql #8,%sp | pop parameters off stack 335 /* save non-scratch registers on stack */ [all...] |
/arch/sh/kernel/ |
H A D | ptrace_32.c | 40 * This routine will get a word off of the process kernel stack. 44 unsigned char *stack; local 46 stack = (unsigned char *)task_pt_regs(task); 47 stack += offset; 48 return (*((int *)stack)); 52 * This routine will put a word on the process kernel stack. 57 unsigned char *stack; local 59 stack = (unsigned char *)task_pt_regs(task); 60 stack += offset; 61 *(unsigned long *) stack [all...] |
H A D | ptrace_64.c | 56 * This routine will get a word from the user area in the process kernel stack. 60 unsigned char *stack; local 62 stack = (unsigned char *)(task->thread.uregs); 63 stack += offset; 64 return (*((int *)stack)); 96 * This routine will put a word into the user area in the process kernel stack. 101 unsigned char *stack; local 103 stack = (unsigned char *)(task->thread.uregs); 104 stack += offset; 105 *(unsigned long *) stack [all...] |
/arch/tile/gxio/ |
H A D | mpipe.c | 161 unsigned int stack, 171 mem_flags, stack, 176 /* Save the stack. */ 177 context->__stacks.stacks[buffer_size_enum] = stack; 262 int stack = 255; local 313 stack = maybe; 314 rule->stacks.stacks[i] = stack; 317 if (stack == 255) 323 rule->stacks.stacks[i] = stack; 160 gxio_mpipe_init_buffer_stack(gxio_mpipe_context_t *context, unsigned int stack, gxio_mpipe_buffer_size_enum_t buffer_size_enum, void *mem, size_t mem_size, unsigned int mem_flags) argument
|
/arch/tile/include/arch/ |
H A D | mpipe.h | 107 * buffer stack manager. On an MMIO load, this pops a buffer descriptor from 108 * the top of stack if one is available. On an MMIO store, this pushes a 109 * buffer to the stack. The value read or written is described in 122 uint_reg_t stack : 5; member in struct:__anon2826::__anon2827 127 * accessed. For the buffer stack manager region, this field must be 6. 142 uint_reg_t stack : 5; 153 * buffer stack manager. On an MMIO load, this pops a buffer descriptor from 154 * the top of stack if one is available. On an MMIO store, this pushes a 155 * buffer to the stack. The address of the MMIO operation is described in 174 * Index of the buffer stack t [all...] |
/arch/arc/kernel/ |
H A D | head.S | 98 ; setup stack (fp, sp) 101 ; tsk->thread_info is really a PAGE, whose bottom hoists stack 102 GET_TSK_STACK_BASE r9, sp ; r9 = tsk, sp = stack base(output) 122 ; setup stack (fp, sp) 125 ; set it's stack base to tsk->thread_info bottom
|
/arch/arm/include/asm/ |
H A D | smp.h | 67 void *stack; member in struct:secondary_data 103 * This also gives us the initial stack to use for this CPU.
|
/arch/arm64/include/asm/ |
H A D | thread_info.h | 69 #define init_stack (init_thread_union.stack) 72 * how to get the current stack pointer from C
|
/arch/arm64/kernel/vdso/ |
H A D | vdso.lds.S | 62 *(.note.GNU-stack)
|
/arch/avr32/include/asm/ |
H A D | thread_info.h | 50 #define init_stack (init_thread_union.stack) 54 * We do the usual trick and use the lower end of the stack for this
|
/arch/blackfin/include/asm/ |
H A D | bfrom.h | 38 /* We need a dedicated function since we need to screw with the stack pointer 39 * when resetting. The on-chip ROM will save/restore registers on the stack 40 * when doing a system reset, so the stack cannot be outside of the chip. 52 "sp = %[stack];" 58 [stack] "p"(new_stack)
|
H A D | thread_info.h | 17 /* Thread Align Mask to reach to the top of the stack 23 * Size of kernel stack for each process. This must be a power of 2... 66 #define init_stack (init_thread_union.stack) 68 /* Given a task stack pointer, you can find its corresponding
|
/arch/cris/arch-v10/lib/ |
H A D | csumcpfruser.S | 21 It is conveniently located on the stack, so the normal function body 32 ;; Here from the movem loop; restore stack.
|