/linux-master/arch/x86/kernel/ |
H A D | dumpstack_32.c | 41 unsigned long *end = begin + (THREAD_SIZE / sizeof(long)); 66 unsigned long *end = begin + (THREAD_SIZE / sizeof(long));
|
H A D | irq_32.c | 37 "=r" (sp) : "0" (THREAD_SIZE - 1)); 68 return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
|
/linux-master/arch/arm/kernel/ |
H A D | vmlinux-xip.lds.S | 114 . = ALIGN(THREAD_SIZE); 116 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
H A D | irq.c | 64 stack = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, 70 per_cpu(irq_stack_ptr, cpu) = &stack[THREAD_SIZE];
|
H A D | stacktrace.c | 64 high = ALIGN(low, THREAD_SIZE); 98 if ((unsigned long)®s[1] > ALIGN(frame->sp, THREAD_SIZE))
|
/linux-master/arch/hexagon/kernel/ |
H A D | process.c | 63 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - 137 fp >= (THREAD_SIZE - 8 + stack_page))
|
H A D | smp.c | 134 thread_ptr = thread_ptr & ~(THREAD_SIZE-1); 182 stack_start = ((void *) thread) + THREAD_SIZE;
|
/linux-master/arch/sparc/include/asm/ |
H A D | thread_info_32.h | 78 #define THREAD_SIZE (2 * PAGE_SIZE) macro
|
H A D | processor_32.h | 52 .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \
|
/linux-master/arch/parisc/include/asm/ |
H A D | thread_info.h | 35 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
/linux-master/arch/csky/include/asm/ |
H A D | thread_info.h | 51 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
|
H A D | processor.h | 81 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
|
H A D | ptrace.h | 19 ({ (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1; })
|
/linux-master/arch/xtensa/include/asm/ |
H A D | thread_info.h | 142 #define THREAD_SIZE KERNEL_STACK_SIZE macro
|
/linux-master/arch/um/kernel/ |
H A D | stacktrace.c | 29 while (((long) sp & (THREAD_SIZE-1)) != 0) {
|
/linux-master/arch/microblaze/include/asm/ |
H A D | processor.h | 24 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
|
/linux-master/arch/sh/kernel/ |
H A D | vmlinux.lds.S | 46 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/linux-master/arch/x86/include/asm/ |
H A D | page_64_types.h | 16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
|
H A D | switch_to.h | 75 wrmsrns(MSR_IA32_FRED_RSP0, (unsigned long)task_stack_page(task) + THREAD_SIZE);
|
/linux-master/drivers/misc/lkdtm/ |
H A D | stackleak.c | 107 task_stack_base + THREAD_SIZE - task_stack_high,
|
/linux-master/arch/arc/include/asm/ |
H A D | processor.h | 41 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
|
H A D | ptrace.h | 137 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \ 138 (struct pt_regs *)(pg_start + THREAD_SIZE) - 1; \
|
/linux-master/arch/arm64/include/asm/ |
H A D | memory.h | 129 #define THREAD_SIZE (UL(1) << THREAD_SHIFT) macro 132 * By aligning VMAP'd stacks to 2 * THREAD_SIZE, we can detect overflow by 137 #define THREAD_ALIGN (2 * THREAD_SIZE) 139 #define THREAD_ALIGN THREAD_SIZE 142 #define IRQ_STACK_SIZE THREAD_SIZE
|
/linux-master/arch/s390/boot/ |
H A D | startup.c | 251 BUILD_BUG_ON(!IS_ALIGNED(__START_KERNEL, THREAD_SIZE)); 252 BUILD_BUG_ON(!IS_ALIGNED(__NO_KASLR_START_KERNEL, THREAD_SIZE)); 288 slots = DIV_ROUND_UP(kaslr_len - kernel_size, THREAD_SIZE); 291 kernel_end = vmax - pos * THREAD_SIZE; 292 kernel_start = round_down(kernel_end - kernel_size, THREAD_SIZE); 294 kernel_start = round_down(vmax - kernel_size, THREAD_SIZE); 429 __kaslr_offset_phys = randomize_within_range(kernel_size, THREAD_SIZE, 0, ident_map_size);
|
/linux-master/arch/powerpc/kernel/ |
H A D | setup_32.c | 143 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_ALIGN); 147 THREAD_SIZE, (void *)_RET_IP_);
|