/arch/sparc/kernel/ |
D | kstack.h | 15 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 21 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 25 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 38 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 44 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 48 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
|
D | trampoline_32.S | 66 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 67 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 143 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 144 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
|
/arch/powerpc/kernel/ |
D | setup_32.c | 243 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 245 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 261 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 264 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 266 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
|
D | setup_64.c | 467 __va(lmb_alloc_base(THREAD_SIZE, in irqstack_early_init() 468 THREAD_SIZE, 0x10000000)); in irqstack_early_init() 470 __va(lmb_alloc_base(THREAD_SIZE, in irqstack_early_init() 471 THREAD_SIZE, 0x10000000)); in irqstack_early_init() 500 sp = lmb_alloc_base(THREAD_SIZE, THREAD_SIZE, limit); in emergency_stack_init() 501 sp += THREAD_SIZE; in emergency_stack_init()
|
/arch/x86/include/asm/ |
D | thread_info.h | 163 #define STACK_WARN (THREAD_SIZE/8) 179 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info() 186 movl $-THREAD_SIZE, reg; \ 191 andl $-THREAD_SIZE, reg 207 ti = (void *)(read_pda(kernelstack) + PDA_STACKOFFSET - THREAD_SIZE); in current_thread_info() 215 asm("andq %%rsp,%0; " : "=r" (ti) : "0" (~(THREAD_SIZE - 1))); in stack_thread_info() 224 subq $(THREAD_SIZE-PDA_STACKOFFSET),reg
|
D | kprobes.h | 40 THREAD_SIZE - (unsigned long)(ADDR))) \ 43 THREAD_SIZE - (unsigned long)(ADDR)))
|
D | page_64.h | 7 #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) macro 8 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
/arch/mips/include/asm/ |
D | thread_info.h | 82 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 83 #define THREAD_MASK (THREAD_SIZE - 1UL) 92 ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \ 97 #define alloc_thread_info(tsk) kmalloc(THREAD_SIZE, GFP_KERNEL)
|
/arch/blackfin/include/asm/ |
D | thread_info.h | 46 #define THREAD_SIZE 8192 /* 2 pages */ macro 47 #define STACK_WARN (THREAD_SIZE/8) 98 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
|
/arch/x86/kernel/ |
D | irq_32.c | 35 "=r" (sp) : "0" (THREAD_SIZE - 1)); in check_stack_overflow() 57 u32 stack[THREAD_SIZE/sizeof(u32)]; 63 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 64 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 131 irqctx = (union irq_ctx*) &hardirq_stack[cpu*THREAD_SIZE]; in irq_ctx_init() 140 irqctx = (union irq_ctx *) &softirq_stack[cpu*THREAD_SIZE]; in irq_ctx_init()
|
/arch/sh/kernel/ |
D | irq.c | 77 u32 stack[THREAD_SIZE/sizeof(u32)]; 99 "=r" (sp) : "0" (THREAD_SIZE - 1)); in do_IRQ() 160 static char softirq_stack[NR_CPUS * THREAD_SIZE] 163 static char hardirq_stack[NR_CPUS * THREAD_SIZE] 176 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 185 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
|
/arch/sh/include/asm/ |
D | ptrace.h | 124 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \ 127 ((struct pt_dspregs *) (task_stack_page(task) + THREAD_SIZE \ 131 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
|
D | thread_info.h | 41 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 42 #define STACK_WARN (THREAD_SIZE >> 3) 82 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
|
D | kprobes.h | 15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
/arch/cris/include/asm/ |
D | processor.h | 33 #define THREAD_SIZE PAGE_SIZE macro 44 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - …
|
/arch/arm/include/asm/ |
D | thread_info.h | 19 #define THREAD_SIZE 8192 macro 20 #define THREAD_START_SP (THREAD_SIZE - 8) 97 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/arch/m68k/include/asm/ |
D | thread_info_no.h | 29 #define THREAD_SIZE (PAGE_SIZE<<THREAD_SIZE_ORDER) macro 69 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
|
/arch/h8300/include/asm/ |
D | thread_info.h | 53 #define THREAD_SIZE 8192 /* 2 pages */ macro 64 : "i" (~(THREAD_SIZE-1)) in current_thread_info()
|
/arch/arm/oprofile/ |
D | backtrace.c | 73 unsigned long base = ((unsigned long)regs) & ~(THREAD_SIZE - 1); in arm_backtrace() 74 walk_stackframe(regs->ARM_fp, base, base + THREAD_SIZE, in arm_backtrace()
|
/arch/sh/oprofile/ |
D | backtrace.c | 72 unsigned long stack_base = (stack & ~(THREAD_SIZE - 1)) + THREAD_SIZE; in valid_kernel_stack()
|
/arch/s390/include/asm/ |
D | kprobes.h | 45 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 47 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
D | thread_info.h | 30 #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) macro 75 return (struct thread_info *)((*(unsigned long *) __LC_KERNEL_STACK)-THREAD_SIZE); in current_thread_info()
|
/arch/um/include/asm/ |
D | thread_info.h | 46 #define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE) macro 51 unsigned long mask = THREAD_SIZE - 1; in current_thread_info()
|
/arch/avr32/kernel/ |
D | process.c | 160 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr() 243 THREAD_SIZE + (unsigned long)tinfo); in show_stack_log_lvl() 341 childregs = ((struct pt_regs *)(THREAD_SIZE + (unsigned long)task_stack_page(p))) - 1; in copy_thread() 347 childregs->sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() 429 BUG_ON(fp < stack_page || fp > (THREAD_SIZE + stack_page)); in get_wchan() 442 BUG_ON(sp < stack_page || sp > (THREAD_SIZE + stack_page)); in get_wchan()
|
/arch/x86/xen/ |
D | xen-head.S | 21 mov $init_thread_union+THREAD_SIZE,%esp 24 mov $init_thread_union+THREAD_SIZE,%rsp
|