Home
last modified time | relevance | path

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

12345678910

/linux-3.4.99/arch/mn10300/include/asm/
Dthread_info.h22 #define THREAD_SIZE (4096) macro
24 #define THREAD_SIZE (8192) macro
27 #define STACK_WARN (THREAD_SIZE / 8)
60 ((unsigned long)ti + THREAD_SIZE - sizeof(struct pt_regs)))
92 ((unsigned long) init_stack + THREAD_SIZE - sizeof(struct pt_regs)))
104 : "i" (~(THREAD_SIZE - 1)) in current_thread_info()
128 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
131 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
148 and -THREAD_SIZE,\reg
/linux-3.4.99/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.S66 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
67 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
149 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
150 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
208 sethi %hi(THREAD_SIZE - STACKFRAME_SZ), %sp
209 or %sp, %lo(THREAD_SIZE - STACKFRAME_SZ), %sp
/linux-3.4.99/arch/powerpc/kernel/
Dsetup_32.c259 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
261 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
275 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
278 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
280 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
Dsetup_64.c487 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
488 THREAD_SIZE, limit)); in irqstack_early_init()
490 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
491 THREAD_SIZE, limit)); in irqstack_early_init()
505 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
507 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
509 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
542 sp = memblock_alloc_base(THREAD_SIZE, THREAD_SIZE, limit); in emergency_stack_init()
543 sp += THREAD_SIZE; in emergency_stack_init()
/linux-3.4.99/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)
62 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
/linux-3.4.99/arch/x86/include/asm/
Dthread_info.h178 #define STACK_WARN (THREAD_SIZE/8)
194 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
201 movl $-THREAD_SIZE, reg; \
206 andl $-THREAD_SIZE, reg
226 KERNEL_STACK_OFFSET - THREAD_SIZE); in current_thread_info()
235 subq $(THREAD_SIZE-KERNEL_STACK_OFFSET),reg
241 #define THREAD_INFO(reg, off) KERNEL_STACK_OFFSET+(off)-THREAD_SIZE(reg)
/linux-3.4.99/arch/mips/include/asm/
Dthread_info.h85 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
86 #define THREAD_MASK (THREAD_SIZE - 1UL)
88 #define STACK_WARN (THREAD_SIZE / 8)
94 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
97 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-3.4.99/arch/m32r/include/asm/
Dthread_info.h58 #define THREAD_SIZE (PAGE_SIZE << 1) macro
89 : "=r" (ti) : "i" (~(THREAD_SIZE - 1)) in current_thread_info()
100 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
103 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-3.4.99/arch/hexagon/kernel/
Dprocess.c125 childregs = (struct pt_regs *) (((unsigned long) ti + THREAD_SIZE) - in copy_thread()
225 fp >= (THREAD_SIZE - 8 + stack_page)) in get_wchan()
252 memset(ti, 0, THREAD_SIZE); in alloc_thread_info_node()
266 thread_info_cache = kmem_cache_create("thread_info", THREAD_SIZE, in thread_info_cache_init()
267 THREAD_SIZE, 0, NULL); in thread_info_cache_init()
/linux-3.4.99/arch/blackfin/include/asm/
Dthread_info.h26 #define THREAD_SIZE 8192 /* 2 pages */ macro
27 #define STACK_WARN (THREAD_SIZE/8)
77 return (struct thread_info *)((long)ti & ~((long)THREAD_SIZE-1)); in current_thread_info()
/linux-3.4.99/arch/frv/include/asm/
Dthread_info.h22 #define THREAD_SIZE 8192 macro
88 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
91 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-3.4.99/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))
74 #define alloc_thread_info_node(tsk, node) kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-3.4.99/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)
/linux-3.4.99/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()
/linux-3.4.99/arch/sh/include/asm/
Dptrace.h98 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack()
99 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
129 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
Dthread_info.h42 #define THREAD_SIZE (1 << THREAD_SHIFT) macro
43 #define STACK_WARN (THREAD_SIZE >> 3)
84 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
Dkprobes.h15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
/linux-3.4.99/arch/tile/include/asm/
Dthread_info.h73 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
76 #define STACK_WARN (THREAD_SIZE/8)
84 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
/linux-3.4.99/arch/unicore32/include/asm/
Dthread_info.h21 #define THREAD_SIZE 8192 macro
22 #define THREAD_START_SP (THREAD_SIZE - 8)
108 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/linux-3.4.99/arch/avr32/kernel/
Dprocess.c161 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr()
244 THREAD_SIZE + (unsigned long)tinfo); in show_stack_log_lvl()
342 childregs = ((struct pt_regs *)(THREAD_SIZE + (unsigned long)task_stack_page(p))) - 1; in copy_thread()
348 childregs->sp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread()
429 BUG_ON(fp < stack_page || fp > (THREAD_SIZE + stack_page)); in get_wchan()
442 BUG_ON(sp < stack_page || sp > (THREAD_SIZE + stack_page)); in get_wchan()
/linux-3.4.99/arch/s390/include/asm/
Dkprobes.h44 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
46 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
/linux-3.4.99/arch/arm/include/asm/
Dthread_info.h19 #define THREAD_SIZE 8192 macro
20 #define THREAD_START_SP (THREAD_SIZE - 8)
97 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
/linux-3.4.99/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)) - …
/linux-3.4.99/arch/alpha/kernel/
Dvmlinux.lds.S47 . = ALIGN(THREAD_SIZE);
53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)

12345678910