Searched refs:THREAD_SIZE (Results 26 - 50 of 207) sorted by relevance

123456789

/linux-master/arch/loongarch/include/asm/
H A Dptrace.h87 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 Dptrace.h99 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 Dirq.h19 #define IRQ_STACK_SIZE THREAD_SIZE
/linux-master/arch/mips/kernel/
H A Dperf_event.c54 sp <= stack_page + THREAD_SIZE - 32)
/linux-master/arch/um/kernel/skas/
H A Dprocess.c39 set_sigstack(cpu0_irqstack, THREAD_SIZE);
/linux-master/arch/hexagon/kernel/
H A Dstacktrace.c30 high = low + THREAD_SIZE;
/linux-master/arch/csky/kernel/
H A Dhead.S13 lrw r6, init_thread_union + THREAD_SIZE
/linux-master/arch/openrisc/include/asm/
H A Dthread_info.h26 /* 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 Dprocessor.h57 #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 Dthread_info.h20 #define THREAD_SIZE (1<<THREAD_SHIFT) macro
H A Dprocessor.h58 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
/linux-master/arch/nios2/include/asm/
H A Dptrace.h74 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
H A Dprocessor.h67 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
/linux-master/arch/nios2/kernel/
H A Dvmlinux.lds.S52 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/linux-master/arch/riscv/kernel/
H A Dcpu_ops_spinwait.c38 task_stack_page(tidle) + THREAD_SIZE);
/linux-master/arch/powerpc/perf/
H A Dcallchain.c38 if ((sp & ~(THREAD_SIZE - 1)) != (prev_sp & ~(THREAD_SIZE - 1)))
/linux-master/arch/arm64/include/asm/
H A Dstacktrace.h45 unsigned long high = low + THREAD_SIZE;
115 unsigned long low = high - THREAD_SIZE;
/linux-master/arch/csky/include/asm/
H A Dpage.h16 #define THREAD_SIZE (PAGE_SIZE * 2) macro
17 #define THREAD_MASK (~(THREAD_SIZE - 1))
/linux-master/arch/sparc/kernel/
H A Dtrampoline_32.S65 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 Dthread_info_64.h103 #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 Dptrace.h38 ((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 Dentry.S71 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 Defi.c198 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 Dirq.c193 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 Ddumpstack.c96 ((unsigned long)sp & (~(THREAD_SIZE - 1)));
153 dump_mem("Stack: ", loglvl, stack, THREAD_SIZE +

Completed in 180 milliseconds

123456789