Searched refs:THREAD_SIZE (Results 101 - 125 of 207) sorted by relevance

123456789

/linux-master/arch/riscv/include/asm/
H A Dprocessor.h141 ((struct pt_regs *)(task_stack_page(tsk) + THREAD_SIZE \
/linux-master/arch/m68k/include/asm/
H A Dentry.h231 andl #-THREAD_SIZE,\reg
255 "andw #-"STR(THREAD_SIZE)","#tmp"\n\t" \
/linux-master/arch/s390/kernel/
H A Ddumpstack.c46 if (sp < stack || sp >= stack + THREAD_SIZE)
50 info->end = stack + THREAD_SIZE;
/linux-master/arch/xtensa/kernel/
H A Dvmlinux.lds.S145 RW_DATA(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
357 RW_DATA(XCHAL_ICACHE_LINESIZE, PAGE_SIZE, THREAD_SIZE)
H A Dirq.c42 sp &= THREAD_SIZE - 1;
/linux-master/arch/m68k/68000/
H A Dentry.S74 andl #-THREAD_SIZE,%d1
100 andl #-THREAD_SIZE,%d1
H A Dhead.S238 lea THREAD_SIZE(%a0),%sp
/linux-master/arch/x86/include/asm/
H A Dptrace.h362 return ((addr & ~(THREAD_SIZE - 1)) == (regs->sp & ~(THREAD_SIZE - 1)));
/linux-master/arch/s390/include/asm/
H A Dprocessor.h242 (task_stack_page(tsk) + THREAD_SIZE) - 1)
264 return !((ksp ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
/linux-master/arch/powerpc/kernel/
H A Dhead_booke.h64 ALLOC_STACK_FRAME(r11, THREAD_SIZE); \
141 ALLOC_STACK_FRAME(r1, THREAD_SIZE - INT_FRAME_SIZE)
177 addi r8,r8,THREAD_SIZE - INT_FRAME_SIZE;
182 addi r8,r8,THREAD_SIZE - INT_FRAME_SIZE;
209 addi r11,r11,THREAD_SIZE - INT_FRAME_SIZE; /* allocate stack frame */\
H A Dprocess.c1629 struct pt_regs *regs = task_stack_page(current) + THREAD_SIZE;
1754 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE;
2153 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
2157 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
2181 stack_page = (unsigned long)paca_ptrs[cpu]->emergency_sp - THREAD_SIZE;
2182 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
2186 stack_page = (unsigned long)paca_ptrs[cpu]->nmi_emergency_sp - THREAD_SIZE;
2187 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE - nbytes)
2190 stack_page = (unsigned long)paca_ptrs[cpu]->mc_emergency_sp - THREAD_SIZE;
2191 if (sp >= stack_page && sp <= stack_page + THREAD_SIZE
[all...]
H A Dswitch.S170 addi r7,r7,THREAD_SIZE-SWITCH_FRAME_SIZE
H A Dstacktrace.c75 stack_end = stack_page + THREAD_SIZE;
/linux-master/arch/nios2/kernel/
H A Dentry.S39 .if THREAD_SIZE & 0xffff0000
40 andhi \reg, sp, %hi(~(THREAD_SIZE-1))
42 addi \reg, r0, %lo(~(THREAD_SIZE-1))
H A Dhead.S159 addi sp, r1, THREAD_SIZE
/linux-master/arch/riscv/kernel/
H A Dhead.S265 la sp, _end + THREAD_SIZE
293 la sp, init_thread_union + THREAD_SIZE
313 la sp, init_thread_union + THREAD_SIZE
H A Dstacktrace.c52 high = ALIGN(sp, THREAD_SIZE);
/linux-master/arch/parisc/kernel/
H A Dirq.c399 if (likely(stack_usage <= THREAD_SIZE))
427 if (likely(stack_usage < (THREAD_SIZE - STACK_MARGIN)))
432 current->comm, sp, stack_start, stack_start + THREAD_SIZE);
/linux-master/arch/arm/kernel/
H A Dunwind.c414 ctrl.sp_high = ALIGN(sp_low - THREAD_SIZE, THREAD_ALIGN)
415 + THREAD_SIZE;
492 ctrl.sp_high = ALIGN(frame->fp, THREAD_SIZE);
/linux-master/drivers/misc/lkdtm/
H A Dbugs.c29 * recurse past the end of THREAD_SIZE by default.
34 #define REC_STACK_SIZE (THREAD_SIZE / 8UL)
36 #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2)
513 const unsigned char *ptr = stack + THREAD_SIZE;
/linux-master/arch/sh/kernel/
H A Dtraps.c42 THREAD_SIZE + (unsigned long)task_stack_page(current));
/linux-master/arch/csky/kernel/
H A Dstacktrace.c46 high = ALIGN(sp, THREAD_SIZE);
/linux-master/mm/
H A Dusercopy.c40 const void * const stackend = stack + THREAD_SIZE;
/linux-master/arch/openrisc/kernel/
H A Dprocess.c174 unsigned long sp = (unsigned long)task_stack_page(p) + THREAD_SIZE;
/linux-master/arch/loongarch/include/asm/
H A Dprocessor.h202 THREAD_SIZE - sizeof(struct pt_regs))

Completed in 365 milliseconds

123456789