/arch/sparc/kernel/ |
D | kstack.h | 20 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 26 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 30 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 43 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 49 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 53 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 71 orig_sp > (sp + THREAD_SIZE)) { in set_hardirq_stack() 72 sp += THREAD_SIZE - 192 - STACK_BIAS; in set_hardirq_stack()
|
D | trampoline_32.S | 65 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 66 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 126 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 127 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 182 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 183 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
|
/arch/m68k/include/asm/ |
D | thread_info.h | 16 #define THREAD_SIZE 4096 macro 18 #define THREAD_SIZE 8192 macro 21 #define THREAD_SIZE PAGE_SIZE macro 23 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1) 55 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
|
/arch/mn10300/include/asm/ |
D | thread_info.h | 20 #define THREAD_SIZE (4096) macro 23 #define THREAD_SIZE (8192) macro 27 #define STACK_WARN (THREAD_SIZE / 8) 58 ((unsigned long)ti + THREAD_SIZE - sizeof(struct pt_regs))) 86 ((unsigned long) init_stack + THREAD_SIZE - sizeof(struct pt_regs))) 98 : "i" (~(THREAD_SIZE - 1)) in current_thread_info() 129 and -THREAD_SIZE,\reg
|
/arch/powerpc/kernel/ |
D | setup_32.c | 206 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 208 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 227 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 230 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 232 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
|
D | setup_64.c | 590 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 591 THREAD_SIZE, limit)); in irqstack_early_init() 593 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 594 THREAD_SIZE, limit)); in irqstack_early_init() 605 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 607 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 609 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 611 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 613 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 615 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() [all …]
|
/arch/metag/include/asm/ |
D | thread_info.h | 60 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 62 #define STACK_WARN (THREAD_SIZE/8) 87 ~(THREAD_SIZE - 1)); in current_thread_info() 93 return addr == (void *) (((unsigned long) addr & ~(THREAD_SIZE - 1)) in kstack_end()
|
/arch/metag/kernel/ |
D | irq.c | 22 u32 stack[THREAD_SIZE/sizeof(u32)]; 61 sp &= THREAD_SIZE - 1; in do_IRQ() 63 if (unlikely(sp > (THREAD_SIZE - 1024))) in do_IRQ() 118 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 120 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 132 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/c6x/include/asm/ |
D | thread_info.h | 21 #define THREAD_SIZE 4096 macro 25 #define THREAD_SIZE 8192 macro 30 #define THREAD_START_SP (THREAD_SIZE - 8)
|
/arch/blackfin/include/asm/ |
D | thread_info.h | 26 #define THREAD_SIZE 8192 /* 2 pages */ macro 27 #define STACK_WARN (THREAD_SIZE/8) 71 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
|
/arch/h8300/kernel/ |
D | traps.c | 130 if (((unsigned long)stack & (THREAD_SIZE - 1)) >= in show_stack() 131 THREAD_SIZE-4) in show_stack() 141 while (((unsigned long)stack & (THREAD_SIZE - 1)) < THREAD_SIZE-4) { in show_stack()
|
/arch/sh/kernel/ |
D | irq.c | 62 u32 stack[THREAD_SIZE/sizeof(u32)]; 68 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 69 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 126 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 134 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
|
/arch/sh/include/asm/ |
D | ptrace.h | 73 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 74 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack() 104 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
|
D | kprobes.h | 19 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 21 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
D | thread_info.h | 49 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 50 #define STACK_WARN (THREAD_SIZE >> 3) 87 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
|
/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/tile/include/asm/ |
D | thread_info.h | 74 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 77 #define STACK_WARN (THREAD_SIZE/8) 87 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
|
/arch/h8300/include/asm/ |
D | ptrace.h | 26 (THREAD_SIZE + (unsigned long)current_thread_info()) - 1) 30 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
|
/arch/m32r/include/asm/ |
D | ptrace.h | 40 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1) 42 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/arch/x86/include/asm/ |
D | page_64_types.h | 20 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 21 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
/arch/unicore32/include/asm/ |
D | thread_info.h | 21 #define THREAD_SIZE 8192 macro 22 #define THREAD_START_SP (THREAD_SIZE - 8) 101 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/arch/score/include/asm/ |
D | thread_info.h | 16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 17 #define THREAD_MASK (THREAD_SIZE - _AC(1,UL))
|
/arch/mips/include/asm/ |
D | thread_info.h | 103 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 104 #define THREAD_MASK (THREAD_SIZE - 1UL) 106 #define STACK_WARN (THREAD_SIZE / 8)
|
/arch/alpha/kernel/ |
D | vmlinux.lds.S | 49 . = ALIGN(THREAD_SIZE); 55 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/arch/microblaze/kernel/ |
D | traps.c | 49 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()
|