/linux-4.4.14/arch/sparc/include/asm/ |
D | processor_64.h | 116 if (current_thread_info()->utraps) { \ 117 if (*(current_thread_info()->utraps) < 2) \ 118 kfree(current_thread_info()->utraps); \ 120 (*(current_thread_info()->utraps))--; \ 121 current_thread_info()->utraps = NULL; \ 145 current_thread_info()->xfsr[0] = 0; \ 146 current_thread_info()->fpsaved[0] = 0; \ 160 if (current_thread_info()->utraps) { \ 161 if (*(current_thread_info()->utraps) < 2) \ 162 kfree(current_thread_info()->utraps); \ [all …]
|
D | thread_info_64.h | 127 #define current_thread_info() (current_thread_info_reg) macro 138 #define __cur_thread_flag_byte_ptr __thread_flag_byte_ptr(current_thread_info()) 231 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 237 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 241 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 245 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | sfp-machine_64.h | 77 #define FP_ROUNDMODE ((current_thread_info()->xfsr[0] >> 30) & 0x3) 89 #define FP_INHIBIT_RESULTS ((current_thread_info()->xfsr[0] >> 23) & _fex) 91 #define FP_TRAPPING_EXCEPTIONS ((current_thread_info()->xfsr[0] >> 23) & 0x1f)
|
D | ptrace.h | 36 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1) 98 current_thread_info()->w_saved != 0; \ 105 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
D | current.h | 29 return current_thread_info()->task; in __get_current()
|
D | fpumacro.h | 17 #define FPUSTATE (struct fpustate *)(current_thread_info()->fpregs)
|
D | switch_to_64.h | 26 trap_block[current_thread_info()->cpu].thread = \
|
D | smp_64.h | 44 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | thread_info_32.h | 70 #define current_thread_info() (current_thread_info_reg) macro
|
D | uaccess_64.h | 41 #define get_fs() ((mm_segment_t){(current_thread_info()->current_ds)}) 48 current_thread_info()->current_ds = (val).seg; \
|
D | smp_32.h | 106 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | compat.h | 232 struct pt_regs *regs = current_thread_info()->kregs; in arch_compat_alloc_user_space()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | sigutil_64.c | 16 unsigned long *fpregs = current_thread_info()->fpregs; in save_fpu_state() 20 fprs = current_thread_info()->fpsaved[0]; in save_fpu_state() 27 err |= __put_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in save_fpu_state() 28 err |= __put_user(current_thread_info()->gsr[0], &fpu->si_gsr); in save_fpu_state() 36 unsigned long *fpregs = current_thread_info()->fpregs; in restore_fpu_state() 52 err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in restore_fpu_state() 53 err |= __get_user(current_thread_info()->gsr[0], &fpu->si_gsr); in restore_fpu_state() 54 current_thread_info()->fpsaved[0] |= fprs; in restore_fpu_state() 63 struct reg_window *rp = ¤t_thread_info()->reg_window[i]; in save_rwin_state() 64 unsigned long fp = current_thread_info()->rwbuf_stkptrs[i]; in save_rwin_state() [all …]
|
D | sys_sparc_64.c | 557 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5() 561 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 571 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5() 572 current_thread_info()->utraps = in SYSCALL_DEFINE5() 574 if (!current_thread_info()->utraps) in SYSCALL_DEFINE5() 576 current_thread_info()->utraps[0] = 1; in SYSCALL_DEFINE5() 578 if ((utrap_handler_t)current_thread_info()->utraps[type] != new_p && in SYSCALL_DEFINE5() 579 current_thread_info()->utraps[0] > 1) { in SYSCALL_DEFINE5() 580 unsigned long *p = current_thread_info()->utraps; in SYSCALL_DEFINE5() 582 current_thread_info()->utraps = in SYSCALL_DEFINE5() [all …]
|
D | unaligned_64.c | 260 struct pt_regs *regs = current_thread_info()->kern_una_regs; in kernel_mna_trap_fault() 261 unsigned int insn = current_thread_info()->kern_una_insn; in kernel_mna_trap_fault() 311 current_thread_info()->kern_una_regs = regs; in kernel_unaligned_trap() 312 current_thread_info()->kern_una_insn = insn; in kernel_unaligned_trap() 447 current_thread_info()->xfsr[0] &= ~0x1c000; in handle_ldf_stq() 455 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in handle_ldf_stq() 459 if (current_thread_info()->fpsaved[0] & flag) { in handle_ldf_stq() 552 if (!(current_thread_info()->fpsaved[0] & FPRS_FEF)) { in handle_ldf_stq() 553 current_thread_info()->fpsaved[0] = FPRS_FEF; in handle_ldf_stq() 554 current_thread_info()->gsr[0] = 0; in handle_ldf_stq() [all …]
|
D | signal_64.c | 114 unsigned long *fpregs = current_thread_info()->fpregs; in sparc64_set_context() 127 err |= __get_user(current_thread_info()->xfsr[0], in sparc64_set_context() 129 err |= __get_user(current_thread_info()->gsr[0], in sparc64_set_context() 161 fenab = (current_thread_info()->fpsaved[0] & FPRS_FEF); in sparc64_get_context() 212 unsigned long *fpregs = current_thread_info()->fpregs; in sparc64_get_context() 215 fprs = current_thread_info()->fpsaved[0]; in sparc64_get_context() 223 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context() 224 err |= __put_user(current_thread_info()->gsr[0], &(mcp->mc_fpregs.mcfpu_gsr)); in sparc64_get_context() 367 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_rt_frame() 384 if (current_thread_info()->fpsaved[0] & FPRS_FEF) { in setup_rt_frame() [all …]
|
D | process_64.c | 244 struct thread_info *tp = current_thread_info(); in arch_trigger_all_cpu_backtrace() 422 struct thread_info *t = current_thread_info(); in exit_thread() 434 struct thread_info *t = current_thread_info(); in flush_thread() 503 struct thread_info *t = current_thread_info(); in synchronize_user_stack() 543 struct thread_info *t = current_thread_info(); in fault_in_user_windows() 701 unsigned long *kfpregs = current_thread_info()->fpregs; in dump_fpu() 702 unsigned long fprs = current_thread_info()->fpsaved[0]; in dump_fpu() 718 fpregs32->pr_fsr = (unsigned int) current_thread_info()->xfsr[0]; in dump_fpu() 738 fpregs->pr_fsr = current_thread_info()->xfsr[0]; in dump_fpu() 739 fpregs->pr_gsr = current_thread_info()->gsr[0]; in dump_fpu()
|
D | sigutil_32.c | 90 rp = ¤t_thread_info()->reg_window[i]; in save_rwin_state() 91 fp = current_thread_info()->rwbuf_stkptrs[i]; in save_rwin_state() 101 struct thread_info *t = current_thread_info(); in restore_rwin_state()
|
D | windows.c | 62 struct thread_info *tp = current_thread_info(); in synchronize_user_stack() 114 struct thread_info *tp = current_thread_info(); in try_to_clear_window_buffer()
|
D | stacktrace.c | 21 if (tp == current_thread_info()) { in __save_stack_trace() 75 __save_stack_trace(current_thread_info(), trace, false); in save_stack_trace()
|
D | signal32.c | 435 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_frame32() 459 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_frame32() 507 rp = ¤t_thread_info()->reg_window[wsaved - 1]; in setup_frame32() 566 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_rt_frame32() 590 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_rt_frame32() 638 rp = ¤t_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame32()
|
D | signal_32.c | 236 wsaved = current_thread_info()->w_saved; in setup_frame() 285 rp = ¤t_thread_info()->reg_window[wsaved - 1]; in setup_frame() 331 wsaved = current_thread_info()->w_saved; in setup_rt_frame() 382 rp = ¤t_thread_info()->reg_window[wsaved - 1]; in setup_rt_frame()
|
D | visemul.c | 416 gsr = current_thread_info()->gsr[0] & 0xffffffff; in bmask() 418 current_thread_info()->gsr[0] = gsr; in bmask() 427 bmask = current_thread_info()->gsr[0] >> 32UL; in bshuffle() 481 gsr = current_thread_info()->gsr[0]; in pformat()
|
D | setup_64.c | 362 current_thread_info()->cpu = cpu; in start_early_boot() 644 init_cur_cpu_trap(current_thread_info()); in setup_arch()
|
D | smp_32.c | 254 current_thread_info()->cpu = cpuid; in smp_prepare_boot_cpu()
|
D | perf_event.c | 1733 if (!kstack_valid(current_thread_info(), fp)) in perf_callchain_kernel() 1739 if (kstack_is_trap_frame(current_thread_info(), regs)) { in perf_callchain_kernel() 1831 u64 saved_fault_address = current_thread_info()->fault_address; in perf_callchain_user() 1856 current_thread_info()->fault_address = saved_fault_address; in perf_callchain_user()
|
/linux-4.4.14/arch/sparc/math-emu/ |
D | math_64.c | 102 u64 fsr = current_thread_info()->xfsr[0]; in record_exception() 147 current_thread_info()->xfsr[0] = fsr; in record_exception() 219 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu() 227 unsigned long x = current_thread_info()->xfsr[0]; in do_mathemu() 272 XR = current_thread_info()->xfsr[0] >> 10; in do_mathemu() 274 XR = current_thread_info()->xfsr[0] >> (30 + ((insn >> 10) & 0x6)); in do_mathemu() 346 current_thread_info()->xfsr[0] &= ~(FSR_CEXC_MASK); in do_mathemu() 367 int ftt = (current_thread_info()->xfsr[0] >> 14) & 0x7; in do_mathemu() 371 current_thread_info()->xfsr[0] &= ~0x1c000; in do_mathemu() 375 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu() [all …]
|
/linux-4.4.14/arch/sh/include/asm/ |
D | thread_info.h | 72 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 162 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 174 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 181 struct thread_info *ti = current_thread_info(); in get_thread_fault_code() 187 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 191 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 195 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | segment.h | 30 #define get_fs() (current_thread_info()->addr_limit) 31 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
D | kprobes.h | 15 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 17 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
D | uaccess.h | 12 ((unsigned long __force)(addr) < current_thread_info()->addr_limit.seg) 28 #define user_addr_max() (current_thread_info()->addr_limit.seg)
|
D | smp.h | 15 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | thread_info.h | 68 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 149 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 155 current_thread_info()->local_flags &= ~_TLF_RESTORE_SIGMASK; in clear_restore_sigmask() 159 return current_thread_info()->local_flags & _TLF_RESTORE_SIGMASK; in test_restore_sigmask() 163 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask() 172 struct thread_info *ti = current_thread_info(); in test_thread_local_flags()
|
D | smp.h | 79 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | ptrace.h | 122 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/linux-4.4.14/arch/x86/include/asm/ |
D | thread_info.h | 164 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 234 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 240 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 244 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 248 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask() 261 if (current_thread_info()->status & TS_COMPAT) in is_ia32_task()
|
D | mwait.h | 101 clflush((void *)¤t_thread_info()->flags); in mwait_idle_with_hints() 105 __monitor((void *)¤t_thread_info()->flags, 0, 0); in mwait_idle_with_hints()
|
D | kprobes.h | 42 (((MAX_STACK_SIZE) < (((unsigned long)current_thread_info()) + \ 45 : (((unsigned long)current_thread_info()) + \
|
D | uaccess.h | 31 #define get_fs() (current_thread_info()->addr_limit) 32 #define set_fs(x) (current_thread_info()->addr_limit = (x)) 36 #define user_addr_max() (current_thread_info()->addr_limit.seg) 447 current_thread_info()->uaccess_err = 0; \ 453 (err) |= (current_thread_info()->uaccess_err ? -EFAULT : 0); \
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | thread_info.h | 50 #define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE)) macro 55 #define current_thread_info() ((struct thread_info *) 0) macro 130 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 136 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 140 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 144 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | smp.h | 51 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | uaccess.h | 55 #define get_fs() (current_thread_info()->addr_limit) 56 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
/linux-4.4.14/include/linux/ |
D | thread_info.h | 95 set_ti_thread_flag(current_thread_info(), flag) 97 clear_ti_thread_flag(current_thread_info(), flag) 99 test_and_set_ti_thread_flag(current_thread_info(), flag) 101 test_and_clear_ti_thread_flag(current_thread_info(), flag) 103 test_ti_thread_flag(current_thread_info(), flag)
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | thread_info.h | 46 #define current_thread_info() __current_thread_info macro 95 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 101 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 105 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 109 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | current.h | 6 #define get_current() (current_thread_info()->task)
|
D | ptrace.h | 17 ((struct pt_regs *) ((char *)current_thread_info() + 2*PAGE_SIZE) - 1)
|
D | smp.h | 43 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | elf.h | 114 dump_elf_thread(DEST, REGS, current_thread_info());
|
D | uaccess.h | 26 #define get_fs() (current_thread_info()->addr_limit) 28 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
/linux-4.4.14/arch/tile/include/asm/ |
D | thread_info.h | 86 #define current_thread_info() \ macro 171 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 177 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 181 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 185 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | elf.h | 167 current_thread_info()->status &= ~TS_COMPAT; \ 172 current_thread_info()->status |= TS_COMPAT; \
|
D | current.h | 24 return current_thread_info()->task; in get_current()
|
D | switch_to.h | 62 current_thread_info()->homecache_cpu != raw_smp_processor_id()) \
|
D | kprobes.h | 53 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 \
|
D | uaccess.h | 43 #define get_fs() (current_thread_info()->addr_limit) 44 #define set_fs(x) (current_thread_info()->addr_limit = (x)) 72 #define user_addr_max() (current_thread_info()->addr_limit.seg)
|
D | processor.h | 167 #define TASK_SIZE ((current_thread_info()->status & TS_COMPAT) ?\
|
D | compat.h | 267 return current_thread_info()->status & TS_COMPAT; in is_compat_task()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | thread_info.h | 93 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 157 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 163 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in clear_restore_sigmask() 167 return current_thread_info()->status & TS_RESTORE_SIGMASK; in test_restore_sigmask() 171 struct thread_info *ti = current_thread_info(); in test_and_clear_restore_sigmask()
|
D | uaccess.h | 53 # define get_fs() (current_thread_info()->addr_limit) 54 # define set_fs(val) (current_thread_info()->addr_limit = (val))
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | thread_info.h | 62 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 79 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 86 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
|
D | uaccess.h | 37 #define get_fs() (current_thread_info()->addr_limit) 38 #define set_fs(x) (current_thread_info()->addr_limit = (x)) 60 ((unsigned long)(addr) < (current_thread_info()->addr_limit.seg)) 82 "r" (current_thread_info()->addr_limit.seg), "r" (0) \
|
D | current.h | 10 return current_thread_info()->task; in get_current()
|
D | ptrace.h | 42 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
D | smp.h | 63 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/linux-4.4.14/arch/score/include/asm/ |
D | segment.h | 14 # define get_fs() (current_thread_info()->addr_limit) 16 do { current_thread_info()->addr_limit = (x); } while (0)
|
D | irq_regs.h | 8 return current_thread_info()->regs; in get_irq_regs()
|
D | thread_info.h | 65 #define current_thread_info() __current_thread_info macro
|
D | uaccess.h | 12 #define get_fs() (current_thread_info()->addr_limit)
|
/linux-4.4.14/arch/s390/include/asm/ |
D | elf.h | 188 current_thread_info()->sys_call_table = \ 199 current_thread_info()->sys_call_table = \ 203 current_thread_info()->sys_call_table = \
|
D | kprobes.h | 46 (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR))) \ 48 : (((unsigned long)current_thread_info()) + THREAD_SIZE - (ADDR)))
|
D | thread_info.h | 59 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | uaccess.h | 62 #define get_fs() (current_thread_info()->addr_limit) 66 current_thread_info()->addr_limit = fs; in set_fs() 79 : "r" (addr), "0" (current_thread_info()->addr_limit) \ 100 "r" (current_thread_info()->addr_limit) \
|
D | thread_info.h | 74 static inline struct thread_info *current_thread_info(void) __attribute_const__; 76 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
D | smp.h | 23 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/linux-4.4.14/include/asm-generic/ |
D | preempt.h | 10 return current_thread_info()->preempt_count; in preempt_count() 15 return ¤t_thread_info()->preempt_count; in preempt_count_ptr()
|
D | current.h | 6 #define get_current() (current_thread_info()->task)
|
D | uaccess.h | 26 #define get_fs() (current_thread_info()->addr_limit) 30 current_thread_info()->addr_limit = fs; in set_fs()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | segment.h | 57 #define get_fs() (current_thread_info()->addr_limit) 58 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
D | current.h | 21 return(current_thread_info()->task); in get_current()
|
D | ptrace.h | 17 (struct pt_regs *)((char *)current_thread_info() + THREAD_SIZE) - 1
|
D | thread_info.h | 47 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | uaccess.h | 39 #define get_fs() (current_thread_info()->addr_limit) 40 #define set_fs(x) (current_thread_info()->addr_limit = (x)) 41 #define __kernel_ds_p() (current_thread_info()->addr_limit.seg == 0x9FFFFFFF) 46 ((unsigned long)(addr) < (current_thread_info()->addr_limit.seg)) 63 "r"(current_thread_info()->addr_limit.seg), "0"(flag) in ___range_ok()
|
D | thread_info.h | 92 struct thread_info *current_thread_info(void) in current_thread_info() function 106 return current_thread_info()->frame; in current_frame()
|
D | current.h | 31 return current_thread_info()->task; in get_current()
|
D | smp.h | 70 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/linux-4.4.14/arch/arm/nwfpe/ |
D | fpa11.h | 25 #define GET_FPA11() ((FPA11 *)(¤t_thread_info()->fpstate)) 32 #define GET_USERREG() ((struct pt_regs *)(THREAD_START_SP + (unsigned long)current_thread_info()) -…
|
/linux-4.4.14/arch/sparc/lib/ |
D | user_fixup.c | 23 unsigned long fault_addr = current_thread_info()->fault_address; in compute_size() 57 unsigned long fault_addr = current_thread_info()->fault_address; in copy_in_user_fixup()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | uaccess.h | 97 #define get_fs() (current_thread_info()->addr_limit) 101 current_thread_info()->addr_limit = fs; in set_fs() 111 : "0" (current_thread_info()->addr_limit), "r" (addr) \ 121 : "r" (addr), "Ir" (size), "0" (current_thread_info()->addr_limit) \ 192 unsigned long __limit = current_thread_info()->addr_limit - 1; \ 252 unsigned long __limit = current_thread_info()->addr_limit - 1; \
|
D | thread_info.h | 89 static inline struct thread_info *current_thread_info(void) __attribute_const__; 91 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
D | smp.h | 21 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | domain.h | 94 : "m" (current_thread_info()->cpu_domain)); in get_domain()
|
D | tls.h | 61 thread = current_thread_info();
|
/linux-4.4.14/arch/mn10300/lib/ |
D | usercopy.c | 142 if (n < 0 || n + (u_long) s > current_thread_info()->addr_limit.seg) in strnlen_user() 143 n = current_thread_info()->addr_limit.seg - (u_long)s; in strnlen_user()
|
/linux-4.4.14/arch/um/kernel/ |
D | process.c | 209 cpu_tasks[current_thread_info()->cpu].pid = os_getpid(); in arch_cpu_idle() 224 return stack != (unsigned long) current_thread_info(); in user_context() 266 return current_thread_info()->cpu; in cpu() 403 int cpu = current_thread_info()->cpu; in elf_core_copy_fpregs()
|
D | irq.c | 434 ti = current_thread_info(); in to_irq_stack() 458 ti = current_thread_info(); in from_irq_stack()
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | thread_info.h | 96 static inline struct thread_info *current_thread_info(void) __attribute_const__; 98 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/unicore32/kernel/ |
D | ptrace.c | 131 current_thread_info()->syscall = scno; in syscall_trace() 148 return current_thread_info()->syscall; in syscall_trace()
|
D | process.c | 213 struct thread_info *thread = current_thread_info(); in flush_thread() 271 struct thread_info *thread = current_thread_info(); in dump_fpu()
|
D | traps.c | 217 struct thread_info *thread = current_thread_info(); in die()
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 224 prev_sig_on_uaccess_error = current_thread_info()->sig_on_uaccess_error; in emulate_vsyscall() 225 current_thread_info()->sig_on_uaccess_error = 1; in emulate_vsyscall() 246 current_thread_info()->sig_on_uaccess_error = prev_sig_on_uaccess_error; in emulate_vsyscall()
|
/linux-4.4.14/arch/s390/kernel/ |
D | signal.c | 471 current_thread_info()->system_call = in do_signal() 476 if (current_thread_info()->system_call) { in do_signal() 477 regs->int_code = current_thread_info()->system_call; in do_signal() 510 if (current_thread_info()->system_call) { in do_signal() 511 regs->int_code = current_thread_info()->system_call; in do_signal()
|
/linux-4.4.14/arch/arm/vfp/ |
D | vfpmodule.c | 134 struct thread_info *parent = current_thread_info(); in vfp_thread_copy() 464 struct thread_info *ti = current_thread_info(); in vfp_pm_suspend() 564 struct thread_info *thread = current_thread_info(); in vfp_preserve_user_clear_hwstate() 607 struct thread_info *thread = current_thread_info(); in vfp_restore_user_hwstate() 692 struct thread_info *thread = current_thread_info(); in kernel_neon_begin()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | process.c | 226 current_thread_info()->ieee_state = 0; in flush_thread() 230 current_thread_info()->pcb.unique = 0; in flush_thread() 327 dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp; in dump_elf_thread()
|
D | traps.c | 394 current_thread_info()->pcb.flags |= 1; in do_entIF() 395 __reload_thread(¤t_thread_info()->pcb); in do_entIF() 788 if (!(current_thread_info()->status & TS_UAC_NOPRINT)) { in do_entUnaUser() 795 if ((current_thread_info()->status & TS_UAC_SIGBUS)) in do_entUnaUser() 798 if ((current_thread_info()->status & TS_UAC_NOFIX)) in do_entUnaUser()
|
D | osf_sys.c | 778 w = current_thread_info()->ieee_state & IEEE_SW_MASK; in SYSCALL_DEFINE5() 795 w = current_thread_info()->status & UAC_BITMASK; in SYSCALL_DEFINE5() 841 state = ¤t_thread_info()->ieee_state; in SYSCALL_DEFINE5() 860 state = ¤t_thread_info()->ieee_state; in SYSCALL_DEFINE5() 916 status = current_thread_info()->status; in SYSCALL_DEFINE5() 918 current_thread_info()->status = status; in SYSCALL_DEFINE5()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | irq_regs.h | 18 return current_thread_info()->regs; in get_irq_regs()
|
D | kprobes.h | 69 (((unsigned long)current_thread_info()) + THREAD_SIZE - 32 - sizeof(struct pt_regs))
|
D | smp.h | 28 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | syscall.h | 32 return current_thread_info()->syscall; in syscall_get_nr()
|
D | thread_info.h | 58 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
D | compat.h | 225 ((unsigned long) current_thread_info() + THREAD_SIZE - 32) - 1; in arch_compat_alloc_user_space()
|
D | uaccess.h | 76 #define get_fs() (current_thread_info()->addr_limit) 77 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | current.h | 10 return current_thread_info()->task; in get_current()
|
D | thread_info.h | 49 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
D | thread_info.h | 5 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/cris/include/asm/ |
D | current.h | 10 return current_thread_info()->task; in get_current()
|
D | uaccess.h | 47 #define get_fs() (current_thread_info()->addr_limit) 48 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | current.h | 10 return current_thread_info()->task; in get_current()
|
D | smp.h | 35 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | uaccess.h | 23 #define get_fs() (current_thread_info()->addr_limit) 24 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
D | thread_info.h | 31 #define current_thread_info() ((struct thread_info *)mfctl(30)) macro
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
D | thread_info.h | 5 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/tile/lib/ |
D | uaccess.c | 20 unsigned long limit = current_thread_info()->addr_limit.seg; in __range_ok()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | current.h | 22 return current_thread_info()->task; in get_current()
|
D | smp.h | 14 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | thread_info.h | 84 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/metag/include/asm/ |
D | smp.h | 6 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | uaccess.h | 26 #define get_fs() (current_thread_info()->addr_limit) 27 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
D | ptrace.h | 28 ((struct pt_regs *)((char *)current_thread_info() + \
|
D | thread_info.h | 83 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/hexagon/include/uapi/asm/ |
D | ptrace.h | 37 ((unsigned long)current_thread_info() + THREAD_SIZE) - 1)
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | smp.h | 26 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
D | mmu_context.h | 93 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
|
D | thread_info.h | 96 #define current_thread_info() __current_thread_info macro
|
/linux-4.4.14/arch/sh/kernel/ |
D | irq.c | 74 curctx = (union irq_ctx *)current_thread_info(); in handle_one_irq() 156 curctx = current_thread_info(); in do_softirq_own_stack()
|
D | smp.c | 62 current_thread_info()->cpu = cpu; in smp_prepare_cpus()
|
/linux-4.4.14/arch/arm/kernel/ |
D | process.c | 198 thread_notify(THREAD_NOTIFY_EXIT, current_thread_info()); in exit_thread() 203 struct thread_info *thread = current_thread_info(); in flush_thread() 281 struct thread_info *thread = current_thread_info(); in dump_fpu()
|
D | thumbee.c | 51 current_thread_info()->thumbee_state = teehbr_read(); in thumbee_notifier()
|
D | signal.c | 39 crunch_task_copy(current_thread_info(), &kframe->storage); in preserve_crunch_context() 55 crunch_task_restore(current_thread_info(), &kframe->storage); in restore_crunch_context() 71 iwmmxt_task_copy(current_thread_info(), &kframe->storage); in preserve_iwmmxt_context() 87 iwmmxt_task_restore(current_thread_info(), &kframe->storage); in restore_iwmmxt_context() 600 thread_flags = current_thread_info()->flags; in do_work_pending()
|
D | xscale-cp0.c | 44 dsp_save_state(current_thread_info()->cpu_context.extra); in dsp_do()
|
D | ptrace.c | 926 current_thread_info()->syscall = -1; in tracehook_report_syscall() 933 current_thread_info()->syscall = scno; in syscall_trace_enter() 947 scno = current_thread_info()->syscall; in syscall_trace_enter()
|
/linux-4.4.14/arch/metag/kernel/ |
D | irq.c | 69 curctx = (union irq_ctx *) current_thread_info(); in do_IRQ() 164 curctx = current_thread_info(); in do_softirq_own_stack()
|
D | signal.c | 331 thread_flags = current_thread_info()->flags; in do_work_pending()
|
D | traps.c | 320 flags = current_thread_info()->flags; in tail_end_sys() 622 return current_thread_info()->flags & _TIF_WORK_SYSCALL_MASK; in test_syscall_work()
|
D | setup.c | 554 current_thread_info()->cpu = hard_processor_id(); in metag_start_kernel()
|
D | smp.c | 421 current_thread_info()->cpu = cpu; in smp_prepare_cpus()
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | uaccess.h | 53 #define get_fs() (current_thread_info()->addr_limit) 54 #define set_fs(seg) (current_thread_info()->addr_limit = (seg))
|
D | ptrace.h | 74 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
|
D | thread_info.h | 70 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/cris/kernel/ |
D | ptrace.c | 65 thread_flags = current_thread_info()->flags; in do_work_pending()
|
/linux-4.4.14/arch/mips/kernel/ |
D | pm.c | 56 write_c0_userlocal(current_thread_info()->tp_value); in mips_cpu_restore()
|
D | smp.c | 230 current_thread_info()->cpu = 0; in smp_prepare_cpus()
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | ptrace.h | 25 (THREAD_SIZE + (unsigned long)current_thread_info()) - 1)
|
D | thread_info.h | 56 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | process.c | 119 coprocessor_release_all(current_thread_info()); in exit_thread() 130 struct thread_info *ti = current_thread_info(); in flush_thread()
|
D | signal.c | 138 struct thread_info *ti = current_thread_info(); in setup_sigcontext() 177 struct thread_info *ti = current_thread_info(); in restore_sigcontext()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | uaccess.h | 23 #define get_fs() (current_thread_info()->addr_limit) 27 current_thread_info()->addr_limit = fs; in set_fs()
|
D | thread_info.h | 67 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/frv/include/asm/ |
D | thread_info.h | 73 #define current_thread_info() ({ __current_thread_info; }) macro
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | thread_info.h | 68 struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/arc/include/asm/ |
D | thread_info.h | 68 static inline __attribute_const__ struct thread_info *current_thread_info(void) in current_thread_info() function
|
D | smp.h | 18 #define raw_smp_processor_id() (current_thread_info()->cpu)
|
/linux-4.4.14/arch/um/include/asm/ |
D | thread_info.h | 42 static inline struct thread_info *current_thread_info(void) in current_thread_info() function
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | thread_info.h | 86 #define current_thread_info() (current_thread_info_reg) macro
|
D | uaccess.h | 52 #define get_fs() (current_thread_info()->addr_limit) 53 #define set_fs(x) (current_thread_info()->addr_limit = (x))
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 356 kexec_stack.thread_info.task = current_thread_info()->task; in default_machine_kexec() 359 kexec_stack.thread_info.cpu = current_thread_info()->cpu; in default_machine_kexec()
|
D | syscalls.c | 136 ti = current_thread_info(); in sys_switch_endian()
|
D | process.c | 586 tm_reclaim_thread(¤t->thread, current_thread_info(), cause); in tm_reclaim_current() 886 current_thread_info()->local_flags |= _TLF_LAZY_MMU; in __switch_to() 905 if (current_thread_info()->local_flags & _TLF_LAZY_MMU) { in __switch_to() 906 current_thread_info()->local_flags &= ~_TLF_LAZY_MMU; in __switch_to() 1607 struct thread_info *ti = current_thread_info(); in __ppc64_runlatch_on() 1620 struct thread_info *ti = current_thread_info(); in __ppc64_runlatch_off()
|
D | irq.c | 516 curtp = current_thread_info(); in do_IRQ() 621 curtp = current_thread_info(); in do_softirq_own_stack()
|
D | kgdb.c | 174 exception_thread_info = current_thread_info(); in kgdb_singlestep()
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | kgdb.c | 328 kgdb_sstep_thread = current_thread_info(); in kgdb_arch_do_singlestep() 349 kgdb_sstep_thread = current_thread_info(); in kgdb_arch_do_singlestep() 366 if (kgdb_sstep_thread == current_thread_info()) { in kgdb_arch_undo_singlestep()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2a/ |
D | entry.S | 54 mov.l $current_thread_info,r2 223 mov.l $current_thread_info,r1 231 $current_thread_info:
|
/linux-4.4.14/arch/tile/kernel/ |
D | messaging.c | 60 long sp = stack_pointer - (long) current_thread_info(); in hv_message_intr()
|
D | stack.c | 358 if (current_thread_info()->in_backtrace) { in start_backtrace() 362 current_thread_info()->in_backtrace = true; in start_backtrace() 368 current_thread_info()->in_backtrace = false; in end_backtrace()
|
D | single_step.c | 284 struct thread_info *ti = current_thread_info(); in single_step_execve() 312 struct thread_info *info = (void *)current_thread_info(); in single_step_once() 744 struct thread_info *info = (void *)current_thread_info(); in gx_singlestep_handle()
|
D | smpboot.c | 62 current_thread_info()->cpu = boot_cpu; in smp_prepare_cpus()
|
D | irq.c | 108 long sp = stack_pointer - (long) current_thread_info(); in tile_dev_intr()
|
D | ptrace.c | 256 u32 work = ACCESS_ONCE(current_thread_info()->flags); in do_syscall_trace_enter()
|
D | traps.c | 345 current_thread_info()->step_state; in do_trap()
|
/linux-4.4.14/arch/alpha/math-emu/ |
D | math.c | 118 swcr = swcr_update_status(current_thread_info()->ieee_state, fpcr); in alpha_fp_emul() 301 current_thread_info()->ieee_state in alpha_fp_emul()
|
/linux-4.4.14/arch/x86/kernel/ |
D | process.c | 422 clflush((void *)¤t_thread_info()->flags); in mwait_idle() 426 __monitor((void *)¤t_thread_info()->flags, 0, 0); in mwait_idle()
|
D | process_64.c | 493 current_thread_info()->status &= ~TS_COMPAT; in set_personality_ia32() 501 current_thread_info()->status |= TS_COMPAT; in set_personality_ia32()
|
D | smpboot.c | 1177 current_thread_info()->cpu = 0; /* needed? */ in native_smp_prepare_cpus() 1488 mwait_ptr = ¤t_thread_info()->flags; in mwait_play_dead()
|
/linux-4.4.14/arch/m68k/kernel/ |
D | sys_m68k.c | 559 return current_thread_info()->tp_value; in sys_get_thread_area() 564 current_thread_info()->tp_value = tp; in sys_set_thread_area()
|
/linux-4.4.14/arch/sh/kernel/cpu/sh2/ |
D | entry.S | 59 mov.l $current_thread_info,r2 278 mov.l $current_thread_info,r1 302 $current_thread_info:
|
/linux-4.4.14/arch/x86/mm/ |
D | extable.c | 42 current_thread_info()->uaccess_err = 1; in fixup_exception()
|
/linux-4.4.14/arch/hexagon/kernel/ |
D | smp.c | 175 printk(KERN_INFO "%s cpu %d\n", __func__, current_thread_info()->cpu); in start_secondary()
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
D | init.c | 287 current_thread_info()->status = 0; in fpu__init_system_ctx_switch()
|
/linux-4.4.14/arch/sh/kernel/cpu/ |
D | init.c | 300 current_thread_info()->cpu = hard_smp_processor_id(); in cpu_init()
|
/linux-4.4.14/arch/alpha/mm/ |
D | fault.c | 48 pcb = ¤t_thread_info()->pcb; in __load_new_mm_context()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | signal.c | 323 thread_flags = current_thread_info()->flags; in do_work_pending()
|
/linux-4.4.14/arch/m32r/mm/ |
D | mmu.S | 60 ld r1, @(16, r1) ; current_thread_info->cpu 93 ld r1, @(16, r1) ; current_thread_info->cpu
|
/linux-4.4.14/arch/avr32/kernel/ |
D | ptrace.c | 243 ti = current_thread_info(); in do_debug()
|
/linux-4.4.14/arch/h8300/kernel/ |
D | signal.c | 82 current_thread_info()->restart_block.fn = do_no_restart_syscall; in restore_sigcontext()
|
/linux-4.4.14/arch/x86/um/ |
D | signal.c | 203 pid = userspace_pid[current_thread_info()->cpu]; in copy_sc_from_user() 300 pid = userspace_pid[current_thread_info()->cpu]; in copy_sc_to_user()
|
/linux-4.4.14/arch/m32r/kernel/ |
D | setup.c | 412 current_thread_info()->status = 0; in cpu_init()
|
D | smpboot.c | 143 current_thread_info()->cpu = 0; in smp_prepare_boot_cpu()
|
/linux-4.4.14/arch/score/kernel/ |
D | traps.c | 148 show_stack(current_thread_info()->task, (long *) regs->regs[0]); in show_registers()
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | signal.c | 297 regs->r12, current_thread_info()->flags); in do_signal()
|
/linux-4.4.14/arch/sparc/mm/ |
D | fault_32.c | 441 sp = current_thread_info()->rwbuf_stkptrs[0]; in window_overflow_fault()
|