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

123456789

/linux-master/arch/arm/kernel/
H A Dirq.c63 stack = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN,
69 per_cpu(irq_stack_ptr, cpu) = &stack[THREAD_SIZE];
H A Dvmlinux-xip.lds.S114 . = ALIGN(THREAD_SIZE);
116 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, 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/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/hexagon/kernel/
H A Dprocess.c63 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) -
137 fp >= (THREAD_SIZE - 8 + stack_page))
/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)
/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.c252 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 Dsetup_32.c143 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_ALIGN);
147 THREAD_SIZE, (void *)_RET_IP_);
H A Dsetup_64.c192 (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 Dsetup_64.c609 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);

Completed in 419 milliseconds

123456789