/linux-4.1.27/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 | 63 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.1.27/arch/powerpc/kernel/ |
D | setup_64.c | 592 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 593 THREAD_SIZE, limit)); in irqstack_early_init() 595 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init() 596 THREAD_SIZE, limit)); in irqstack_early_init() 607 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 609 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 611 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 613 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() 615 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init() 617 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init() [all …]
|
D | setup_32.c | 228 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 230 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 249 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 252 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 254 __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 | 35 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3) 46 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r4) 544 stdu r1,THREAD_SIZE-STACK_FRAME_OVERHEAD(r3)
|
D | process.c | 1142 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() 1239 struct pt_regs *regs = task_stack_page(current) + THREAD_SIZE; in start_thread() 1489 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack() 1494 && sp <= stack_page + THREAD_SIZE - nbytes) in valid_irq_stack() 1506 && sp <= stack_page + THREAD_SIZE - nbytes) in validate_sp()
|
D | vmlinux.lds.S | 230 INIT_TASK_DATA_SECTION(THREAD_SIZE)
|
D | head_64.S | 640 addi r14,r14,THREAD_SIZE-STACK_FRAME_OVERHEAD 792 addi r1,r3,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)
|
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | libcfs.h | 91 #define LUSTRE_TRACE_SIZE (THREAD_SIZE >> 5) 95 # define CDEBUG_STACK() (THREAD_SIZE - \ 97 (THREAD_SIZE - 1))) 99 # define CDEBUG_STACK() (THREAD_SIZE - \ 101 (THREAD_SIZE - 1)))
|
/linux-4.1.27/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() 141 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.1.27/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.1.27/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.1.27/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.1.27/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
|
D | head_64.S | 289 movi THREAD_SIZE, r22 /* Point to the end */
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | thread_info.h | 30 #define THREAD_SIZE 16384 macro 31 #define THREAD_START_SP (THREAD_SIZE - 16) 77 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | thread_info.h | 171 #define STACK_WARN (THREAD_SIZE/8) 184 return (struct thread_info *)(current_top_of_stack() - THREAD_SIZE); in current_thread_info() 203 _ASM_SUB $(THREAD_SIZE),reg ; 230 #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 | 201 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 202 (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 | 478 u32 stack[THREAD_SIZE/sizeof(u32)]; 479 } __aligned(THREAD_SIZE); 865 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \
|
/linux-4.1.27/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.1.27/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.1.27/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 | kprobes.h | 69 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 - sizeof(struct pt_regs))
|
D | ptrace.h | 98 (struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1 - 32) - 1; \
|
D | processor.h | 365 THREAD_SIZE - 32 - sizeof(struct pt_regs))
|
D | compat.h | 219 ((unsigned long) current_thread_info() + THREAD_SIZE - 32) - 1; in arch_compat_alloc_user_space()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | thread_info.h | 73 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 76 #define STACK_WARN (THREAD_SIZE/8) 86 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
|
D | processor.h | 192 .ksp = (unsigned long)init_stack + THREAD_SIZE - STACK_TOP_DELTA, \ 230 ((unsigned long)(task)->stack + THREAD_SIZE - STACK_TOP_DELTA) 236 ((struct pt_regs *)((stack_pointer | (THREAD_SIZE - 1)) - \
|
D | kprobes.h | 53 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 \
|
/linux-4.1.27/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.1.27/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.1.27/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) 98 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | ptrace.h | 158 ((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1; \
|
/linux-4.1.27/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.1.27/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.1.27/arch/arc/include/asm/ |
D | thread_info.h | 27 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 70 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
D | ptrace.h | 96 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \ 97 (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.h | 239 add2 \out, \out, (THREAD_SIZE)/4 351 bic \reg, sp, (THREAD_SIZE - 1)
|
/linux-4.1.27/arch/alpha/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN(THREAD_SIZE); 53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.1.27/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.1.27/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.1.27/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 | 16 #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) macro
|
D | processor.h | 179 (task_stack_page(tsk) + THREAD_SIZE) - 1)
|
/linux-4.1.27/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.1.27/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 | process_32.c | 311 THREAD_SIZE); in __switch_to() 314 THREAD_SIZE); in __switch_to() 329 #define top_esp (THREAD_SIZE - sizeof(unsigned long)) 330 #define top_ebp (THREAD_SIZE - 2*sizeof(unsigned long))
|
D | irq_32.c | 40 "=r" (sp) : "0" (THREAD_SIZE - 1)); in check_stack_overflow() 74 return (void *)(current_stack_pointer() & ~(THREAD_SIZE - 1)); in current_stack()
|
D | irq_64.c | 52 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 | process_64.c | 162 p->thread.sp0 = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread() 414 (unsigned long)task_stack_page(next_p) + THREAD_SIZE); in __switch_to() 550 top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; in get_wchan()
|
D | smpboot.c | 790 (unsigned long)task_stack_page(idle) + THREAD_SIZE; in common_cpu_up() 796 (unsigned long)task_stack_page(idle) + THREAD_SIZE; in common_cpu_up() 817 (THREAD_SIZE + task_stack_page(idle))) - 1); in do_boot_cpu()
|
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()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 | 34 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.1.27/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()
|
/linux-4.1.27/arch/xtensa/oprofile/ |
D | backtrace.c | 122 sp_start = a1 & ~(THREAD_SIZE-1); in xtensa_backtrace_kernel() 123 sp_end = sp_start + THREAD_SIZE; in xtensa_backtrace_kernel()
|
/linux-4.1.27/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() 130 (((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE); in check_stack()
|
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/llite/ |
D | symlink.c | 132 if (THREAD_SIZE < 8192 && current->link_count >= 6) { in ll_follow_link() 134 } else if (THREAD_SIZE == 8192 && current->link_count >= 8) { in ll_follow_link()
|
/linux-4.1.27/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.1.27/arch/m68k/68360/ |
D | entry.S | 75 andl #-THREAD_SIZE,%d1 101 andl #-THREAD_SIZE,%d1
|
/linux-4.1.27/arch/hexagon/include/uapi/asm/ |
D | ptrace.h | 37 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/linux-4.1.27/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.1.27/arch/score/kernel/ |
D | vmlinux.lds.S | 57 RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.1.27/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.1.27/arch/um/kernel/skas/ |
D | process.c | 36 set_sigstack(cpu0_irqstack, THREAD_SIZE); in start_uml()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/frv/include/asm/ |
D | thread_info.h | 22 #define THREAD_SIZE 8192 macro
|
/linux-4.1.27/arch/mips/kernel/ |
D | perf_event.c | 56 sp <= stack_page + THREAD_SIZE - 32) in perf_callchain_kernel()
|
D | stacktrace.c | 45 sp <= stack_page + THREAD_SIZE - 32) in save_context_stack()
|
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 | vmlinux.lds.S | 84 INIT_TASK_DATA(THREAD_SIZE)
|
/linux-4.1.27/arch/um/include/shared/ |
D | common-offsets.h | 22 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
|
/linux-4.1.27/arch/avr32/oprofile/ |
D | backtrace.c | 31 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr()
|
/linux-4.1.27/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.1.27/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.1.27/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 | 253 BUG_ON(sp - (sp & ~(THREAD_SIZE - 1)) < STACK_WARN); in do_IRQ()
|
/linux-4.1.27/arch/avr32/boot/u-boot/ |
D | head.S | 40 sub sp, -THREAD_SIZE
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | thread_info.h | 132 #define THREAD_SIZE 8192 //(2*PAGE_SIZE) macro
|
/linux-4.1.27/arch/tile/kernel/ |
D | vmlinux.lds.S | 76 RW_DATA_SECTION(L2_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
D | stack.c | 48 return sp >= kstack_base && sp < kstack_base + THREAD_SIZE; in in_kernel_stack() 202 unsigned long ksp0_base = ksp0 & -THREAD_SIZE; in validate_stack()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | thread_info.h | 40 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/lguest/ |
D | head_32.S | 47 movl $(init_thread_union+THREAD_SIZE),%esp
|
/linux-4.1.27/arch/um/kernel/ |
D | stacktrace.c | 32 while (((long) sp & (THREAD_SIZE-1)) != 0) { in dump_trace()
|
D | process.c | 385 while (sp < stack_page + THREAD_SIZE) { in get_wchan()
|
/linux-4.1.27/arch/s390/oprofile/ |
D | backtrace.c | 76 S390_lowcore.thread_info + THREAD_SIZE); in s390_backtrace()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/arc/kernel/ |
D | vmlinux.lds.S | 115 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | stacktrace.c | 25 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.1.27/arch/arm64/kernel/ |
D | stacktrace.c | 44 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
D | vmlinux.lds.S | 153 RW_DATA_SECTION(64, PAGE_SIZE, THREAD_SIZE)
|
D | process.c | 363 frame.sp >= stack_page + THREAD_SIZE || in get_wchan()
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | thread_info.h | 52 #define THREAD_SIZE (2*PAGE_SIZE) macro
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | thread_info.h | 37 #define THREAD_SIZE KERNEL_STACK_SIZE macro
|
/linux-4.1.27/arch/powerpc/perf/ |
D | callchain.c | 44 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1))) in valid_next_sp()
|
/linux-4.1.27/fs/proc/ |
D | meminfo.c | 183 global_page_state(NR_KERNEL_STACK) * THREAD_SIZE / 1024, in meminfo_proc_show()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | entry.S | 48 movs.w -8192, $r0 ; THREAD_SIZE = 8192 68 movs.w -8192, $r0 ; THREAD_SIZE = 8192. 494 movs.w -8192, $r9 ; THREAD_SIZE == 8192
|
/linux-4.1.27/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.1.27/arch/sh/lib/ |
D | mcount.S | 45 mov #(THREAD_SIZE >> 10), r0; \
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | debug.c | 93 unsigned int libcfs_stack = 3 * THREAD_SIZE / 4;
|
/linux-4.1.27/drivers/misc/ |
D | lkdtm.c | 63 #define REC_STACK_SIZE (THREAD_SIZE / 8) 65 #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2)
|