/linux-4.4.14/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
|
D | vmlinux.lds.S | 67 RW_DATA_SECTION(SMP_CACHE_BYTES, 0, THREAD_SIZE)
|
D | etrap_32.S | 130 #define STACK_OFFSET (THREAD_SIZE - TRACEREG_SZ - STACKFRAME_SZ) 153 sethi %hi(~(THREAD_SIZE - 1)), %curptr
|
D | process_32.c | 233 (task_stack_page(current) + (THREAD_SIZE - TRACEREG_SZ)); 331 new_stack = task_stack_page(p) + THREAD_SIZE;
|
D | wuf.S | 138 #define STACK_OFFSET (THREAD_SIZE - TRACEREG_SZ - STACKFRAME_SZ)
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | setup_64.c | 616 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 617 THREAD_SIZE, limit)); in irqstack_early_init() 619 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 620 THREAD_SIZE, limit)); in irqstack_early_init() 631 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 633 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 635 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 637 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 639 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 641 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() [all …]
|
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 | irq.c | 468 sp = current_stack_pointer() & (THREAD_SIZE-1); in check_stack_overflow() 578 memset((void *)critirq_ctx[cpu_nr], 0, THREAD_SIZE); in exc_lvl_ctx_init() 584 memset((void *)dbgirq_ctx[cpu_nr], 0, THREAD_SIZE); in exc_lvl_ctx_init() 589 memset((void *)mcheckirq_ctx[cpu_nr], 0, THREAD_SIZE); in exc_lvl_ctx_init() 607 memset((void *)softirq_ctx[i], 0, THREAD_SIZE); in irq_ctx_init() 611 memset((void *)hardirq_ctx[i], 0, THREAD_SIZE); in irq_ctx_init()
|
D | misc_64.S | 36 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3) 47 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r4) 605 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
|
D | process.c | 1141 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() 1238 struct pt_regs *regs = task_stack_page(current) + THREAD_SIZE; in start_thread() 1488 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack() 1493 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack() 1505 && sp <= stack_page + THREAD_SIZE - nbytes) in validate_sp()
|
D | vmlinux.lds.S | 236 INIT_TASK_DATA_SECTION(THREAD_SIZE)
|
D | head_booke.h | 47 ALLOC_STACK_FRAME(r11, THREAD_SIZE); \ 96 #define EXC_LVL_FRAME_OVERHEAD (THREAD_SIZE - INT_FRAME_SIZE - EXC_LVL_SIZE)
|
D | head_40x.S | 117 addi r1,r1,THREAD_SIZE; \ 160 1: addi r11,r11,THREAD_SIZE-INT_FRAME_SIZE; /* Alloc an excpt frm */\ 842 stwu r0,THREAD_SIZE-STACK_FRAME_OVERHEAD(r1)
|
D | head_64.S | 675 addi r14,r14,THREAD_SIZE-STACK_FRAME_OVERHEAD 827 addi r1,r3,THREAD_SIZE
|
/linux-4.4.14/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
|
D | processor.h | 150 (unsigned long)(info) + THREAD_SIZE; \
|
/linux-4.4.14/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) 54 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
|
D | ptrace.h | 17 (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
|
D | entry.h | 230 andl #-THREAD_SIZE,\reg 254 "andw #-"STR(THREAD_SIZE)","#tmp"\n\t" \
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | libcfs.h | 88 #define LUSTRE_TRACE_SIZE (THREAD_SIZE >> 5) 92 # define CDEBUG_STACK() (THREAD_SIZE - \ 94 (THREAD_SIZE - 1))) 96 # define CDEBUG_STACK() (THREAD_SIZE - \ 98 (THREAD_SIZE - 1)))
|
/linux-4.4.14/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() 117 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss; 119 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() 139 irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
|
D | vmlinux.lds.S | 35 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | stacktrace.c | 70 if (fpnew < (ALIGN_DOWN((unsigned long)fp, THREAD_SIZE) + in unwind_frame()
|
/linux-4.4.14/arch/metag/include/asm/ |
D | thread_info.h | 59 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 61 #define STACK_WARN (THREAD_SIZE/8) 86 ~(THREAD_SIZE - 1)); in current_thread_info() 92 return addr == (void *) (((unsigned long) addr & ~(THREAD_SIZE - 1)) in kstack_end()
|
/linux-4.4.14/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)
|
/linux-4.4.14/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()
|
D | ptrace.h | 37 (THREAD_SIZE - sizeof(struct pt_regs)))
|
/linux-4.4.14/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() 133 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
|
D | dumpstack.c | 93 ((unsigned long)sp & (~(THREAD_SIZE - 1))); in stack_reader_dump() 157 dump_mem("Stack: ", stack, THREAD_SIZE + in show_stack()
|
D | vmlinux.lds.S | 52 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | traps.c | 35 dump_mem("Stack: ", regs->regs[15], THREAD_SIZE + in die()
|
D | ptrace_64.c | 72 regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1; in get_fpu_long() 114 regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1; in put_fpu_long()
|
D | process_64.c | 334 ((struct pt_regs *)(THREAD_SIZE + (unsigned long) current) - 1); in flush_thread() 390 childregs = (struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1; in copy_thread()
|
D | head_32.S | 336 2: .long init_thread_union+THREAD_SIZE
|
/linux-4.4.14/arch/x86/include/asm/ |
D | thread_info.h | 155 #define STACK_WARN (THREAD_SIZE/8) 166 return (struct thread_info *)(current_top_of_stack() - THREAD_SIZE); in current_thread_info() 189 _ASM_SUB $(THREAD_SIZE),reg ; 216 #define ASM_THREAD_INFO(field, reg, off) ((field)+(off)-THREAD_SIZE)(reg)
|
D | page_64_types.h | 11 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 12 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
D | kprobes.h | 43 THREAD_SIZE - (unsigned long)(ADDR))) \ 46 THREAD_SIZE - (unsigned long)(ADDR)))
|
D | ptrace.h | 200 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 201 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
|
D | page_32_types.h | 21 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
D | processor.h | 361 u32 stack[THREAD_SIZE/sizeof(u32)]; 362 } __aligned(THREAD_SIZE); 729 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | thread_info.h | 32 #define THREAD_SIZE 16384 macro 33 #define THREAD_START_SP (THREAD_SIZE - 16) 79 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux-4.4.14/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)))
|
D | thread_info.h | 48 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 49 #define STACK_WARN (THREAD_SIZE >> 3) 86 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
|
D | entry-macros.S | 26 mov #((THREAD_SIZE - 1) >> 10) ^ 0xff, \tmp
|
/linux-4.4.14/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()
|
/linux-4.4.14/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))
|
D | processor.h | 190 .ksp = (unsigned long)init_stack + THREAD_SIZE - STACK_TOP_DELTA, \ 228 ((unsigned long)(task)->stack + THREAD_SIZE - STACK_TOP_DELTA) 234 ((struct pt_regs *)((stack_pointer | (THREAD_SIZE - 1)) - \
|
D | kprobes.h | 53 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 \
|
/linux-4.4.14/arch/mips/include/asm/ |
D | thread_info.h | 85 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 86 #define THREAD_MASK (THREAD_SIZE - 1UL) 88 #define STACK_WARN (THREAD_SIZE / 8)
|
D | ptrace.h | 103 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 104 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack() 178 (struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1 - 32) - 1; \
|
D | kprobes.h | 69 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 - sizeof(struct pt_regs))
|
D | processor.h | 361 THREAD_SIZE - 32 - sizeof(struct pt_regs))
|
D | compat.h | 225 ((unsigned long) current_thread_info() + THREAD_SIZE - 32) - 1; in arch_compat_alloc_user_space()
|
/linux-4.4.14/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)) - …
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | ptrace.h | 25 (THREAD_SIZE + (unsigned long)current_thread_info()) - 1) 29 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
|
D | thread_info.h | 20 #define THREAD_SIZE 8192 /* 2 pages */ macro 63 : "i" (~(THREAD_SIZE-1) & 0xffff)); in current_thread_info()
|
/linux-4.4.14/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)
|
D | thread_info.h | 42 #define THREAD_SIZE (PAGE_SIZE << 1) macro 69 : "=r" (ti) : "i" (~(THREAD_SIZE - 1)) in current_thread_info()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | thread_info.h | 20 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 21 #define THREAD_START_SP (THREAD_SIZE - 8) 94 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | ptrace.h | 158 ((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | ptrace.h | 122 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 192 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 193 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
|
D | thread_info.h | 23 #define THREAD_SIZE (1 << THREAD_SHIFT) macro
|
/linux-4.4.14/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))
|
D | processor.h | 99 ((unsigned long)task_stack_page(tsk) + THREAD_SIZE - 32)
|
/linux-4.4.14/arch/alpha/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN(THREAD_SIZE); 53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/arc/include/asm/ |
D | thread_info.h | 27 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 71 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | ptrace.h | 139 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \ 140 (struct pt_regs *)(pg_start + THREAD_SIZE) - 1; \
|
D | processor.h | 51 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
|
D | unwind.h | 73 #define STACK_LIMIT(ptr) (((ptr) - 1) & ~(THREAD_SIZE - 1))
|
D | entry-compact.h | 296 bic \reg, sp, (THREAD_SIZE - 1)
|
D | entry.h | 224 add2 \out, \out, (THREAD_SIZE)/4
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | thread_info.h | 25 #define THREAD_SIZE 8192 /* 2 * PAGE_SIZE */ macro 74 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | ptrace.h | 74 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
|
D | processor.h | 89 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
|
D | entry.h | 30 addi r24, r24, THREAD_SIZE-PT_REGS_SIZE
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | traps.c | 48 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()
|
D | vmlinux.lds.S | 71 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
|
D | entry.S | 269 addik r1, r1, THREAD_SIZE + CONFIG_KERNEL_BASE_ADDR - CONFIG_KERNEL_START - PT_SIZE; \ 300 addik r1, r1, THREAD_SIZE; 668 addik r1, r1, THREAD_SIZE; 801 addik r1, r1, THREAD_SIZE; /* calculate kernel stack pointer */
|
D | entry-nommu.S | 65 addik r1, r1, THREAD_SIZE - PT_SIZE 214 addik r1, r1, THREAD_SIZE - PT_SIZE 305 addik r1, r1, THREAD_SIZE - PT_SIZE /* get the kernel stack */
|
/linux-4.4.14/arch/um/include/asm/ |
D | thread_info.h | 40 #define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE) macro 45 unsigned long mask = THREAD_SIZE - 1; in current_thread_info()
|
/linux-4.4.14/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)))
|
D | thread_info.h | 18 #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) macro
|
D | processor.h | 187 (task_stack_page(tsk) + THREAD_SIZE) - 1)
|
/linux-4.4.14/arch/x86/kernel/ |
D | dumpstack_32.c | 21 if (p < irq || p >= (irq + THREAD_SIZE)) in is_irq_stack() 23 return irq + THREAD_SIZE; in is_irq_stack() 80 prev_esp = (u32 *)(end_stack - THREAD_SIZE); in dump_trace()
|
D | irq_32.c | 34 "=r" (sp) : "0" (THREAD_SIZE - 1)); in check_stack_overflow() 68 return (void *)(current_stack_pointer() & ~(THREAD_SIZE - 1)); in current_stack()
|
D | irq_64.c | 46 regs->sp <= curbase + THREAD_SIZE) in stack_overflow_check()
|
D | dumpstack.c | 87 if (p < end && p >= (end-THREAD_SIZE)) in valid_stack_ptr() 92 return p > t && p < t + THREAD_SIZE - size; in valid_stack_ptr()
|
D | vmlinux.lds.S | 129 INIT_TASK_DATA(THREAD_SIZE)
|
D | dumpstack_64.c | 123 addr = ((unsigned long)stack & (~(THREAD_SIZE - 1))); in analyze_stack()
|
D | process_32.c | 305 THREAD_SIZE); in __switch_to()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | thread_info.h | 14 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 51 unsigned long addr = ~(THREAD_SIZE - 1); in current_thread_info()
|
D | processor.h | 151 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
|
D | asm.h | 40 andl \reg, ~(THREAD_SIZE - 1) & 0xffff
|
/linux-4.4.14/arch/m68k/coldfire/ |
D | entry.S | 76 andl #-THREAD_SIZE,%d2 /* at start of kernel stack */ 113 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */ 137 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
|
D | head.S | 272 lea THREAD_SIZE(%a0),%sp
|
/linux-4.4.14/arch/avr32/kernel/ |
D | process.c | 114 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr() 197 THREAD_SIZE + (unsigned long)tinfo); in show_stack_log_lvl() 336 BUG_ON(fp < stack_page || fp > (THREAD_SIZE + stack_page)); in get_wchan() 349 BUG_ON(sp < stack_page || sp > (THREAD_SIZE + stack_page)); in get_wchan()
|
D | stacktrace.c | 33 high = low + THREAD_SIZE; in save_stack_trace()
|
D | vmlinux.lds.S | 68 INIT_TASK_DATA(THREAD_SIZE)
|
D | ptrace.c | 28 THREAD_SIZE - sizeof(struct pt_regs)); in get_user_regs()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | ptrace.h | 36 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 105 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
D | thread_info_64.h | 103 #define THREAD_SIZE (2*PAGE_SIZE) macro 106 #define THREAD_SIZE PAGE_SIZE macro
|
D | thread_info_32.h | 80 #define THREAD_SIZE (2 * PAGE_SIZE) macro
|
/linux-4.4.14/arch/h8300/kernel/ |
D | traps.c | 128 if (((unsigned long)stack & (THREAD_SIZE - 1)) == 0) in show_stack() 138 while (((unsigned long)stack & (THREAD_SIZE - 1)) != 0) { in show_stack()
|
D | vmlinux.lds.S | 49 RW_DATA_SECTION(0, PAGE_SIZE, THREAD_SIZE)
|
D | process.c | 111 childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; in copy_thread()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | thread_info.h | 16 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 97 return (struct thread_info *)(sp & ~(THREAD_SIZE-1)); in current_thread_info()
|
D | processor.h | 28 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | process.c | 79 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread() 170 fp >= (THREAD_SIZE - 8 + stack_page)) in get_wchan()
|
D | smp.c | 156 thread_ptr = thread_ptr & ~(THREAD_SIZE-1); in start_secondary() 201 stack_start = ((void *) thread) + THREAD_SIZE; in __cpu_up()
|
D | stacktrace.c | 44 high = low + THREAD_SIZE; in save_stack_trace()
|
D | asm-offsets.c | 81 DEFINE(_THREAD_SIZE, THREAD_SIZE); in main()
|
D | traps.c | 132 high = low + THREAD_SIZE - 8; in do_show_stack()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | traps.c | 46 return p > (void *)tinfo && p < (void *)tinfo + THREAD_SIZE - 3; in valid_stack_ptr() 55 ((unsigned long)stack & (~(THREAD_SIZE - 1))); in show_trace() 210 if (((long)stack & (THREAD_SIZE - 1)) == 0) in nommu_dump_state() 221 while (((long)stack & (THREAD_SIZE - 1)) != 0) { in nommu_dump_state()
|
D | process.c | 150 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | stacktrace.c | 139 sp_start = a1 & ~(THREAD_SIZE - 1); in xtensa_backtrace_kernel() 140 sp_end = sp_start + THREAD_SIZE; in xtensa_backtrace_kernel() 190 sp_end = ALIGN(a1, THREAD_SIZE); in walk_stackframe()
|
D | irq.c | 48 sp &= THREAD_SIZE - 1; in do_IRQ()
|
D | process.c | 298 sp >= (stack_page + THREAD_SIZE) || in get_wchan()
|
D | vmlinux.lds.S | 116 RW_DATA_SECTION(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/s390/kernel/ |
D | dumpstack.c | 88 (unsigned long) task_stack_page(task) + THREAD_SIZE); in show_trace() 91 S390_lowcore.thread_info + THREAD_SIZE); in show_trace() 109 if (((addr_t) stack & (THREAD_SIZE-1)) == 0) in show_stack()
|
D | vmlinux.lds.S | 53 RW_DATA_SECTION(0x100, PAGE_SIZE, THREAD_SIZE)
|
D | stacktrace.c | 81 S390_lowcore.thread_info + THREAD_SIZE, 1); in save_stack_trace()
|
D | head64.S | 39 aghi %r15,1<<(PAGE_SHIFT+THREAD_ORDER) # init_task_union + THREAD_SIZE
|
D | perf_event.c | 282 S390_lowcore.thread_info + THREAD_SIZE); in perf_callchain_kernel()
|
/linux-4.4.14/arch/cris/kernel/ |
D | traps.c | 53 while (((long)stack & (THREAD_SIZE - 1)) != 0) { in show_trace() 123 if (((long)stack & (THREAD_SIZE-1)) == 0) in show_stack()
|
D | stacktrace.c | 10 unsigned long high = ALIGN(sp, THREAD_SIZE); in walk_stackframe()
|
/linux-4.4.14/arch/x86/xen/ |
D | xen-head.S | 43 mov $init_thread_union+THREAD_SIZE,%esp 46 mov $init_thread_union+THREAD_SIZE,%rsp
|
/linux-4.4.14/kernel/trace/ |
D | trace_stack.c | 82 this_size = ((unsigned long)stack) & (THREAD_SIZE-1); in check_stack() 83 this_size = THREAD_SIZE - this_size; in check_stack() 141 (((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE); in check_stack()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | dumpstack.c | 53 endstack = (unsigned int *)(((unsigned int)(stack) & ~(THREAD_SIZE - 1)) + THREAD_SIZE); in show_stack()
|
D | stacktrace.c | 31 high = low + THREAD_SIZE; in save_stack_trace()
|
D | irqchip.c | 54 long sp = __get_SP() & (THREAD_SIZE - 1); in check_stack_overflow()
|
D | vmlinux.lds.S | 109 INIT_TASK_DATA(THREAD_SIZE)
|
/linux-4.4.14/arch/mips/oprofile/ |
D | backtrace.c | 136 const unsigned long high_addr = low_addr + THREAD_SIZE; in do_user_backtrace() 170 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); in op_mips_backtrace()
|
/linux-4.4.14/arch/m68k/68360/ |
D | entry.S | 75 andl #-THREAD_SIZE,%d1 101 andl #-THREAD_SIZE,%d1
|
/linux-4.4.14/arch/hexagon/include/uapi/asm/ |
D | ptrace.h | 37 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | vmlinux.lds.S | 49 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | stacktrace.c | 42 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
D | traps.c | 202 THREAD_SIZE + (unsigned long)task_stack_page(tsk)); in __die()
|
/linux-4.4.14/arch/score/kernel/ |
D | vmlinux.lds.S | 57 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/nios2/kernel/ |
D | vmlinux.lds.S | 64 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | entry.S | 39 .if THREAD_SIZE & 0xffff0000 40 andhi \reg, sp, %hi(~(THREAD_SIZE-1)) 42 addi \reg, r0, %lo(~(THREAD_SIZE-1))
|
D | head.S | 159 addi sp, r1, THREAD_SIZE
|
D | process.c | 166 (int)(((unsigned long) current) + THREAD_SIZE)); in dump()
|
/linux-4.4.14/arch/um/kernel/skas/ |
D | process.c | 36 set_sigstack(cpu0_irqstack, THREAD_SIZE); in start_uml()
|
/linux-4.4.14/arch/blackfin/mach-common/ |
D | head.S | 109 sp.l = _init_thread_union + THREAD_SIZE; 110 sp.h = _init_thread_union + THREAD_SIZE;
|
D | smp.c | 253 secondary_stack = task_stack_page(idle) + THREAD_SIZE; in __cpu_up()
|
/linux-4.4.14/arch/arm/kernel/ |
D | vmlinux.lds.S | 237 . = ALIGN(THREAD_SIZE); 251 INIT_TASK_DATA(THREAD_SIZE)
|
D | stacktrace.c | 32 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | processor.h | 78 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
|
D | thread_info.h | 33 #define THREAD_SIZE (1<<THREAD_SHIFT) macro
|
/linux-4.4.14/arch/frv/include/asm/ |
D | thread_info.h | 22 #define THREAD_SIZE 8192 macro
|
/linux-4.4.14/arch/mips/kernel/ |
D | perf_event.c | 56 sp <= stack_page + THREAD_SIZE - 32) in perf_callchain_kernel()
|
D | process.c | 121 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; in copy_thread() 457 *sp + sizeof(*regs) <= stack_page + THREAD_SIZE - 32) { in unwind_stack_by_address() 486 *sp + info.frame_size > stack_page + THREAD_SIZE - 32) in unwind_stack_by_address()
|
D | stacktrace.c | 46 sp <= stack_page + THREAD_SIZE - 32) in save_context_stack()
|
D | vmlinux.lds.S | 91 INIT_TASK_DATA(THREAD_SIZE)
|
/linux-4.4.14/arch/avr32/oprofile/ |
D | backtrace.c | 31 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr()
|
/linux-4.4.14/arch/um/include/shared/ |
D | common-offsets.h | 22 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | thread_info.h | 36 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
D | processor.h | 66 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - S…
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | vmlinux.lds.S | 48 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
|
D | traps.c | 245 bottom = (stack + THREAD_SIZE) & ~(THREAD_SIZE - 1); in show_trace() 286 if (((long) stack & (THREAD_SIZE - 1)) == 0) in show_stack()
|
D | process.c | 151 c_ksp = (unsigned long) task_stack_page(p) + THREAD_SIZE; in copy_thread()
|
D | irq.c | 254 BUG_ON(sp - (sp & ~(THREAD_SIZE - 1)) < STACK_WARN); in do_IRQ()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | vmlinux.lds.S | 49 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
|
D | entry.S | 125 ldi \reg, #-THREAD_SIZE
|
/linux-4.4.14/arch/avr32/boot/u-boot/ |
D | head.S | 40 sub sp, -THREAD_SIZE
|
/linux-4.4.14/arch/tile/kernel/ |
D | vmlinux.lds.S | 76 RW_DATA_SECTION(L2_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | stack.c | 49 return sp >= kstack_base && sp < kstack_base + THREAD_SIZE; in in_kernel_stack() 200 unsigned long ksp0_base = ksp0 & -THREAD_SIZE; in validate_stack()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | thread_info.h | 132 #define THREAD_SIZE 8192 //(2*PAGE_SIZE) macro
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | thread_info.h | 40 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
/linux-4.4.14/arch/m68k/68000/ |
D | entry.S | 79 andl #-THREAD_SIZE,%d1 105 andl #-THREAD_SIZE,%d1
|
D | head.S | 237 lea THREAD_SIZE(%a0),%sp
|
/linux-4.4.14/arch/parisc/kernel/ |
D | irq.c | 419 if (likely(stack_usage <= THREAD_SIZE)) in stack_overflow_check() 447 if (likely(stack_usage < (THREAD_SIZE - STACK_MARGIN))) in stack_overflow_check() 452 current->comm, sp, stack_start, stack_start + THREAD_SIZE); in stack_overflow_check()
|
/linux-4.4.14/arch/x86/lguest/ |
D | head_32.S | 47 movl $(init_thread_union+THREAD_SIZE),%esp
|
/linux-4.4.14/arch/s390/oprofile/ |
D | backtrace.c | 76 S390_lowcore.thread_info + THREAD_SIZE); in s390_backtrace()
|
/linux-4.4.14/arch/um/kernel/ |
D | stacktrace.c | 32 while (((long) sp & (THREAD_SIZE-1)) != 0) { in dump_trace()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | vmlinux-sun3.lds | 29 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data
|
D | vmlinux-std.lds | 32 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE)
|
D | vmlinux-nommu.lds | 60 RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE)
|
D | traps.c | 820 addr = (unsigned long)stack + THREAD_SIZE - 1; in show_trace() 821 endstack = (unsigned long *)(addr & -THREAD_SIZE); in show_trace() 949 endstack = (unsigned long *)(((unsigned long)stack + THREAD_SIZE - 1) & -THREAD_SIZE); in show_stack()
|
D | process.c | 140 frame = (struct fork_frame *) (task_stack_page(p) + THREAD_SIZE) - 1; in copy_thread()
|
/linux-4.4.14/arch/frv/kernel/ |
D | vmlinux.lds.S | 94 INIT_TASK_DATA(THREAD_SIZE)
|
D | process.c | 135 (task_stack_page(p) + THREAD_SIZE - FRV_FRAME0_SIZE); in copy_thread()
|
D | break.S | 26 .balign THREAD_SIZE 28 .space THREAD_SIZE - FRV_FRAME0_SIZE
|
/linux-4.4.14/arch/c6x/kernel/ |
D | vmlinux.lds.S | 110 INIT_TASK_DATA(THREAD_SIZE)
|
D | traps.c | 398 endstack = (unsigned long *)(((unsigned long)stack + THREAD_SIZE - 1) in show_stack() 399 & -THREAD_SIZE); in show_stack()
|
D | asm-offsets.c | 109 DEFINE(KTHREAD_SIZE, THREAD_SIZE); in foo()
|
/linux-4.4.14/arch/arc/kernel/ |
D | vmlinux.lds.S | 115 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.4.14/arch/arm64/kernel/ |
D | stacktrace.c | 44 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
D | vmlinux.lds.S | 162 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | process.c | 350 frame.sp >= stack_page + THREAD_SIZE || in get_wchan()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | thread_info.h | 52 #define THREAD_SIZE (2*PAGE_SIZE) macro
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | thread_info.h | 37 #define THREAD_SIZE KERNEL_STACK_SIZE macro
|
/linux-4.4.14/arch/powerpc/perf/ |
D | callchain.c | 44 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1))) in valid_next_sp()
|
/linux-4.4.14/fs/proc/ |
D | meminfo.c | 180 global_page_state(NR_KERNEL_STACK) * THREAD_SIZE / 1024, in meminfo_proc_show()
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | entry.S | 48 movs.w -8192, $r0 ; THREAD_SIZE = 8192 68 movs.w -8192, $r0 ; THREAD_SIZE = 8192. 505 movs.w -8192, $r9 ; THREAD_SIZE == 8192
|
/linux-4.4.14/arch/tile/mm/ |
D | fault.c | 293 stack_offset = stack_pointer & (THREAD_SIZE-1); in handle_page_fault() 294 if (stack_offset < THREAD_SIZE / 8) { in handle_page_fault()
|
/linux-4.4.14/arch/sh/lib/ |
D | mcount.S | 45 mov #(THREAD_SIZE >> 10), r0; \
|
/linux-4.4.14/drivers/misc/ |
D | lkdtm.c | 63 #define REC_STACK_SIZE (THREAD_SIZE / 8) 65 #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2)
|