/Linux-v4.19/arch/sparc/kernel/ |
D | kstack.h | 20 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()
|
D | trampoline_32.S | 65 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
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | setup_32.c | 209 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 211 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init() 230 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 233 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init() 235 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
|
D | setup_64.c | 634 pa = memblock_alloc_base_nid(THREAD_SIZE, THREAD_SIZE, limit, in alloc_stack() 637 pa = memblock_alloc_base(THREAD_SIZE, THREAD_SIZE, limit); in alloc_stack() 671 paca_ptrs[i]->crit_kstack = sp + THREAD_SIZE; in exc_lvl_early_init() 675 paca_ptrs[i]->dbg_kstack = sp + THREAD_SIZE; in exc_lvl_early_init() 679 paca_ptrs[i]->mc_kstack = sp + THREAD_SIZE; in exc_lvl_early_init() 735 memset(ti, 0, THREAD_SIZE); in emergency_stack_init() 737 paca_ptrs[i]->emergency_sp = (void *)ti + THREAD_SIZE; in emergency_stack_init() 742 memset(ti, 0, THREAD_SIZE); in emergency_stack_init() 744 paca_ptrs[i]->nmi_emergency_sp = (void *)ti + THREAD_SIZE; in emergency_stack_init() 748 memset(ti, 0, THREAD_SIZE); in emergency_stack_init() [all …]
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | thread_info.h | 16 #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) 53 : "di" (~(THREAD_SIZE-1)) in current_thread_info()
|
/Linux-v4.19/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)
|
/Linux-v4.19/arch/h8300/kernel/ |
D | traps.c | 130 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()
|
/Linux-v4.19/arch/sh/kernel/ |
D | irq.c | 62 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()
|
/Linux-v4.19/include/linux/sched/ |
D | task_stack.h | 53 return (unsigned long *)((unsigned long)task_thread_info(p) + THREAD_SIZE) - 1; in end_of_stack() 85 return (obj >= stack) && (obj < (stack + THREAD_SIZE)); in object_is_on_stack() 118 return !(((unsigned long)addr+sizeof(void*)-1) & (THREAD_SIZE-sizeof(void*))); in kstack_end()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | ptrace.h | 73 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)
|
D | thread_info.h | 49 #define THREAD_SIZE (1 << THREAD_SHIFT) macro 50 #define STACK_WARN (THREAD_SIZE >> 3) 84 : "1" (~(THREAD_SIZE - 1)) in current_thread_info()
|
D | kprobes.h | 19 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 21 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | thread_info.h | 21 #define THREAD_SIZE 8192 macro 22 #define THREAD_START_SP (THREAD_SIZE - 8) 98 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | thread_info.h | 82 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 83 #define THREAD_MASK (THREAD_SIZE - 1UL) 85 #define STACK_WARN (THREAD_SIZE / 8)
|
D | ptrace.h | 103 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 104 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack() 178 (struct pt_regs *)((sp | (THREAD_SIZE - 1)) + 1 - 32) - 1; \
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | memory.h | 106 #define THREAD_SIZE (UL(1) << THREAD_SHIFT) macro 114 #define THREAD_ALIGN (2 * THREAD_SIZE) 116 #define THREAD_ALIGN THREAD_SIZE 119 #define IRQ_STACK_SIZE THREAD_SIZE
|
/Linux-v4.19/arch/arm/include/asm/ |
D | thread_info.h | 20 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 21 #define THREAD_START_SP (THREAD_SIZE - 8) 91 (current_stack_pointer & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | ptrace.h | 123 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 193 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() 194 (kernel_stack_pointer(regs) & ~(THREAD_SIZE - 1))); in regs_within_kernel_stack()
|
/Linux-v4.19/drivers/misc/lkdtm/ |
D | bugs.c | 27 #define REC_STACK_SIZE (THREAD_SIZE / 8) 29 #define REC_NUM_DEFAULT ((THREAD_SIZE / REC_STACK_SIZE) * 2) 249 const unsigned char *ptr = stack + THREAD_SIZE; in lkdtm_STACK_GUARD_PAGE_TRAILING()
|
/Linux-v4.19/arch/x86/include/asm/ |
D | page_64_types.h | 16 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 17 #define CURRENT_MASK (~(THREAD_SIZE - 1))
|
/Linux-v4.19/arch/h8300/include/asm/ |
D | ptrace.h | 28 (THREAD_SIZE + (unsigned long)current_thread_info()) - 1) 32 ((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
|
/Linux-v4.19/arch/arc/include/asm/ |
D | thread_info.h | 27 #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) macro 68 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/Linux-v4.19/arch/nios2/include/asm/ |
D | thread_info.h | 25 #define THREAD_SIZE 8192 /* 2 * PAGE_SIZE */ macro 71 return (struct thread_info *)(sp & ~(THREAD_SIZE - 1)); in current_thread_info()
|
/Linux-v4.19/arch/alpha/kernel/ |
D | vmlinux.lds.S | 49 . = ALIGN(THREAD_SIZE); 55 RW_DATA_SECTION(L1_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE)
|
/Linux-v4.19/arch/s390/include/asm/ |
D | kprobes.h | 47 (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR))) \ 49 : (((unsigned long)task_stack_page(current)) + THREAD_SIZE - (ADDR)))
|