Searched refs:THREAD_SIZE (Results 1 - 25 of 207) sorted by last modified time

123456789

/linux-master/arch/s390/kernel/
H A Dvmlinux.lds.S83 RW_DATA(0x100, PAGE_SIZE, THREAD_SIZE)
H A Dsetup.c366 ret = __vmalloc_node(THREAD_SIZE, THREAD_SIZE, THREADINFO_GFP,
388 stack = (unsigned long)memblock_alloc(THREAD_SIZE, THREAD_SIZE);
391 __func__, THREAD_SIZE, THREAD_SIZE);
H A Dentry.S52 tml %r15,THREAD_SIZE - CONFIG_STACK_GUARD
61 nill %r14,0x10000 - 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/kernel/trace/
H A Dtrace_probe.c870 #define PARAM_MAX_STACK (THREAD_SIZE / sizeof(unsigned long))
/linux-master/arch/x86/include/asm/
H A Dprocessor.h537 current_stack_pointer) < THREAD_SIZE;
625 __ptr += THREAD_SIZE - TOP_OF_KERNEL_STACK_PADDING; \
/linux-master/arch/xtensa/kernel/
H A Dstacktrace.c128 sp_start = a1 & ~(THREAD_SIZE - 1);
129 sp_end = sp_start + THREAD_SIZE;
178 sp_end = ALIGN(a1, THREAD_SIZE);
H A Dprocess.c388 sp >= (stack_page + THREAD_SIZE) ||
/linux-master/arch/arc/kernel/
H A Dvmlinux.lds.S103 * 2. THREAD_SIZE for init.task, must be kernel-stk sz aligned
105 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
H A Dkprobes.c18 (unsigned long)current_thread_info() + THREAD_SIZE - (addr))
/linux-master/arch/arc/include/asm/
H A Dthread_info.h24 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
H A Dptrace.h137 unsigned long pg_start = (sp & ~(THREAD_SIZE - 1)); \
138 (struct pt_regs *)(pg_start + THREAD_SIZE) - 1; \
H A Dentry.h70 add2 \out, \out, (THREAD_SIZE)/4
H A Dentry-compact.h34 #include <asm/thread_info.h> /* For THREAD_SIZE */
377 bic \reg, sp, (THREAD_SIZE - 1)
/linux-master/kernel/
H A Dfork.c185 * Allocate pages if THREAD_SIZE is >= PAGE_SIZE, otherwise use a
188 # if THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)
257 BUG_ON(vm->nr_pages != THREAD_SIZE / PAGE_SIZE);
259 for (i = 0; i < THREAD_SIZE / PAGE_SIZE; i++) {
287 kasan_unpoison_range(s->addr, THREAD_SIZE);
292 memset(stack, 0, THREAD_SIZE);
309 stack = __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN,
375 # else /* !(THREAD_SIZE >= PAGE_SIZE || defined(CONFIG_VMAP_STACK)) */
409 THREAD_SIZE, THREAD_SIZE,
[all...]
/linux-master/init/
H A Dmain.c792 # if THREAD_SIZE >= PAGE_SIZE
/linux-master/arch/arm64/kernel/
H A Dhead.S198 add sp, \tmp1, #THREAD_SIZE
H A Dptrace.c123 return ((addr & ~(THREAD_SIZE - 1)) ==
124 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))) ||
/linux-master/arch/mips/kernel/
H A Dasm-offsets.c105 DEFINE(_THREAD_SIZE, THREAD_SIZE);
/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; \
/linux-master/arch/riscv/kernel/
H A Dtraps.c422 tsk_stk, tsk_stk + THREAD_SIZE);
H A Dptrace.c269 return (addr & ~(THREAD_SIZE - 1)) ==
270 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1));
/linux-master/drivers/misc/lkdtm/
H A Dbugs.c29 * recurse past the end of THREAD_SIZE by default.
34 #define REC_STACK_SIZE (THREAD_SIZE / 8UL)
36 #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2)
513 const unsigned char *ptr = stack + THREAD_SIZE;
/linux-master/arch/riscv/include/asm/
H A Dprocessor.h141 ((struct pt_regs *)(task_stack_page(tsk) + THREAD_SIZE \
/linux-master/arch/powerpc/kernel/
H A Dsmp.c1264 THREAD_SIZE - STACK_FRAME_MIN_SIZE;

Completed in 255 milliseconds

123456789