/linux-master/arch/loongarch/include/asm/ |
H A D | ptrace.h | 87 return ((addr & ~(THREAD_SIZE - 1)) == 88 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); 176 (struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1) - 1; \
|
/linux-master/arch/mips/include/asm/ |
H A D | ptrace.h | 99 return ((addr & ~(THREAD_SIZE - 1)) == 100 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); 176 (struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1 - 32) - 1; \
|
H A D | irq.h | 19 #define IRQ_STACK_SIZE THREAD_SIZE
|
/linux-master/arch/mips/kernel/ |
H A D | perf_event.c | 54 sp <= stack_page + THREAD_SIZE - 32)
|
/linux-master/arch/um/kernel/skas/ |
H A D | process.c | 39 set_sigstack(cpu0_irqstack, THREAD_SIZE);
|
/linux-master/arch/hexagon/kernel/ |
H A D | stacktrace.c | 30 high = low + THREAD_SIZE;
|
/linux-master/arch/csky/kernel/ |
H A D | head.S | 13 lrw r6, init_thread_union + THREAD_SIZE
|
/linux-master/arch/openrisc/include/asm/ |
H A D | thread_info.h | 26 /* THREAD_SIZE is the size of the task_struct/kernel_stack combo. 27 * normally, the stack is found by doing something like p + THREAD_SIZE 32 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
H A D | processor.h | 57 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE - STACK_FRAME_OVERHEAD)) - 1)
|
/linux-master/arch/hexagon/include/asm/ |
H A D | thread_info.h | 20 #define THREAD_SIZE (1<<THREAD_SHIFT) macro
|
H A D | processor.h | 58 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
|
/linux-master/arch/nios2/include/asm/ |
H A D | ptrace.h | 74 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
|
H A D | processor.h | 67 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
|
/linux-master/arch/nios2/kernel/ |
H A D | vmlinux.lds.S | 52 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-master/arch/riscv/kernel/ |
H A D | cpu_ops_spinwait.c | 38 task_stack_page(tidle) + THREAD_SIZE);
|
/linux-master/arch/powerpc/perf/ |
H A D | callchain.c | 38 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1)))
|
/linux-master/arch/arm64/include/asm/ |
H A D | stacktrace.h | 45 unsigned long high = low + THREAD_SIZE; 115 unsigned long low = high - THREAD_SIZE;
|
/linux-master/arch/csky/include/asm/ |
H A D | page.h | 16 #define THREAD_SIZE (PAGE_SIZE * 2) macro 17 #define THREAD_MASK (~(THREAD_SIZE - 1))
|
/linux-master/arch/sparc/kernel/ |
H A D | trampoline_32.S | 65 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 66 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 126 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 127 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp 182 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp 183 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
|
/linux-master/arch/sparc/include/asm/ |
H A D | thread_info_64.h | 103 #define THREAD_SIZE (2*PAGE_SIZE) macro 106 #define THREAD_SIZE PAGE_SIZE macro 119 .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \
|
H A D | ptrace.h | 38 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 141 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/linux-master/arch/m68k/coldfire/ |
H A D | entry.S | 71 andl #-THREAD_SIZE,%d2 /* at start of kernel stack */ 108 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */ 132 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
|
/linux-master/arch/arm64/kernel/ |
H A D | efi.c | 198 static_assert(THREAD_SIZE >= SZ_8K); 207 p = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, GFP_KERNEL, 215 efi_rt_stack_top = p + THREAD_SIZE;
|
/linux-master/arch/powerpc/kernel/ |
H A D | irq.c | 193 sp &= THREAD_SIZE - 1; 196 if (unlikely(sp < THREAD_SIZE / 4)) { 217 [sp] "b" (sp), [offset] "i" (THREAD_SIZE - STACK_FRAME_MIN_SIZE), 275 [sp] "b" (sp), [offset] "i" (THREAD_SIZE - STACK_FRAME_MIN_SIZE), 290 cursp = (void *)(current_stack_pointer & ~(THREAD_SIZE - 1)); 309 return __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, THREADINFO_GFP,
|
/linux-master/arch/sh/kernel/ |
H A D | dumpstack.c | 96 ((unsigned long)sp & (~(THREAD_SIZE - 1))); 153 dump_mem("Stack: ", loglvl, stack, THREAD_SIZE +
|