/arch/sparc/kernel/ |
D | kstack.h | 19 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()
|
D | trampoline_32.S | 66 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
|
/arch/mn10300/include/asm/ |
D | thread_info.h | 22 #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
|
/arch/m68k/include/asm/ |
D | thread_info.h | 15 #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()
|
/arch/powerpc/kernel/ |
D | setup_32.c | 259 __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()
|
D | setup_64.c | 487 __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()
|
/arch/mips/include/asm/ |
D | thread_info.h | 85 #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)
|
/arch/x86/include/asm/ |
D | thread_info.h | 178 #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)
|
D | page_64_types.h | 5 #define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER) macro 6 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
/arch/m32r/include/asm/ |
D | thread_info.h | 58 #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)
|
/arch/frv/include/asm/ |
D | thread_info.h | 22 #define THREAD_SIZE 8192 macro 88 kzalloc_node(THREAD_SIZE, GFP_KERNEL, node) 91 kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
|
/arch/score/include/asm/ |
D | thread_info.h | 15 #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)
|
/arch/blackfin/include/asm/ |
D | thread_info.h | 26 #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()
|
/arch/hexagon/kernel/ |
D | process.c | 125 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()
|
/arch/c6x/include/asm/ |
D | thread_info.h | 21 #define THREAD_SIZE 4096 macro 25 #define THREAD_SIZE 8192 macro 30 #define THREAD_START_SP (THREAD_SIZE - 8)
|
/arch/sh/include/asm/ |
D | kprobes.h | 15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
D | ptrace.h | 98 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)
|
D | thread_info.h | 42 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 43 #define STACK_WARN (THREAD_SIZE >> 3) 84 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
|
/arch/s390/include/asm/ |
D | kprobes.h | 44 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 46 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
/arch/cris/include/asm/ |
D | processor.h | 33 #define THREAD_SIZE PAGE_SIZE macro 44 #define user_regs(thread_info) (((struct pt_regs *)((unsigned long)(thread_info) + THREAD_SIZE)) - …
|
/arch/alpha/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN(THREAD_SIZE); 53 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/arch/sh/kernel/ |
D | irq.c | 61 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/h8300/include/asm/ |
D | thread_info.h | 53 #define THREAD_SIZE 8192 /* 2 pages */ macro 64 : "i" (~(THREAD_SIZE-1)) in current_thread_info()
|
/arch/unicore32/include/asm/ |
D | thread_info.h | 21 #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()
|
/arch/tile/include/asm/ |
D | thread_info.h | 73 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 76 #define STACK_WARN (THREAD_SIZE/8) 84 ((struct thread_info *)(stack_pointer & -THREAD_SIZE))
|