/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() 49 err |= __get_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in restore_fpu_state() 50 err |= __get_user(current_thread_info()->gsr[0], &fpu->si_gsr); in restore_fpu_state() 51 current_thread_info()->fpsaved[0] |= fprs; in restore_fpu_state() 60 struct reg_window *rp = ¤t_thread_info()->reg_window[i]; in save_rwin_state() 61 unsigned long fp = current_thread_info()->rwbuf_stkptrs[i]; in save_rwin_state() [all …]
|
D | unaligned_64.c | 242 struct pt_regs *regs = current_thread_info()->kern_una_regs; in kernel_mna_trap_fault() 243 unsigned int insn = current_thread_info()->kern_una_insn; in kernel_mna_trap_fault() 293 current_thread_info()->kern_una_regs = regs; in kernel_unaligned_trap() 294 current_thread_info()->kern_una_insn = insn; in kernel_unaligned_trap() 430 current_thread_info()->xfsr[0] &= ~0x1c000; in handle_ldf_stq() 432 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in handle_ldf_stq() 440 if (current_thread_info()->fpsaved[0] & flag) { in handle_ldf_stq() 527 if (!(current_thread_info()->fpsaved[0] & FPRS_FEF)) { in handle_ldf_stq() 528 current_thread_info()->fpsaved[0] = FPRS_FEF; in handle_ldf_stq() 529 current_thread_info()->gsr[0] = 0; in handle_ldf_stq() [all …]
|
D | sys_sparc_64.c | 670 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5() 674 if (put_user((utrap_handler_t)(current_thread_info()->utraps[type]), old_p)) in SYSCALL_DEFINE5() 684 if (!current_thread_info()->utraps) { in SYSCALL_DEFINE5() 685 current_thread_info()->utraps = in SYSCALL_DEFINE5() 687 if (!current_thread_info()->utraps) in SYSCALL_DEFINE5() 689 current_thread_info()->utraps[0] = 1; in SYSCALL_DEFINE5() 691 if ((utrap_handler_t)current_thread_info()->utraps[type] != new_p && in SYSCALL_DEFINE5() 692 current_thread_info()->utraps[0] > 1) { in SYSCALL_DEFINE5() 693 unsigned long *p = current_thread_info()->utraps; in SYSCALL_DEFINE5() 695 current_thread_info()->utraps = in SYSCALL_DEFINE5() [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() 158 fenab = (current_thread_info()->fpsaved[0] & FPRS_FEF); in sparc64_get_context() 209 unsigned long *fpregs = current_thread_info()->fpregs; in sparc64_get_context() 212 fprs = current_thread_info()->fpsaved[0]; in sparc64_get_context() 220 err |= __put_user(current_thread_info()->xfsr[0], &(mcp->mc_fpregs.mcfpu_fsr)); in sparc64_get_context() 221 err |= __put_user(current_thread_info()->gsr[0], &(mcp->mc_fpregs.mcfpu_gsr)); in sparc64_get_context() 280 current_thread_info()->restart_block.fn = do_no_restart_syscall; in do_rt_sigreturn() 387 if (current_thread_info()->fpsaved[0] & FPRS_FEF) in setup_rt_frame() [all …]
|
D | process_64.c | 256 struct thread_info *tp = current_thread_info(); in arch_trigger_all_cpu_backtrace() 347 struct thread_info *t = current_thread_info(); in exit_thread() 359 struct thread_info *t = current_thread_info(); in flush_thread() 425 struct thread_info *t = current_thread_info(); in synchronize_user_stack() 465 struct thread_info *t = current_thread_info(); in fault_in_user_windows() 670 unsigned long *kfpregs = current_thread_info()->fpregs; in dump_fpu() 671 unsigned long fprs = current_thread_info()->fpsaved[0]; in dump_fpu() 687 fpregs32->pr_fsr = (unsigned int) current_thread_info()->xfsr[0]; in dump_fpu() 707 fpregs->pr_fsr = current_thread_info()->xfsr[0]; in dump_fpu() 708 fpregs->pr_gsr = current_thread_info()->gsr[0]; in dump_fpu() [all …]
|
/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; \ 156 if (current_thread_info()->utraps) { \ 157 if (*(current_thread_info()->utraps) < 2) \ 158 kfree(current_thread_info()->utraps); \ 160 (*(current_thread_info()->utraps))--; \ 161 current_thread_info()->utraps = NULL; \
|
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)
|
/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() 360 freg = (current_thread_info()->xfsr[0] >> 14) & 0xf; in do_mathemu() 363 current_thread_info()->xfsr[0] &= ~0x1c000; in do_mathemu() 367 current_thread_info()->xfsr[0] |= (6 << 14) /* invalid_fp_register */; in do_mathemu() [all …]
|
/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)
|
/arch/sh/include/asm/ |
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)))
|
/arch/m32r/include/asm/ |
D | thread_info.h | 82 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 112 struct thread_info *ti = current_thread_info(); in set_thread_fault_code() 119 struct thread_info *ti = current_thread_info(); in get_thread_fault_code()
|
/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/h8300/kernel/ |
D | signal.c | 196 current_thread_info()->restart_block.fn = do_no_restart_syscall; in restore_sigcontext() 330 usig = current_thread_info()->exec_domain in setup_frame() 331 && current_thread_info()->exec_domain->signal_invmap in setup_frame() 333 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_frame() 370 regs->er0 = (current_thread_info()->exec_domain in setup_frame() 371 && current_thread_info()->exec_domain->signal_invmap in setup_frame() 373 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_frame() 397 usig = current_thread_info()->exec_domain in setup_rt_frame() 398 && current_thread_info()->exec_domain->signal_invmap in setup_rt_frame() 400 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_rt_frame() [all …]
|
/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))
|
/arch/powerpc/include/asm/ |
D | thread_info.h | 81 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 155 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 162 struct thread_info *ti = current_thread_info(); in test_thread_local_flags()
|
/arch/hexagon/kernel/ |
D | syscall.c | 42 struct pt_regs *pregs = current_thread_info()->regs; in sys_execve() 60 struct pt_regs *pregs = current_thread_info()->regs; in sys_clone()
|
/arch/tile/kernel/ |
D | signal.c | 60 current_thread_info()->restart_block.fn = do_no_restart_syscall; in restore_sigcontext() 177 usig = current_thread_info()->exec_domain in setup_rt_frame() 178 && current_thread_info()->exec_domain->signal_invmap in setup_rt_frame() 180 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_rt_frame() 311 if (current_thread_info()->status & TS_RESTORE_SIGMASK) in do_signal() 326 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in do_signal() 353 if (current_thread_info()->status & TS_RESTORE_SIGMASK) { in do_signal() 354 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in do_signal()
|
/arch/x86/include/asm/ |
D | uaccess.h | 30 #define get_fs() (current_thread_info()->addr_limit) 31 #define set_fs(x) (current_thread_info()->addr_limit = (x)) 37 (current_thread_info()->addr_limit.seg)) 56 "rm" (current_thread_info()->addr_limit.seg)); \ 460 int prev_err = current_thread_info()->uaccess_err; \ 461 current_thread_info()->uaccess_err = 0; \ 465 (err) |= (current_thread_info()->uaccess_err ? -EFAULT : 0); \ 466 current_thread_info()->uaccess_err = prev_err; \
|
D | thread_info.h | 191 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 222 static inline struct thread_info *current_thread_info(void) in current_thread_info() function 265 struct thread_info *ti = current_thread_info(); in set_restore_sigmask() 276 if (current_thread_info()->status & TS_COMPAT) in is_ia32_task()
|
D | kprobes.h | 42 (((MAX_STACK_SIZE) < (((unsigned long)current_thread_info()) + \ 45 : (((unsigned long)current_thread_info()) + \
|
/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()
|
/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()) -…
|
/arch/microblaze/kernel/ |
D | signal.c | 189 signal = current_thread_info()->exec_domain in setup_rt_frame() 190 && current_thread_info()->exec_domain->signal_invmap in setup_rt_frame() 192 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_rt_frame() 356 regs->r12, current_thread_info()->flags); in do_signal() 367 if (current_thread_info()->status & TS_RESTORE_SIGMASK) in do_signal() 384 current_thread_info()->status &= in do_signal() 397 if (current_thread_info()->status & TS_RESTORE_SIGMASK) { in do_signal() 398 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in do_signal()
|
/arch/sh/kernel/ |
D | signal_32.c | 231 current_thread_info()->restart_block.fn = do_no_restart_syscall; in sys_sigreturn() 264 current_thread_info()->restart_block.fn = do_no_restart_syscall; in sys_rt_sigreturn() 354 signal = current_thread_info()->exec_domain in setup_frame() 355 && current_thread_info()->exec_domain->signal_invmap in setup_frame() 357 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_frame() 430 signal = current_thread_info()->exec_domain in setup_rt_frame() 431 && current_thread_info()->exec_domain->signal_invmap in setup_rt_frame() 433 ? current_thread_info()->exec_domain->signal_invmap[sig] in setup_rt_frame() 575 if (current_thread_info()->status & TS_RESTORE_SIGMASK) in do_signal() 593 current_thread_info()->status &= ~TS_RESTORE_SIGMASK; in do_signal() [all …]
|