/linux-master/arch/arm/kernel/ |
H A D | irq.c | 63 stack = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, 69 per_cpu(irq_stack_ptr, cpu) = &stack[THREAD_SIZE];
|
H A D | vmlinux-xip.lds.S | 114 . = ALIGN(THREAD_SIZE); 116 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, 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/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/hexagon/kernel/ |
H A D | process.c | 63 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - 137 fp >= (THREAD_SIZE - 8 + stack_page))
|
/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)
|
/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 | 252 BUILD_BUG_ON(!IS_ALIGNED(__START_KERNEL, THREAD_SIZE)); 253 BUILD_BUG_ON(!IS_ALIGNED(__NO_KASLR_START_KERNEL, THREAD_SIZE)); 289 slots = DIV_ROUND_UP(kaslr_len - kernel_size, THREAD_SIZE); 292 kernel_end = vmax - pos * THREAD_SIZE; 293 kernel_start = round_down(kernel_end - kernel_size, THREAD_SIZE); 295 kernel_start = round_down(vmax - kernel_size, THREAD_SIZE); 430 __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_);
|
H A D | setup_64.c | 192 (THREAD_SIZE/2); 722 ptr = memblock_alloc_try_nid(THREAD_SIZE, THREAD_ALIGN, 757 paca_ptrs[i]->crit_kstack = sp + THREAD_SIZE; 761 paca_ptrs[i]->dbg_kstack = sp + THREAD_SIZE; 765 paca_ptrs[i]->mc_kstack = sp + THREAD_SIZE; 809 paca_ptrs[i]->emergency_sp = alloc_stack(limit, i) + THREAD_SIZE; 813 paca_ptrs[i]->nmi_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE; 816 paca_ptrs[i]->mc_emergency_sp = alloc_stack(mce_limit, i) + THREAD_SIZE;
|
/linux-master/arch/sparc/kernel/ |
H A D | setup_64.c | 609 softirq_stack[i] = memblock_alloc_node(THREAD_SIZE, 610 THREAD_SIZE, node); 613 __func__, THREAD_SIZE, THREAD_SIZE, node); 614 hardirq_stack[i] = memblock_alloc_node(THREAD_SIZE, 615 THREAD_SIZE, node); 618 __func__, THREAD_SIZE, THREAD_SIZE, node);
|