THREAD_SIZE       161 arch/alpha/kernel/traps.c 		if (((long) stack & (THREAD_SIZE-1)) == 0)
THREAD_SIZE       327 arch/arc/include/asm/entry-compact.h 	bic \reg, sp, (THREAD_SIZE - 1)
THREAD_SIZE       218 arch/arc/include/asm/entry.h 	add2 \out, \out, (THREAD_SIZE)/4
THREAD_SIZE        58 arch/arc/include/asm/processor.h 	((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
THREAD_SIZE       145 arch/arc/include/asm/ptrace.h 	unsigned long pg_start = (sp & ~(THREAD_SIZE - 1));	\
THREAD_SIZE       146 arch/arc/include/asm/ptrace.h 	(struct pt_regs *)(pg_start + THREAD_SIZE) - 1;	\
THREAD_SIZE        65 arch/arc/include/asm/thread_info.h 	return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
THREAD_SIZE        70 arch/arc/include/asm/unwind.h #define STACK_LIMIT(ptr)	(((ptr) - 1) & ~(THREAD_SIZE - 1))
THREAD_SIZE        18 arch/arc/kernel/kprobes.c 		(unsigned long)current_thread_info() + THREAD_SIZE - (addr))
THREAD_SIZE       164 arch/arm/include/asm/ptrace.h 		((current_stack_pointer | (THREAD_SIZE - 1)) - 7) - 1;	\
THREAD_SIZE        18 arch/arm/include/asm/thread_info.h #define THREAD_START_SP		(THREAD_SIZE - 8)
THREAD_SIZE        91 arch/arm/include/asm/thread_info.h 		(current_stack_pointer & ~(THREAD_SIZE - 1));
THREAD_SIZE       313 arch/arm/kernel/process.c 		    frame.sp >= stack_page + THREAD_SIZE ||
THREAD_SIZE       133 arch/arm/kernel/ptrace.c 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE       134 arch/arm/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
THREAD_SIZE       361 arch/arm/kernel/smp.c 		: "r" (task_stack_page(current) + THREAD_SIZE - 8));
THREAD_SIZE        35 arch/arm/kernel/stacktrace.c 	high = ALIGN(low, THREAD_SIZE);
THREAD_SIZE       286 arch/arm/kernel/traps.c 			 THREAD_SIZE + (unsigned long)task_stack_page(tsk));
THREAD_SIZE       383 arch/arm/kernel/unwind.c 	ctrl.sp_high = ALIGN(low, THREAD_SIZE);
THREAD_SIZE       117 arch/arm64/include/asm/memory.h #define THREAD_ALIGN		(2 * THREAD_SIZE)
THREAD_SIZE       119 arch/arm64/include/asm/memory.h #define THREAD_ALIGN		THREAD_SIZE
THREAD_SIZE       122 arch/arm64/include/asm/memory.h #define IRQ_STACK_SIZE		THREAD_SIZE
THREAD_SIZE       255 arch/arm64/include/asm/processor.h 	((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
THREAD_SIZE        97 arch/arm64/include/asm/stacktrace.h 	unsigned long high = low + THREAD_SIZE;
THREAD_SIZE       123 arch/arm64/kernel/ptrace.c 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE       124 arch/arm64/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))) ||
THREAD_SIZE       112 arch/arm64/kernel/smp.c 	secondary_data.stack = task_stack_page(idle) + THREAD_SIZE;
THREAD_SIZE       836 arch/arm64/kernel/traps.c 		 tsk_stk, tsk_stk + THREAD_SIZE);
THREAD_SIZE       838 arch/arm64/kernel/traps.c 		 irq_stk, irq_stk + THREAD_SIZE);
THREAD_SIZE        27 arch/c6x/include/asm/thread_info.h #define THREAD_START_SP		(THREAD_SIZE - 8)
THREAD_SIZE       389 arch/c6x/kernel/traps.c 	endstack = (unsigned long *)(((unsigned long)stack + THREAD_SIZE - 1)
THREAD_SIZE       390 arch/c6x/kernel/traps.c 				     & -THREAD_SIZE);
THREAD_SIZE        17 arch/csky/include/asm/page.h #define THREAD_MASK	(~(THREAD_SIZE - 1))
THREAD_SIZE        99 arch/csky/include/asm/processor.h 	((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
THREAD_SIZE        17 arch/csky/include/asm/ptrace.h ({ (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1; })
THREAD_SIZE        49 arch/csky/include/asm/thread_info.h 	return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
THREAD_SIZE        17 arch/csky/kernel/dumpstack.c 	stack_end = (unsigned long *) (addr + THREAD_SIZE);
THREAD_SIZE        16 arch/csky/kernel/perf_callchain.c 	unsigned long high = low + THREAD_SIZE;
THREAD_SIZE       105 arch/csky/kernel/process.c 	stack_end = (unsigned long *)(task_stack_page(p) + THREAD_SIZE);
THREAD_SIZE       169 arch/csky/kernel/smp.c 		(unsigned int) task_stack_page(tidle) + THREAD_SIZE - 8;
THREAD_SIZE        33 arch/csky/kernel/stacktrace.c 	stack_end = (unsigned long *) (addr + THREAD_SIZE);
THREAD_SIZE        28 arch/h8300/include/asm/ptrace.h 	(THREAD_SIZE + (unsigned long)current_thread_info()) - 1)
THREAD_SIZE        32 arch/h8300/include/asm/ptrace.h 	((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
THREAD_SIZE        57 arch/h8300/include/asm/thread_info.h 		: "i" (~(THREAD_SIZE-1) & 0xffff));
THREAD_SIZE       115 arch/h8300/kernel/process.c 	childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1;
THREAD_SIZE       130 arch/h8300/kernel/traps.c 		if (((unsigned long)stack & (THREAD_SIZE - 1)) >=
THREAD_SIZE       131 arch/h8300/kernel/traps.c 		    THREAD_SIZE-4)
THREAD_SIZE       141 arch/h8300/kernel/traps.c 	while (((unsigned long)stack & (THREAD_SIZE - 1)) < THREAD_SIZE-4) {
THREAD_SIZE        58 arch/hexagon/include/asm/processor.h 	((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
THREAD_SIZE        38 arch/hexagon/include/uapi/asm/ptrace.h 	 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
THREAD_SIZE        67 arch/hexagon/kernel/asm-offsets.c 	DEFINE(_THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE        61 arch/hexagon/kernel/process.c 	childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) -
THREAD_SIZE       145 arch/hexagon/kernel/process.c 			fp >= (THREAD_SIZE - 8 + stack_page))
THREAD_SIZE       144 arch/hexagon/kernel/smp.c 	thread_ptr = thread_ptr & ~(THREAD_SIZE-1);
THREAD_SIZE       189 arch/hexagon/kernel/smp.c 	stack_start =  ((void *) thread) + THREAD_SIZE;
THREAD_SIZE        30 arch/hexagon/kernel/stacktrace.c 	high = low + THREAD_SIZE;
THREAD_SIZE       121 arch/hexagon/kernel/traps.c 	high = low + THREAD_SIZE - 8;
THREAD_SIZE       231 arch/m68k/include/asm/entry.h 	andl	#-THREAD_SIZE,\reg
THREAD_SIZE       255 arch/m68k/include/asm/entry.h 	"andw	#-"STR(THREAD_SIZE)","#tmp"\n\t" \
THREAD_SIZE        18 arch/m68k/include/asm/ptrace.h 	(struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
THREAD_SIZE        23 arch/m68k/include/asm/thread_info.h #define THREAD_SIZE_ORDER	((THREAD_SIZE / PAGE_SIZE) - 1)
THREAD_SIZE        53 arch/m68k/include/asm/thread_info.h 		: "di" (~(THREAD_SIZE-1))
THREAD_SIZE       130 arch/m68k/kernel/process.c 	frame = (struct fork_frame *) (task_stack_page(p) + THREAD_SIZE) - 1;
THREAD_SIZE       821 arch/m68k/kernel/traps.c 	addr = (unsigned long)stack + THREAD_SIZE - 1;
THREAD_SIZE       822 arch/m68k/kernel/traps.c 	endstack = (unsigned long *)(addr & -THREAD_SIZE);
THREAD_SIZE       950 arch/m68k/kernel/traps.c 	endstack = (unsigned long *)(((unsigned long)stack + THREAD_SIZE - 1) & -THREAD_SIZE);
THREAD_SIZE        27 arch/microblaze/include/asm/processor.h 		(((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
THREAD_SIZE        94 arch/microblaze/include/asm/thread_info.h 	return (struct thread_info *)(sp & ~(THREAD_SIZE-1));
THREAD_SIZE        49 arch/microblaze/kernel/traps.c 	words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2;
THREAD_SIZE       124 arch/mips/include/asm/compat.h 		((unsigned long) current_thread_info() + THREAD_SIZE - 32) - 1;
THREAD_SIZE        20 arch/mips/include/asm/irq.h #define IRQ_STACK_SIZE			THREAD_SIZE
THREAD_SIZE       382 arch/mips/include/asm/processor.h 			 THREAD_SIZE - 32 - sizeof(struct pt_regs))
THREAD_SIZE        98 arch/mips/include/asm/ptrace.h 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE        99 arch/mips/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
THREAD_SIZE       173 arch/mips/include/asm/ptrace.h 	(struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1 - 32) - 1;	\
THREAD_SIZE       101 arch/mips/include/asm/thread_info.h #define THREAD_MASK (THREAD_SIZE - 1UL)
THREAD_SIZE       103 arch/mips/include/asm/thread_info.h #define STACK_WARN	(THREAD_SIZE / 8)
THREAD_SIZE       103 arch/mips/kernel/asm-offsets.c 	DEFINE(_THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE        54 arch/mips/kernel/perf_event.c 		    sp <= stack_page + THREAD_SIZE - 32)
THREAD_SIZE       128 arch/mips/kernel/process.c 	childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32;
THREAD_SIZE       531 arch/mips/kernel/process.c 		high = stack_page + THREAD_SIZE - 32;
THREAD_SIZE        49 arch/mips/kernel/stacktrace.c 		    sp <= stack_page + THREAD_SIZE - 32)
THREAD_SIZE       137 arch/mips/oprofile/backtrace.c 	const unsigned long high_addr = low_addr + THREAD_SIZE;
THREAD_SIZE       171 arch/mips/oprofile/backtrace.c 	const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE);
THREAD_SIZE        91 arch/nds32/include/asm/processor.h 	((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE \
THREAD_SIZE       247 arch/nds32/kernel/process.c 		stack_end = (unsigned long)task_stack_page(p) + THREAD_SIZE;
THREAD_SIZE        30 arch/nios2/include/asm/entry.h 	addi	r24, r24, THREAD_SIZE-PT_REGS_SIZE
THREAD_SIZE        75 arch/nios2/include/asm/processor.h 	((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
THREAD_SIZE        74 arch/nios2/include/asm/ptrace.h 	((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
THREAD_SIZE        71 arch/nios2/include/asm/thread_info.h 	return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
THREAD_SIZE       170 arch/nios2/kernel/process.c 			(int)(((unsigned long) current) + THREAD_SIZE));
THREAD_SIZE        57 arch/openrisc/include/asm/processor.h #define user_regs(thread_info)  (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - STACK_FRAME_OVERHEAD)) - 1)
THREAD_SIZE       156 arch/openrisc/kernel/process.c 	unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE;
THREAD_SIZE       167 arch/openrisc/kernel/traps.c 		if (((long)stack & (THREAD_SIZE - 1)) == 0)
THREAD_SIZE       178 arch/openrisc/kernel/traps.c 	while (((long)stack & (THREAD_SIZE - 1)) != 0) {
THREAD_SIZE       419 arch/parisc/kernel/irq.c 	if (likely(stack_usage <= THREAD_SIZE))
THREAD_SIZE       447 arch/parisc/kernel/irq.c 	if (likely(stack_usage < (THREAD_SIZE - STACK_MARGIN)))
THREAD_SIZE       452 arch/parisc/kernel/irq.c 		current->comm, sp, stack_start, stack_start + THREAD_SIZE);
THREAD_SIZE       812 arch/parisc/kernel/ptrace.c 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE       813 arch/parisc/kernel/ptrace.c 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
THREAD_SIZE       178 arch/powerpc/include/asm/ptrace.h 	((struct pt_regs *)((unsigned long)task_stack_page(current) + THREAD_SIZE) - 1)
THREAD_SIZE       252 arch/powerpc/include/asm/ptrace.h 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE       253 arch/powerpc/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
THREAD_SIZE        29 arch/powerpc/kernel/head_32.h 	addi	r11,r11,THREAD_SIZE
THREAD_SIZE        68 arch/powerpc/kernel/head_32.h 	addi	r11,r11,THREAD_SIZE - INT_FRAME_SIZE
THREAD_SIZE        61 arch/powerpc/kernel/head_booke.h 	ALLOC_STACK_FRAME(r11, THREAD_SIZE);				     \
THREAD_SIZE       110 arch/powerpc/kernel/head_booke.h 	ALLOC_STACK_FRAME(r11, THREAD_SIZE - INT_FRAME_SIZE)
THREAD_SIZE       205 arch/powerpc/kernel/head_booke.h #define EXC_LVL_FRAME_OVERHEAD	(THREAD_SIZE - INT_FRAME_SIZE - EXC_LVL_SIZE)
THREAD_SIZE       604 arch/powerpc/kernel/irq.c 	sp = current_stack_pointer() & (THREAD_SIZE-1);
THREAD_SIZE       649 arch/powerpc/kernel/irq.c 	cursp = (void *)(current_stack_pointer() & ~(THREAD_SIZE - 1));
THREAD_SIZE      1598 arch/powerpc/kernel/process.c 	unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE;
THREAD_SIZE      1706 arch/powerpc/kernel/process.c 		struct pt_regs *regs = task_stack_page(current) + THREAD_SIZE;
THREAD_SIZE      1963 arch/powerpc/kernel/process.c 	if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
THREAD_SIZE      1967 arch/powerpc/kernel/process.c 	if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
THREAD_SIZE      1978 arch/powerpc/kernel/process.c 	if (sp < THREAD_SIZE)
THREAD_SIZE      1981 arch/powerpc/kernel/process.c 	if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
THREAD_SIZE       140 arch/powerpc/kernel/setup_32.c 	void *ptr = memblock_alloc(THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE       144 arch/powerpc/kernel/setup_32.c 		      THREAD_SIZE, (void *)_RET_IP_);
THREAD_SIZE       667 arch/powerpc/kernel/setup_64.c 	ptr = memblock_alloc_try_nid(THREAD_SIZE, THREAD_SIZE,
THREAD_SIZE       702 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->crit_kstack = sp + THREAD_SIZE;
THREAD_SIZE       706 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->dbg_kstack = sp + THREAD_SIZE;
THREAD_SIZE       710 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->mc_kstack = sp + THREAD_SIZE;
THREAD_SIZE       745 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
THREAD_SIZE       749 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->nmi_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
THREAD_SIZE       752 arch/powerpc/kernel/setup_64.c 		paca_ptrs[i]->mc_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
THREAD_SIZE       983 arch/powerpc/kernel/smp.c 				 THREAD_SIZE - STACK_FRAME_OVERHEAD;
THREAD_SIZE       108 arch/powerpc/kernel/stacktrace.c 	stack_end = stack_page + THREAD_SIZE;
THREAD_SIZE        41 arch/powerpc/perf/callchain.c 	if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1)))
THREAD_SIZE      2496 arch/powerpc/xmon/xmon.c 	printf(" %-*s = 0x%016llx\n", 25, "kstack_base", p->kstack & ~(THREAD_SIZE - 1));
THREAD_SIZE        42 arch/riscv/include/asm/processor.h 	((struct pt_regs *)(task_stack_page(tsk) + THREAD_SIZE		\
THREAD_SIZE       114 arch/riscv/kernel/smpboot.c 		  task_stack_page(tidle) + THREAD_SIZE);
THREAD_SIZE        52 arch/riscv/kernel/stacktrace.c 		high = ALIGN(sp, THREAD_SIZE);
THREAD_SIZE       104 arch/s390/boot/kaslr.c 	safe_addr = ALIGN(safe_addr, THREAD_SIZE);
THREAD_SIZE       164 arch/s390/boot/kaslr.c 			base = ALIGN_DOWN(base, THREAD_SIZE);
THREAD_SIZE        47 arch/s390/include/asm/kprobes.h 	(((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR))) \
THREAD_SIZE        49 arch/s390/include/asm/kprobes.h 	: (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR)))
THREAD_SIZE       203 arch/s390/include/asm/processor.h         (task_stack_page(tsk) + THREAD_SIZE) - 1)
THREAD_SIZE        30 arch/s390/include/asm/thread_info.h 	(THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs))
THREAD_SIZE        60 arch/s390/kernel/dumpstack.c 	return in_stack(sp, info, STACK_TYPE_TASK, stack, stack + THREAD_SIZE);
THREAD_SIZE        69 arch/s390/kernel/dumpstack.c 	return in_stack(sp, info, STACK_TYPE_IRQ, top - THREAD_SIZE, top);
THREAD_SIZE        78 arch/s390/kernel/dumpstack.c 	return in_stack(sp, info, STACK_TYPE_NODAT, top - THREAD_SIZE, top);
THREAD_SIZE        87 arch/s390/kernel/dumpstack.c 	return in_stack(sp, info, STACK_TYPE_RESTART, top - THREAD_SIZE, top);
THREAD_SIZE      1723 arch/s390/kernel/ptrace.c 	return (addr & ~(THREAD_SIZE - 1)) == (ksp & ~(THREAD_SIZE - 1));
THREAD_SIZE       313 arch/s390/kernel/setup.c 		__vmalloc_node_range(THREAD_SIZE, THREAD_SIZE,
THREAD_SIZE       409 arch/s390/kernel/setup.c 		+ THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs);
THREAD_SIZE       434 arch/s390/kernel/setup.c 	restart_stack = memblock_alloc(THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE       437 arch/s390/kernel/setup.c 		      __func__, THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE       287 arch/s390/kernel/smp.c 		+ THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs);
THREAD_SIZE        19 arch/sh/include/asm/kprobes.h 	(((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
THREAD_SIZE        21 arch/sh/include/asm/kprobes.h 	: (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
THREAD_SIZE        96 arch/sh/include/asm/ptrace.h 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE        97 arch/sh/include/asm/ptrace.h 		(kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
THREAD_SIZE       127 arch/sh/include/asm/ptrace.h 	((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
THREAD_SIZE        50 arch/sh/include/asm/thread_info.h #define STACK_WARN	(THREAD_SIZE >> 3)
THREAD_SIZE        84 arch/sh/include/asm/thread_info.h 		: "1" (~(THREAD_SIZE - 1))
THREAD_SIZE        95 arch/sh/kernel/dumpstack.c 		((unsigned long)sp & (~(THREAD_SIZE - 1)));
THREAD_SIZE       159 arch/sh/kernel/dumpstack.c 	dump_mem("Stack: ", stack, THREAD_SIZE +
THREAD_SIZE        62 arch/sh/kernel/irq.c 	u32			stack[THREAD_SIZE/sizeof(u32)];
THREAD_SIZE        68 arch/sh/kernel/irq.c static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
THREAD_SIZE        69 arch/sh/kernel/irq.c static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
THREAD_SIZE       126 arch/sh/kernel/irq.c 	irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE];
THREAD_SIZE       134 arch/sh/kernel/irq.c 	irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE];
THREAD_SIZE       333 arch/sh/kernel/process_64.c              ((struct pt_regs *)(THREAD_SIZE + (unsigned long) current) - 1);
THREAD_SIZE       389 arch/sh/kernel/process_64.c 	childregs = (struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1;
THREAD_SIZE        70 arch/sh/kernel/ptrace_64.c 	regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1;
THREAD_SIZE       112 arch/sh/kernel/ptrace_64.c 	regs = (struct pt_regs*)((unsigned char *)task + THREAD_SIZE) - 1;
THREAD_SIZE        41 arch/sh/kernel/traps.c 		dump_mem("Stack: ", regs->regs[15], THREAD_SIZE +
THREAD_SIZE        38 arch/sparc/include/asm/ptrace.h 	((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
THREAD_SIZE       141 arch/sparc/include/asm/ptrace.h 	((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
THREAD_SIZE       861 arch/sparc/kernel/irq_64.c 	sp += THREAD_SIZE - 192 - STACK_BIAS;
THREAD_SIZE        20 arch/sparc/kernel/kstack.h 	    sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
THREAD_SIZE        26 arch/sparc/kernel/kstack.h 		    sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
THREAD_SIZE        30 arch/sparc/kernel/kstack.h 		    sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
THREAD_SIZE        43 arch/sparc/kernel/kstack.h 	    addr <= (base + THREAD_SIZE - sizeof(*regs)))
THREAD_SIZE        49 arch/sparc/kernel/kstack.h 		    addr <= (base + THREAD_SIZE - sizeof(*regs)))
THREAD_SIZE        53 arch/sparc/kernel/kstack.h 		    addr <= (base + THREAD_SIZE - sizeof(*regs)))
THREAD_SIZE        71 arch/sparc/kernel/kstack.h 	    orig_sp > (sp + THREAD_SIZE)) {
THREAD_SIZE        72 arch/sparc/kernel/kstack.h 		sp += THREAD_SIZE - 192 - STACK_BIAS;
THREAD_SIZE       229 arch/sparc/kernel/process_32.c 		    (task_stack_page(current) + (THREAD_SIZE - TRACEREG_SZ));
THREAD_SIZE       327 arch/sparc/kernel/process_32.c 	new_stack = task_stack_page(p) + THREAD_SIZE;
THREAD_SIZE       627 arch/sparc/kernel/process_64.c 			    (THREAD_SIZE - child_stack_sz));
THREAD_SIZE      1179 arch/sparc/kernel/ptrace_64.c 	return ((addr & ~(THREAD_SIZE - 1))  ==
THREAD_SIZE      1180 arch/sparc/kernel/ptrace_64.c 		(ksp & ~(THREAD_SIZE - 1)));
THREAD_SIZE       625 arch/sparc/kernel/setup_64.c 		softirq_stack[i] = memblock_alloc_node(THREAD_SIZE,
THREAD_SIZE       626 arch/sparc/kernel/setup_64.c 						       THREAD_SIZE, node);
THREAD_SIZE       629 arch/sparc/kernel/setup_64.c 			      __func__, THREAD_SIZE, THREAD_SIZE, node);
THREAD_SIZE       630 arch/sparc/kernel/setup_64.c 		hardirq_stack[i] = memblock_alloc_node(THREAD_SIZE,
THREAD_SIZE       631 arch/sparc/kernel/setup_64.c 						       THREAD_SIZE, node);
THREAD_SIZE       634 arch/sparc/kernel/setup_64.c 			      __func__, THREAD_SIZE, THREAD_SIZE, node);
THREAD_SIZE        47 arch/um/include/asm/thread_info.h 	unsigned long mask = THREAD_SIZE - 1;
THREAD_SIZE        23 arch/um/include/shared/common-offsets.h DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
THREAD_SIZE       429 arch/um/kernel/process.c 	while (sp < stack_page + THREAD_SIZE) {
THREAD_SIZE        39 arch/um/kernel/skas/process.c 	set_sigstack(cpu0_irqstack, THREAD_SIZE);
THREAD_SIZE        29 arch/um/kernel/stacktrace.c 	while (((long) sp & (THREAD_SIZE-1)) != 0) {
THREAD_SIZE        19 arch/unicore32/include/asm/thread_info.h #define THREAD_START_SP		(THREAD_SIZE - 8)
THREAD_SIZE        95 arch/unicore32/include/asm/thread_info.h 	return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
THREAD_SIZE        40 arch/unicore32/kernel/stacktrace.c 	high = ALIGN(low, THREAD_SIZE);
THREAD_SIZE       202 arch/unicore32/kernel/traps.c 			 THREAD_SIZE + (unsigned long)task_stack_page(tsk));
THREAD_SIZE        25 arch/x86/include/asm/page_32_types.h #define IRQ_STACK_SIZE		THREAD_SIZE
THREAD_SIZE       563 arch/x86/include/asm/processor.h 			       current_stack_pointer) < THREAD_SIZE;
THREAD_SIZE       825 arch/x86/include/asm/processor.h 	__ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING;		\
THREAD_SIZE       244 arch/x86/include/asm/ptrace.h 	return ((addr & ~(THREAD_SIZE - 1)) == (regs->sp & ~(THREAD_SIZE - 1)));
THREAD_SIZE       162 arch/x86/include/asm/thread_info.h #define STACK_WARN		(THREAD_SIZE/8)
THREAD_SIZE      1771 arch/x86/kernel/cpu/common.c 	(unsigned long)&init_thread_union + THREAD_SIZE;
THREAD_SIZE        36 arch/x86/kernel/dumpstack.c 	unsigned long *end   = task_stack_page(task) + THREAD_SIZE;
THREAD_SIZE        38 arch/x86/kernel/dumpstack_32.c 	unsigned long *end   = begin + (THREAD_SIZE / sizeof(long));
THREAD_SIZE        63 arch/x86/kernel/dumpstack_32.c 	unsigned long *end   = begin + (THREAD_SIZE / sizeof(long));
THREAD_SIZE        36 arch/x86/kernel/irq_32.c 			     "=r" (sp) : "0" (THREAD_SIZE - 1));
THREAD_SIZE        70 arch/x86/kernel/irq_32.c 	return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
THREAD_SIZE       833 arch/x86/kernel/process.c 	top = start + THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING;
THREAD_SIZE       285 arch/x86/kernel/process_32.c 		       THREAD_SIZE);
THREAD_SIZE       306 arch/x86/kernel/traps.c 		 (char *)current->stack + THREAD_SIZE - 1);
THREAD_SIZE       782 arch/x86/mm/fault.c 	     address - ((unsigned long)tsk->stack + THREAD_SIZE) < PAGE_SIZE)) {
THREAD_SIZE        44 arch/xtensa/kernel/irq.c 		sp &= THREAD_SIZE - 1;
THREAD_SIZE       314 arch/xtensa/kernel/process.c 		    sp >= (stack_page + THREAD_SIZE) ||
THREAD_SIZE       126 arch/xtensa/kernel/stacktrace.c 	sp_start = a1 & ~(THREAD_SIZE - 1);
THREAD_SIZE       127 arch/xtensa/kernel/stacktrace.c 	sp_end = sp_start + THREAD_SIZE;
THREAD_SIZE       176 arch/xtensa/kernel/stacktrace.c 	sp_end = ALIGN(a1, THREAD_SIZE);
THREAD_SIZE        27 drivers/misc/lkdtm/bugs.c #define REC_STACK_SIZE (THREAD_SIZE / 8)
THREAD_SIZE        29 drivers/misc/lkdtm/bugs.c #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2)
THREAD_SIZE       265 drivers/misc/lkdtm/bugs.c 	const unsigned char *ptr = stack + THREAD_SIZE;
THREAD_SIZE        26 drivers/misc/lkdtm/stackleak.c 	left = ((unsigned long)sp & (THREAD_SIZE - 1)) / sizeof(unsigned long);
THREAD_SIZE        65 drivers/misc/lkdtm/usercopy.c 		bad_stack = task_stack_page(current) + THREAD_SIZE;
THREAD_SIZE       189 fs/erofs/zdata.h 	min_t(unsigned int, THREAD_SIZE / 8 / sizeof(struct page *), 96U)
THREAD_SIZE      2982 fs/proc/base.c 	unsigned long prev_depth = THREAD_SIZE -
THREAD_SIZE      2983 fs/proc/base.c 				(task->prev_lowest_stack & (THREAD_SIZE - 1));
THREAD_SIZE      2984 fs/proc/base.c 	unsigned long depth = THREAD_SIZE -
THREAD_SIZE      2985 fs/proc/base.c 				(task->lowest_stack & (THREAD_SIZE - 1));
THREAD_SIZE       327 include/asm-generic/vmlinux.lds.h 	. = __start_init_task + THREAD_SIZE;				\
THREAD_SIZE      1636 include/linux/sched.h 	unsigned long stack[THREAD_SIZE/sizeof(long)];
THREAD_SIZE      1643 include/linux/sched.h extern unsigned long init_stack[THREAD_SIZE / sizeof(unsigned long)];
THREAD_SIZE        53 include/linux/sched/task_stack.h 	return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1;
THREAD_SIZE        85 include/linux/sched/task_stack.h 	return (obj >= stack) && (obj < (stack + THREAD_SIZE));
THREAD_SIZE       118 include/linux/sched/task_stack.h 	return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*)));
THREAD_SIZE        43 include/linux/thread_info.h #define THREAD_ALIGN	THREAD_SIZE
THREAD_SIZE       500 init/main.c    # if THREAD_SIZE >= PAGE_SIZE
THREAD_SIZE       691 kernel/exit.c  	static int lowest_to_date = THREAD_SIZE;
THREAD_SIZE       184 kernel/fork.c  # if THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)
THREAD_SIZE       228 kernel/fork.c  		memset(s->addr, 0, THREAD_SIZE);
THREAD_SIZE       240 kernel/fork.c  	stack = __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN,
THREAD_SIZE       276 kernel/fork.c  		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
THREAD_SIZE       319 kernel/fork.c  					THREAD_SIZE, THREAD_SIZE, 0, 0,
THREAD_SIZE       320 kernel/fork.c  					THREAD_SIZE, NULL);
THREAD_SIZE       380 kernel/fork.c  		BUG_ON(vm->nr_pages != THREAD_SIZE / PAGE_SIZE);
THREAD_SIZE       382 kernel/fork.c  		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
THREAD_SIZE       395 kernel/fork.c  				    THREAD_SIZE / 1024 * account);
THREAD_SIZE       398 kernel/fork.c  				    account * (THREAD_SIZE / 1024));
THREAD_SIZE       411 kernel/fork.c  		for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
THREAD_SIZE       770 kernel/fork.c  				    (u64) THREAD_SIZE * 8UL);
THREAD_SIZE        63 kernel/stackleak.c 	if (unlikely(kstack_ptr - boundary >= THREAD_SIZE))
THREAD_SIZE       103 kernel/stackleak.c 	current->lowest_stack = current_top_of_stack() - THREAD_SIZE/64;
THREAD_SIZE       270 kernel/trace/trace_probe.c #define PARAM_MAX_STACK (THREAD_SIZE / sizeof(unsigned long))
THREAD_SIZE       162 kernel/trace/trace_stack.c 	this_size = ((unsigned long)stack) & (THREAD_SIZE-1);
THREAD_SIZE       163 kernel/trace/trace_stack.c 	this_size = THREAD_SIZE - this_size;
THREAD_SIZE       214 kernel/trace/trace_stack.c 		(((unsigned long)start & ~(THREAD_SIZE-1)) + THREAD_SIZE);
THREAD_SIZE       183 mm/kasan/common.c 	__kasan_unpoison_stack(task, task_stack_page(task) + THREAD_SIZE);
THREAD_SIZE       194 mm/kasan/common.c 	void *base = (void *)((unsigned long)watermark & ~(THREAD_SIZE - 1));
THREAD_SIZE      1476 mm/kmemleak.c  				scan_block(stack, stack + THREAD_SIZE, NULL);
THREAD_SIZE        37 mm/usercopy.c  	const void * const stackend = stack + THREAD_SIZE;