Searched refs:stack (Results 176 - 200 of 318) sorted by relevance

1234567891011>>

/arch/x86/um/
H A Dptrace_64.c223 int err, n, cpu = ((struct thread_info *) child->stack)->cpu;
240 int n, cpu = ((struct thread_info *) child->stack)->cpu;
/arch/arm/common/
H A DbL_switcher.c94 * expecting. This is why we need stack isolation.
117 * piece of our thread's stack space which should be fairly lightly used.
119 * at the very bottom of the stack, aligned to a cache line, and indexed
128 void *stack = current_thread_info() + 1; local
129 stack = PTR_ALIGN(stack, L1_CACHE_BYTES);
130 stack += clusterid * STACK_SIZE + STACK_SIZE;
131 call_with_stack(bL_do_switch, (void *)_arg, stack);
/arch/s390/kernel/
H A Dsclp.S36 ahi %r15,-96 # create stack frame
120 ahi %r15,-96 # create stack frame
152 ahi %r15,-96 # create stack frame
212 ahi %r15,-96 # create stack frame
274 ahi %r15,-96 # create stack frame
/arch/arc/mm/
H A Dtlbex.S50 ; ARC700 Exception Handling doesn't auto-switch stack and it only provides
59 ; [All of this dance is to avoid stack switching for each TLB Miss, since we
157 ; need to switch to kernel mode stack to call error routine
368 ; (stack switching / save the complete reg-file).
/arch/arm/mach-omap1/
H A Dsleep.S68 @ save registers on stack
124 * stack.
148 @ save registers on stack
207 * stack, reset the ARM_IDLECT1 and ARM_IDLECT2.
223 @ save registers on stack
355 * stack.
/arch/m68k/fpsp040/
H A Dx_store.S53 | in the USER_FPn variable on the stack because all exception
151 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack
157 movel %d0,LOCAL_EX(%a1) |put the new exp back on the stack
227 movel %d0,L_SCR1(%a6) |put the new exp back on the stack
/arch/parisc/kernel/
H A Dirq.c169 seq_puts(p, " Kernel stack usage\n");
174 seq_puts(p, " Interrupt stack usage\n");
383 #define IRQ_STACK_SIZE (4096 << 2) /* 16k irq stack size */
386 unsigned long stack[IRQ_STACK_SIZE/sizeof(unsigned long)]; member in union:irq_stack_union
404 /* Our stack starts directly behind the thread_info struct. */
412 * to check for stack overflow. We will only check the kernel stack. */
416 /* calculate kernel stack usage */
420 goto check_kernel_stack; /* found kernel stack */
422 /* check irq stack usag
[all...]
/arch/alpha/kernel/
H A Dtraps.c148 unsigned long *stack; local
158 stack = sp;
160 if (((long) stack & (THREAD_SIZE-1)) == 0)
164 printk("%016lx ", *stack++);
737 * Notice that we have (almost) the regular kernel stack layout here,
/arch/arm/mm/
H A Dproc-v7m.S118 @ Configure the System Control Register to ensure 8-byte stack alignment
/arch/c6x/kernel/
H A Dentry.S64 ||[!B0] STDW .D2T2 SP:DP,*--SP[1] ; kernel: save on current stack
119 ;; We left an unused word on the stack just above pt_regs.
179 STW .D1T1 A14,*A15 ; save kernel stack pointer
226 ;; reload syscall args from (possibly modified) stack frame
H A Dhead.S26 ;; Set the stack pointer
/arch/c6x/lib/
H A Ddivi.S35 ;; call to divu. It stores B3 in on the stack.
H A Dremi.S35 ;; call to divu. It stores B3 in on the stack.
/arch/hexagon/kernel/
H A Dsmp.c150 /* Calculate thread_info pointer from stack pointer */
195 struct thread_info *thread = (struct thread_info *)idle->stack;
/arch/ia64/kernel/
H A Dprocess.c67 char buf[128]; /* don't make it so big that it overflows the stack! */
314 * This means that the stack layout is as follows:
322 * | memory stack |
330 * the stack is page aligned and the page size is at least 4KB, this is always the case,
339 struct switch_stack *child_stack, *stack; local
409 stack = ((struct switch_stack *) regs) - 1;
411 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack));
414 rbs_size = stack->ar_bspstore - rbs;
/arch/m68k/kernel/
H A Dasm-offsets.c27 DEFINE(TASK_STACK, offsetof(struct task_struct, stack));
/arch/microblaze/kernel/
H A Dprocess.c126 &(((struct thread_info *)(tsk->stack))->cpu_context);
H A Dunwind.c32 * On Microblaze, finding the previous stack frame is a little tricky.
39 * Microblaze stores the stack pointer in r1, and creates a frame via
51 * A stack frame is usually not created in a leaf function.
56 * get_frame_size - Extract the stack adjustment from an
60 * Return - Number of stack bytes the instruction reserves or reclaims
69 * the stack frame (hopefully, for the same function the
73 * Return - PC at which stack frame creation occurs
114 * lookup_prev_stack_frame - Find the stack frame of the previous function.
115 * @fp : Frame (stack) pointer for current function
119 * @pprev_fp : On exit, set to frame (stack) pointe
[all...]
/arch/s390/boot/compressed/
H A DMakefile16 KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
/arch/sh/kernel/cpu/sh2/
H A Dentry.S22 /* Offsets to the stack */
39 ! stack
64 mov r15,r2 ! r2 = user stack top
65 mov r0,r15 ! switch kernel stack
90 mov r2,r8 ! copy user -> kernel stack
190 /* Unwind the stack and jmp to the debug entry */
/arch/sh/kernel/
H A Dirq.c57 * per-CPU IRQ handling contexts (thread information and stack)
61 u32 stack[THREAD_SIZE/sizeof(u32)]; member in union:irq_ctx
78 * this is where we switch to the IRQ stack. However, if we are
79 * already using the IRQ stack (because we interrupted a hardirq
81 * current stack (which is the irq stack already after all)
102 /* swith to the irq stack */
104 /* restore the stack (ring zero) */
163 /* build the stack frame on the softirq stack */
[all...]
/arch/sparc/include/asm/
H A Dthread_info_64.h133 #define init_stack (init_thread_union.stack)
/arch/tile/include/gxio/
H A Diorpc_mpipe.h65 unsigned int mem_flags, unsigned int stack,
/arch/unicore32/boot/compressed/
H A Dhead.S54 * sp - stack pointer
100 mov r1, sp @ malloc space above stack
202 .section ".stack", "aw", %nobits
/arch/x86/include/asm/
H A Dthread_info.h18 * - this struct shares the supervisor stack pages
54 #define init_stack (init_thread_union.stack)

Completed in 562 milliseconds

1234567891011>>