Home
last modified time | relevance | path

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

12345678910

/arch/sparc/kernel/
Dkstack.h20 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
26 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
30 sp <= (base + THREAD_SIZE - sizeof(struct sparc_stackf))) in kstack_valid()
43 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
49 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
53 addr <= (base + THREAD_SIZE - sizeof(*regs))) in kstack_is_trap_frame()
71 orig_sp > (sp + THREAD_SIZE)) { in set_hardirq_stack()
72 sp += THREAD_SIZE - 192 - STACK_BIAS; in set_hardirq_stack()
Dtrampoline_32.S65 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
66 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
126 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
127 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
182 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
183 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
/arch/m68k/include/asm/
Dthread_info.h16 #define THREAD_SIZE 4096 macro
18 #define THREAD_SIZE 8192 macro
21 #define THREAD_SIZE PAGE_SIZE macro
23 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1)
55 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
/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)
58 ((unsigned long)ti + THREAD_SIZE - sizeof(struct pt_regs)))
86 ((unsigned long) init_stack + THREAD_SIZE - sizeof(struct pt_regs)))
98 : "i" (~(THREAD_SIZE - 1)) in current_thread_info()
129 and -THREAD_SIZE,\reg
/arch/powerpc/kernel/
Dsetup_32.c206 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
208 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
227 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
230 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
232 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
Dsetup_64.c590 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
591 THREAD_SIZE, limit)); in irqstack_early_init()
593 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
594 THREAD_SIZE, limit)); in irqstack_early_init()
605 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
607 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
609 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
611 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
613 sp = memblock_alloc(THREAD_SIZE, THREAD_SIZE); in exc_lvl_early_init()
615 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)
87 ~(THREAD_SIZE - 1)); in current_thread_info()
93 return addr == (void *) (((unsigned long) addr & ~(THREAD_SIZE - 1)) in kstack_end()
/arch/metag/kernel/
Dirq.c22 u32 stack[THREAD_SIZE/sizeof(u32)];
61 sp &= THREAD_SIZE - 1; in do_IRQ()
63 if (unlikely(sp > (THREAD_SIZE - 1024))) in do_IRQ()
118 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
120 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
132 irqctx = (union irq_ctx *) &hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
140 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)
71 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
/arch/h8300/kernel/
Dtraps.c130 if (((unsigned long)stack & (THREAD_SIZE - 1)) >= in show_stack()
131 THREAD_SIZE-4) in show_stack()
141 while (((unsigned long)stack & (THREAD_SIZE - 1)) < THREAD_SIZE-4) { in show_stack()
/arch/sh/kernel/
Dirq.c62 u32 stack[THREAD_SIZE/sizeof(u32)];
68 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
69 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
126 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.h73 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack()
74 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
104 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
Dkprobes.h19 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
21 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
Dthread_info.h49 #define THREAD_SIZE (1 << THREAD_SHIFT) macro
50 #define STACK_WARN (THREAD_SIZE >> 3)
87 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
/arch/cris/include/asm/
Dprocessor.h33 #define THREAD_SIZE PAGE_SIZE macro
44 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - …
/arch/tile/include/asm/
Dthread_info.h74 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
77 #define STACK_WARN (THREAD_SIZE/8)
87 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
/arch/h8300/include/asm/
Dptrace.h26 (THREAD_SIZE + (unsigned long)current_thread_info()) - 1)
30 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
/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/x86/include/asm/
Dpage_64_types.h20 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
21 #define CURRENT_MASK (~(THREAD_SIZE - 1))
/arch/unicore32/include/asm/
Dthread_info.h21 #define THREAD_SIZE 8192 macro
22 #define THREAD_START_SP (THREAD_SIZE - 8)
101 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/arch/score/include/asm/
Dthread_info.h16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
17 #define THREAD_MASK (THREAD_SIZE - _AC(1,UL))
/arch/mips/include/asm/
Dthread_info.h103 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
104 #define THREAD_MASK (THREAD_SIZE - 1UL)
106 #define STACK_WARN (THREAD_SIZE / 8)
/arch/alpha/kernel/
Dvmlinux.lds.S49 . = ALIGN(THREAD_SIZE);
55 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/arch/microblaze/kernel/
Dtraps.c49 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()

12345678910