Home
last modified time | relevance | path

Searched refs:THREAD_SIZE (Results 1 – 25 of 241) sorted by relevance

12345678910

/arch/sparc/kernel/
Dkstack.h19 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
25 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
29 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
42 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
48 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
52 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
70 orig_sp > (sp + THREAD_SIZE)) { in set_hardirq_stack()
71 sp += THREAD_SIZE - 192 - STACK_BIAS; in set_hardirq_stack()
Dtrampoline_32.S64 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
65 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
125 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
126 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
181 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
182 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
/arch/mn10300/include/asm/
Dthread_info.h20 #define THREAD_SIZE (4096) macro
23 #define THREAD_SIZE (8192) macro
27 #define STACK_WARN (THREAD_SIZE / 8)
59 ((unsigned long)ti + THREAD_SIZE - sizeof(struct pt_regs)))
88 ((unsigned long) init_stack + THREAD_SIZE - sizeof(struct pt_regs)))
100 : "i" (~(THREAD_SIZE - 1)) in current_thread_info()
131 and -THREAD_SIZE,\reg
/arch/m68k/include/asm/
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)
56 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
/arch/powerpc/kernel/
Dsetup_32.c234 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
236 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
255 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
258 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
260 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
Dsetup_64.c600 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
601 THREAD_SIZE, limit)); in irqstack_early_init()
603 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
604 THREAD_SIZE, limit)); in irqstack_early_init()
615 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
617 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
619 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
621 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
623 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
625 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
[all …]
/arch/metag/include/asm/
Dthread_info.h60 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
62 #define STACK_WARN (THREAD_SIZE/8)
88 ~(THREAD_SIZE - 1)); in current_thread_info()
94 return addr == (void *) (((unsigned long) addr & ~(THREAD_SIZE - 1)) in kstack_end()
/arch/metag/kernel/
Dirq.c21 u32 stack[THREAD_SIZE/sizeof(u32)];
60 sp &= THREAD_SIZE - 1; in do_IRQ()
62 if (unlikely(sp > (THREAD_SIZE - 1024))) in do_IRQ()
119 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
121 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
133 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
142 irqctx = (union irq_ctx *) &softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
/arch/c6x/include/asm/
Dthread_info.h21 #define THREAD_SIZE 4096 macro
25 #define THREAD_SIZE 8192 macro
30 #define THREAD_START_SP (THREAD_SIZE - 8)
/arch/blackfin/include/asm/
Dthread_info.h26 #define THREAD_SIZE 8192 /* 2 pages */ macro
27 #define STACK_WARN (THREAD_SIZE/8)
73 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
/arch/sh/kernel/
Dirq.c61 u32 stack[THREAD_SIZE/sizeof(u32)];
67 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
68 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
125 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
134 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
/arch/sh/include/asm/
Dptrace.h72 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack()
73 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
103 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
Dkprobes.h15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
/arch/x86/include/asm/
Dpage_64_types.h5 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
6 #define CURRENT_MASK (~(THREAD_SIZE - 1))
/arch/cris/include/asm/
Dprocessor.h32 #define THREAD_SIZE PAGE_SIZE macro
43 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - …
/arch/m32r/include/asm/
Dptrace.h40 ((struct pt_regs *)(task_stack_page(task) + THREAD_SIZE) - 1)
42 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
/arch/unicore32/include/asm/
Dthread_info.h21 #define THREAD_SIZE 8192 macro
22 #define THREAD_START_SP (THREAD_SIZE - 8)
104 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/arch/alpha/kernel/
Dvmlinux.lds.S47 . = ALIGN(THREAD_SIZE);
53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/arch/score/include/asm/
Dthread_info.h15 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
16 #define THREAD_MASK (THREAD_SIZE - _AC(1,UL))
/arch/tile/include/asm/
Dthread_info.h75 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
78 #define STACK_WARN (THREAD_SIZE/8)
88 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
/arch/mips/include/asm/
Dthread_info.h87 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
88 #define THREAD_MASK (THREAD_SIZE - 1UL)
90 #define STACK_WARN (THREAD_SIZE / 8)
/arch/arc/include/asm/
Dthread_info.h27 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
72 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/arch/s390/include/asm/
Dkprobes.h46 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
48 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
/arch/microblaze/kernel/
Dtraps.c48 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()
/arch/um/include/asm/
Dthread_info.h42 #define THREAD_SIZE ((1 << CONFIG_KERNEL_STACK_ORDER) * PAGE_SIZE) macro
47 unsigned long mask = THREAD_SIZE - 1; in current_thread_info()

12345678910