Home
last modified time | relevance | path

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

123456789

/linux-2.6.39/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-2.6.39/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-2.6.39/arch/powerpc/kernel/
Dsetup_32.c252 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
254 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
268 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
271 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
273 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
Dsetup_64.c445 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
446 THREAD_SIZE, limit)); in irqstack_early_init()
448 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
449 THREAD_SIZE, limit)); in irqstack_early_init()
460 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
462 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
464 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
493 sp = memblock_alloc_base(THREAD_SIZE, THREAD_SIZE, limit); in emergency_stack_init()
494 sp += THREAD_SIZE; in emergency_stack_init()
/linux-2.6.39/arch/m68k/include/asm/
Dthread_info.h14 #define THREAD_SIZE 4096 macro
16 #define THREAD_SIZE 8192 macro
19 #define THREAD_SIZE PAGE_SIZE macro
21 #define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1)
87 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
/linux-2.6.39/arch/mips/include/asm/
Dthread_info.h83 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro
84 #define THREAD_MASK (THREAD_SIZE - 1UL)
86 #define STACK_WARN (THREAD_SIZE / 8)
92 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
95 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-2.6.39/arch/x86/include/asm/
Dthread_info.h175 #define STACK_WARN (THREAD_SIZE/8)
191 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
198 movl $-THREAD_SIZE, reg; \
203 andl $-THREAD_SIZE, reg
223 KERNEL_STACK_OFFSET - THREAD_SIZE); in current_thread_info()
232 subq $(THREAD_SIZE-KERNEL_STACK_OFFSET),reg
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/arch/frv/include/asm/
Dthread_info.h22 #define THREAD_SIZE 8192 macro
90 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
93 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
/linux-2.6.39/arch/sh/kernel/
Dirq.c60 u32 stack[THREAD_SIZE/sizeof(u32)];
66 static char softirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
67 static char hardirq_stack[NR_CPUS * THREAD_SIZE] __page_aligned_bss;
124 irqctx = (union irq_ctx *)&hardirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
133 irqctx = (union irq_ctx *)&softirq_stack[cpu * THREAD_SIZE]; in irq_ctx_init()
/linux-2.6.39/arch/sh/include/asm/
Dptrace.h100 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack()
101 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
131 ((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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/arch/s390/include/asm/
Dkprobes.h44 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \
46 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
/linux-2.6.39/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-2.6.39/arch/alpha/kernel/
Dvmlinux.lds.S45 . = ALIGN(THREAD_SIZE);
50 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
/linux-2.6.39/arch/h8300/include/asm/
Dthread_info.h53 #define THREAD_SIZE 8192 /* 2 pages */ macro
64 : "i" (~(THREAD_SIZE-1)) in current_thread_info()
/linux-2.6.39/arch/microblaze/kernel/
Dtraps.c49 words_to_show = (THREAD_SIZE - (fp & (THREAD_SIZE - 1))) >> 2; in show_stack()

123456789