/arch/sparc/kernel/ |
D | kstack.h | 19 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 25 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 29 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid() 42 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 48 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 52 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame() 70 orig_sp > (sp + THREAD_SIZE)) { in set_hardirq_stack() 71 sp += THREAD_SIZE - 192 - STACK_BIAS; in set_hardirq_stack()
|
D | trampoline_32.S | 64 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 65 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 125 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 126 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 181 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 182 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
|
/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) 59 ((unsigned long)ti + THREAD_SIZE - sizeof(struct pt_regs))) 88 ((unsigned long) init_stack + THREAD_SIZE - sizeof(struct pt_regs))) 100 : "i" (~(THREAD_SIZE - 1)) in current_thread_info() 131 and -THREAD_SIZE,\reg
|
/arch/m68k/include/asm/ |
D | thread_info.h | 15 #define THREAD_SIZE 4096 macro 17 #define THREAD_SIZE 8192 macro 20 #define THREAD_SIZE PAGE_SIZE macro 22 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1) 56 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
|
/arch/powerpc/kernel/ |
D | setup_32.c | 234 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 236 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 255 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 258 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 260 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
|
D | setup_64.c | 600 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 601 THREAD_SIZE, limit)); in irqstack_early_init() 603 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 604 THREAD_SIZE, limit)); in irqstack_early_init() 615 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 617 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 619 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 621 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 623 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 625 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) 88 ~(THREAD_SIZE - 1)); in current_thread_info() 94 return addr == (void *) (((unsigned long) addr & ~(THREAD_SIZE - 1)) in kstack_end()
|
/arch/metag/kernel/ |
D | irq.c | 21 u32 stack[THREAD_SIZE/sizeof(u32)]; 60 sp &= THREAD_SIZE - 1; in do_IRQ() 62 if (unlikely(sp > (THREAD_SIZE - 1024))) in do_IRQ() 119 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 121 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 133 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init() 142 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) 73 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
|
/arch/sh/kernel/ |
D | irq.c | 61 u32 stack[THREAD_SIZE/sizeof(u32)]; 67 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 68 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 125 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 | 72 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 73 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack() 103 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
|
D | kprobes.h | 15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
/arch/x86/include/asm/ |
D | page_64_types.h | 5 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 6 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
/arch/cris/include/asm/ |
D | processor.h | 32 #define THREAD_SIZE PAGE_SIZE macro 43 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - …
|
/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/unicore32/include/asm/ |
D | thread_info.h | 21 #define THREAD_SIZE 8192 macro 22 #define THREAD_START_SP (THREAD_SIZE - 8) 104 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/arch/alpha/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN(THREAD_SIZE); 53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/arch/score/include/asm/ |
D | thread_info.h | 15 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 16 #define THREAD_MASK (THREAD_SIZE - _AC(1,UL))
|
/arch/tile/include/asm/ |
D | thread_info.h | 75 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 78 #define STACK_WARN (THREAD_SIZE/8) 88 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
|
/arch/mips/include/asm/ |
D | thread_info.h | 87 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 88 #define THREAD_MASK (THREAD_SIZE - 1UL) 90 #define STACK_WARN (THREAD_SIZE / 8)
|
/arch/arc/include/asm/ |
D | thread_info.h | 27 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 72 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/arch/s390/include/asm/ |
D | kprobes.h | 46 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 48 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
/arch/microblaze/kernel/ |
D | traps.c | 48 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()
|
/arch/um/include/asm/ |
D | thread_info.h | 42 #define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE) macro 47 unsigned long mask = THREAD_SIZE - 1; in current_thread_info()
|