Searched refs:THREAD_SIZE (Results 51 - 75 of 207) sorted by relevance

123456789

/linux-master/arch/x86/kernel/
H A Ddumpstack_32.c41 unsigned long *end = begin + (THREAD_SIZE / sizeof(long));
66 unsigned long *end = begin + (THREAD_SIZE / sizeof(long));
H A Dirq_32.c37 "=r" (sp) : "0" (THREAD_SIZE - 1));
68 return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
/linux-master/arch/arm/kernel/
H A Dvmlinux-xip.lds.S114 . = ALIGN(THREAD_SIZE);
116 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
H A Dirq.c64 stack = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN,
70 per_cpu(irq_stack_ptr, cpu) = &stack[THREAD_SIZE];
H A Dstacktrace.c64 high = ALIGN(low, THREAD_SIZE);
98 if ((unsigned long)&regs[1] > ALIGN(frame->sp, THREAD_SIZE))
/linux-master/arch/hexagon/kernel/
H A Dprocess.c63 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) -
137 fp >= (THREAD_SIZE - 8 + stack_page))
H A Dsmp.c134 thread_ptr = thread_ptr & ~(THREAD_SIZE-1);
182 stack_start = ((void *) thread) + THREAD_SIZE;
/linux-master/arch/sparc/include/asm/
H A Dthread_info_32.h78 #define THREAD_SIZE (2 * PAGE_SIZE) macro
H A Dprocessor_32.h52 .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \
/linux-master/arch/parisc/include/asm/
H A Dthread_info.h35 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
/linux-master/arch/csky/include/asm/
H A Dthread_info.h51 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
H A Dprocessor.h81 ((struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1)
H A Dptrace.h19 ({ (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1; })
/linux-master/arch/xtensa/include/asm/
H A Dthread_info.h142 #define THREAD_SIZE KERNEL_STACK_SIZE macro
/linux-master/arch/um/kernel/
H A Dstacktrace.c29 while (((long) sp & (THREAD_SIZE-1)) != 0) {
/linux-master/arch/microblaze/include/asm/
H A Dprocessor.h24 (((struct pt_regs *)(THREAD_SIZE + task_stack_page(tsk))) - 1)
/linux-master/arch/sh/kernel/
H A Dvmlinux.lds.S46 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/linux-master/arch/x86/include/asm/
H A Dpage_64_types.h16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
H A Dswitch_to.h75 wrmsrns(MSR_IA32_FRED_RSP0, (unsigned long)task_stack_page(task) + THREAD_SIZE);
/linux-master/drivers/misc/lkdtm/
H A Dstackleak.c107 task_stack_base + THREAD_SIZE - task_stack_high,
/linux-master/arch/arc/include/asm/
H A Dprocessor.h41 ((struct pt_regs *)(THREAD_SIZE + (void *)task_stack_page(p)) - 1)
H A Dptrace.h137 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 Dmemory.h129 #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 Dstartup.c251 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 Dsetup_32.c143 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_ALIGN);
147 THREAD_SIZE, (void *)_RET_IP_);

Completed in 285 milliseconds

123456789