Searched refs:THREAD_SIZE (Results 1 - 25 of 207) sorted by relevance

123456789

/linux-master/arch/loongarch/include/asm/
H A Dentry-common.h10 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
H A Dthread_info.h59 #define THREAD_SIZE SZ_16K macro
60 #define THREAD_MASK (THREAD_SIZE - 1UL)
61 #define THREAD_SIZE_ORDER ilog2(THREAD_SIZE / PAGE_SIZE)
/linux-master/arch/sparc/kernel/
H A Dkstack.h20 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
26 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
30 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf)))
43 addr <= (base + THREAD_SIZE - sizeof(*regs)))
49 addr <= (base + THREAD_SIZE - sizeof(*regs)))
53 addr <= (base + THREAD_SIZE - sizeof(*regs)))
71 orig_sp > (sp + THREAD_SIZE)) {
72 sp += THREAD_SIZE - 192 - STACK_BIAS;
/linux-master/arch/m68k/include/asm/
H A Dthread_info.h15 #define THREAD_SIZE 4096 macro
17 #define THREAD_SIZE 8192 macro
20 #define THREAD_SIZE PAGE_SIZE macro
22 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1)
50 : "di" (~(THREAD_SIZE-1))
H A Dptrace.h18 (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
/linux-master/arch/hexagon/include/asm/
H A Dptrace.h19 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
/linux-master/arch/x86/include/asm/
H A Dpage_32_types.h23 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
25 #define IRQ_STACK_SIZE THREAD_SIZE
/linux-master/arch/sh/include/asm/
H A Dkprobes.h19 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
21 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
H A Dptrace.h96 return ((addr & ~(THREAD_SIZE - 1)) ==
97 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1)));
127 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
H A Dthread_info.h46 #define THREAD_SIZE (1 << THREAD_SHIFT) macro
47 #define STACK_WARN (THREAD_SIZE >> 3)
78 : "1" (~(THREAD_SIZE - 1))
/linux-master/include/linux/sched/
H A Dtask_stack.h30 return (unsigned long *)((unsigned long)task->stack + THREAD_SIZE) - 1;
58 return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1;
92 return (obj >= stack) && (obj < (stack + THREAD_SIZE));
125 return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*)));
/linux-master/arch/riscv/include/asm/
H A Dthread_info.h16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
19 * By aligning VMAP'd stacks to 2 * THREAD_SIZE, we can detect overflow by
24 #define THREAD_ALIGN (2 * THREAD_SIZE)
26 #define THREAD_ALIGN THREAD_SIZE
32 #define IRQ_STACK_SIZE THREAD_SIZE
H A Dstacktrace.h21 return !(((unsigned long)(current->stack) ^ current_stack_pointer) & ~(THREAD_SIZE - 1));
/linux-master/arch/um/include/asm/
H A Dthread_info.h10 #define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE) macro
43 unsigned long mask = THREAD_SIZE - 1;
/linux-master/arch/alpha/kernel/
H A Dvmlinux.lds.S44 /* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
45 needed for the THREAD_SIZE aligned init_task gets freed after init */
46 . = ALIGN(THREAD_SIZE);
52 RW_DATA(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/linux-master/arch/nios2/include/asm/
H A Dthread_info.h25 #define THREAD_SIZE 8192 /* 2 * PAGE_SIZE */ macro
62 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1));
/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));
/linux-master/arch/mips/include/asm/
H A Dthread_info.h98 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
99 #define THREAD_MASK (THREAD_SIZE - 1UL)
101 #define STACK_WARN (THREAD_SIZE / 8)
/linux-master/arch/arm/include/asm/
H A Dthread_info.h25 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
26 #define THREAD_START_SP (THREAD_SIZE - 8)
29 #define THREAD_ALIGN (2 * THREAD_SIZE)
31 #define THREAD_ALIGN THREAD_SIZE
/linux-master/arch/um/include/shared/
H A Dcommon-offsets.h15 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
/linux-master/arch/microblaze/include/asm/
H A Dthread_info.h13 #define THREAD_SIZE (1 << THREAD_SHIFT) macro
85 return (struct thread_info *)(sp & ~(THREAD_SIZE-1));
/linux-master/arch/s390/include/asm/
H A Dthread_info.h25 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
27 #define STACK_INIT_OFFSET (THREAD_SIZE - STACK_FRAME_OVERHEAD - __PT_SIZE)
H A Dkprobes.h48 (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR))) \
50 : (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR)))
/linux-master/arch/microblaze/kernel/
H A Dtraps.c50 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2;
/linux-master/arch/sh/kernel/
H A Dirq.c63 u32 stack[THREAD_SIZE/sizeof(u32)];
69 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
70 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
127 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE];
135 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE];

Completed in 180 milliseconds

123456789